Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, I read that the /boot partition must be on a primary partition. Was this true at any point in time?
I don't know, but it's certainly not true now. Some people like to have a separate /boot partition, others (me) don't. I've always only had / and swap, but some prefer / , /home, and swap. Others have even more.
Sorry, brianL, but take a look at KahelOS Manual, page 10
1. Auto-Prepare. This option will erase the ENTIRE hard drive and skips options 2 and 3 because autoprepare will already partition your hard drive (Option 2) and set mounting points for your filesystem (Option 3). (a) Partitioning /boot. In Kahel OS, the default /boot partition is 32MB. You can enter other values then select OK to save it.
Yeah, Arch (I think) recommends a separate /boot partition too in their installation manual, but a lot of distros don't bother.
Well, I'm running Arch without a separate bootpartition. It grumbles while the installationprocess but there is an option to ignore the grumble. I've never had problems without a separate bootpatition, with every distribution.
Sorry, brianL, but take a look at KahelOS Manual, page 10
1. Auto-Prepare. This option will erase the ENTIRE hard drive and skips options 2 and 3 because autoprepare will already partition your hard drive (Option 2) and set mounting points for your filesystem (Option 3). (a) Partitioning /boot. In Kahel OS, the default /boot partition is 32MB. You can enter other values then select OK to save it.
/boot is optional until you delete the partition that has the boot-loader code. Then you decide it's kinda mandatory.
Lots of people seem to do it (the former) judging by threads here.
FWIW I've always allocated one at the start of a disk since the bad old days when the BIOS (note BIOS, not bootloader) had the 1024 cylinder problem. Still do.
Yeah, I admit it might be useful under certain circumstances, but it's not essential. Like having a separate /home partition may be useful, but not necessary.
since the bad old days when the BIOS (note BIOS, not bootloader) had the 1024 cylinder problem.
I thought it was the bootloader, not the BIOS. Googled now after it, and we are both right, there were issues wit the BIOS and LILO back in the days, both had the 1024 cylinder problem.
I think most distros recommend a separate /boot in a primary partition because it allows for an encrypted rootfs, or rootfs on LVM or RAID setups, and is organisationally just a tidy way to do things.
If you install the grub/lilo boot-manager code on the Master Boot Record (MBR), then I don't believe you need a primary at all, but if like me you prefer to leave the MBR as it is and put the Linux bootloader on a Partition Boot Record (PBR), then you'll need one primary partition which you can mark as bootable in the partition table. The standard bootcode in the MBR will find the partition that is marked as bootable and load the Linux bootloader code from that partition's PBR. It doesn't matter which filesystem is on that partition. From an organisational standpoint / or /boot are the most sensible choices, but it could just as easily hold /home (it just doesn't make a lot of sense to do so).
I fall into the "keep the MBR standard, lilo or grub on a primary partition holding /boot, and everything else in an LVM partition" camp.
P.S. I believe that OpenBSD's bootloader still has the 1023 cylinder limitation on it's loader code, so it probably still needs to be placed on the beginning of a disk. I've no idea about where Windows needs to be.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
if you had /boot and /lib/modules on separate partitions then you could share kernels between multiple distributions with separate / partitions, other then that /boot is only useful on older machines that have the 1024 cylinder limit http://tldp.org/HOWTO/Large-Disk-HOWTO-4.html should explain it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.