Unsubscribe
Sent from ProtonMail mobile
-------- Original Message --------
On Oct 19, 2019, 1:13 PM, Pierre Labastie wrote:
> On 19/10/2019 18:52, hazel debian wrote:
>
>> On Sat, Oct 19, 2019 at 5:39 PM Pierre Labastie <pierre.labas...@neuf.fr>
>> wrote:
>>
>>> On 19/10/2019 17:07, Trent wrote:
>>>
>>>> On 10/17/19 6:26 AM, hazel debian wrote:
>>>>
>>>>> You should not mount the "BIOS boot" partition at /boot or anywhere else.
>>>>> In fact you don't even need to have a filesystem on it. GRUB installs
>>>>> its second part on that empty partition, and the first part (which is in
>>>>> the dummy MBR) should locate it by its physical address.
>>>>>
>>>>> I think you may be confusing this with the "boot partition" mentioned in
>>>>> the book, which is actually something quite different. It is a normal
>>>>> partition with a filesystem on it that is used to contain kernels when
>>>>> you are multibooting LFS with other Linuxes. The team recommend having
>>>>> this common boot partition for all your systems and mounting it on /boot
>>>>> in each of them.
>>>>
>>>> I finished the rebuild on a single partition, with the "bios_grub" flag
>>>> set.
>>>
>>> Hmm, it's not what Hazel has written. On a GPT partition system,
>>> you need at least two partitions (OK not mandatory, but easiest): one which
>>> is the "bios boot"
>>> (flag bios_grub in parted), which can be very small (1MB), and another one
>>> for the system.
>>> Of course, you may have more partitions if you want separate partitions for
>>> /boot, /home, or /usr.
>>> Do not format the "bios boot" partition, do not try to mount it. Mount the
>>> second partition on /mnt/lfs instead. Build your system on it, then you can
>>> install grub.
>>>
>>> Pierre
>>> --
>>
>> I've always dual-booted LFS with other LInuxen and I've never actually
>> needed to use a separate /boot partition. But maybe that's because I always
>> used lilo (and more recently elilo) as my bootloader and not grub as
>> recommended.
>
> Actually, I do not have a separate boot partition anymore. Usually,
> I have one major distro + one or more LFS on my systems. I use
> the /boot/grub/grub.cfg of the distro to boot everything, and even,
> I now use "update-grub" to update the config for the lfs systems.
> It generates a pretty correct config _if_ I have a /boot/grub/grub.cfg
> file on each lfs partition for the corresponding lfs system. That works
> pretty well with debian ubuntu suse (not tried fedora).
>
> Pierre
--
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