On Sat, 6 Sep 2014 11:03:35 -0700
Michael Havens <[email protected]> wrote:

> I'm in the step in which they talk about the boot partition and grub. I
> have a couple of questions about the boot partition before I proceed:
> 
> Do all Linux distos look for a boot partition first or else how does this
> work?
> 
> The instructions say to modify fstab. Here is the current fstab for lfs:
> 
>    ==> /etc/fstab <==
>    /dev/sda6      /            ext4     defaults            1     1
>    /dev/sda7      swap         swap     pri=1               0     0
>    proc           /proc        proc     nosuid,noexec,nodev 0     0
>    sysfs          /sys         sysfs    nosuid,noexec,nodev 0     0
>    devpts         /dev/pts     devpts   gid=5,mode=620      0     0
>    tmpfs          /run         tmpfs    defaults            0     0
>    devtmpfs       /dev         devtmpfs mode=0755,nosuid    0     0
>    # End /etc/fstab
> 
> Should the line I add look like this:
> 
>    /boot/partition   /boot   ext4  defaults      1   1
> 
> Then how would I add other distributions if I were to install another?
> Actually I am going to do lfs again so I will install another.
> :-)~MIKE~(-:

You don't actually need a separate boot partition. What the instructions are 
referring to is whatever partition GRUB should go to to find your kernel and 
other files. This could be a separate partition mounted on /boot or it could 
just be the root partition (in your case /dev/sda6). /boot will then be a 
simple directory, not a mount point.

With multiple systems, each will have its own root partition. You could deal 
with this by having a boot partition with all the kernels in it and mounting it 
on /boot in each system. Alternatively you can update the bootloader in the 
distro where it's installed, with the root partitions of the other systems 
mounted on suitable mountpoints so that their kernels can be accessed.
-- 
Hazel Russman <[email protected]>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to