On 10/19/19 11:38 AM, Pierre Labastie 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


Okay, I am already back on this again. I rebuilt the system again on that branded SSD I mentioned I would try this time. I ran into an odd problem during grub-install so I decided to rebuild again. The rebuild is about halfway done.

On the first try for this SSD, I put only one partition on it of type ext4.

When I ran "grub-install /dev/sdX --target i386-pc" it came back with "grub does not support ext2."

Wow.

Rather than spend time on trying to figure that out, I went ahead and cleared the drive out, then made two partitions.

/dev/sdX1 Unformated

/dev/sdX2 ext

I am building now on /dev/sdX2.

With that, that is one thing not specifically clear. Do I run the grub-install command for /dev/sdX, or for the unformatted partition of  /dev/sdX1?


Thanks again!

Trent

-- 
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