Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

/boot partion (solved)

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
megaflow
n00b
n00b
User avatar
Posts: 60
Joined: Fri Mar 11, 2005 10:23 am
Location: Maasmechelen

/boot partion (solved)

  • Quote

Post by megaflow » Sun Dec 04, 2011 2:06 pm

can a set the boot partion on a usbstick ?
My system is a dell xps7 , and already have 3 partions. dell boot - dell backup and windows
I dont want to install a bootmanager on the prime harddisk
so i wonder if a can partion on this way
/dev/sda - is the harddisk
/dev/sdb the usbstick

/boot --> on /dev/sdb1
/var --> on /dev/sdb2 ( not sure if 4g is enoff for compling )
/usr and home on sda

i need to build the usb drivers in the kernel , using lilo for boot
anyting els i need to preform
Last edited by megaflow on Sun Dec 04, 2011 9:45 pm, edited 1 time in total.
----------------------------
Dell System XPS L702X/0XN71K,Intel(R) Core(TM) i7-2720QM
Top
purak
Apprentice
Apprentice
User avatar
Posts: 160
Joined: Sat Jun 21, 2008 9:19 am
Location: /dev/urandom
Contact:
Contact purak
Website

  • Quote

Post by purak » Sun Dec 04, 2011 2:16 pm

Yes, you must embed USB drivers to kernel. If not, you must build a consistent initramfs to load USB drivers on the fly. You should install boot manager such as syslinux or grub on the USB key. linuxrc script that located into initramfs will find your system and boot it. The configuration file(grub.cfg/menu.lst or syslinux's conf file) should like this:

Code: Select all

... root=/dev/sda1 ...
You read man pages of genkernel or dracut.
:)
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Dec 04, 2011 4:09 pm

megaflow,

You are not restricted to four partitions.
True, you can only have four primary partitions. However, one of the primary partitins can be an Extended partition. Inside the extended partition you can create at least 11 logical partitions. You can install Gentoo in logical partitions if you like.

Boot on USB works. Put everything else on the HDD. Building Gentoo on a USB stick will kill the FLASH memory, which only has a limited number of writes.
4G is enough for most packages. LibreOffice currently needs 9G if you want to build it yourself.

Do not use a journalled filesystem on USB. Its slow and on such a small filesystem, its not needed.
ext2 is fine, ext4 with the journal off is fine.

Depending on your BIOS, your USB stick may become /dev/sda when you boot from it, even if its not when you install.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
megaflow
n00b
n00b
User avatar
Posts: 60
Joined: Fri Mar 11, 2005 10:23 am
Location: Maasmechelen

  • Quote

Post by megaflow » Sun Dec 04, 2011 9:43 pm

Hi

ty for the answer
got the base system install. No probs sofar :D

I use the usb disk for boot and swap
Building Gentoo on a USB stick will kill the FLASH memory, which only has a limited number of writes
good thing that i dit not set /var on the usbdisk 8O
boot and swap will be fine - i tink (8g ram will prob never use swap)

Oo and the usbdisk still named sdb - even booting with this

I do this 1 so i kill not mbr - solong i still have warranty from dell
i now i can backup mbr - but still
----------------------------
Dell System XPS L702X/0XN71K,Intel(R) Core(TM) i7-2720QM
Top
Post Reply

4 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic