On 06/10/2018 08:31 AM, Rob wrote:
Xi Ruoyao <[email protected]> wrote:
LFS book does *not* support EFI. If you followed the book, you should
use "legacy boot" instead of EFI. And, since the partition table is
GPT, you should create a "BIOS boot partition" (in section 2.4.1.3 of
LFS book) for it.
There is no such thing as legacy boot on this machine.
So I have to follow the UEFI hint and hope it actually works.
Most systems do have a way to do a legacy boot. It may be labelled
differently though. Look closely at the different bios screens. If it
can boot from a CD/DVD or USB drive, it can boot without EFI.
Since there is no need for a gui on this system, I suggest a standard
(not systemd) build. This is what I have for my laptop:
Number Start (sector) End (sector) Size Code Name
1 34 1987 977.0 KiB EF02 grub
2 1988 392612 190.7 MiB 8300 boot
3 392614 39455114 18.6 GiB 8300 debian
4 39455115 78517615 18.6 GiB 8302 home
5 78517616 82423871 1.9 GiB 8200 Linux swap
6 82423872 124366911 20.0 GiB 8300 lfs-8.2
...
23 :)
Of course you can skip the debian partition I have if you are going to
install from a live CD/DVD. Since you will only have one OS on the
system, you do not need a separate partition for home, but I still
recommend a separate /boot partition for future flexibility.
Notes:
1. When I set this up, I was using an old version of fdisk. The
initial sector for the grub partition should have been 2048 which is now
the default for both gdisk and fdisk.
2. Without a gui, the partition size for lfs can be quite a bit
smaller. A size of 8 GiB would be plenty and ensure lots of room for
building glibc and gcc. My last basic LFS installed size was 3.1 GiB,
including 525 MiB for the sources (gcc build size was 3702.500 MB).
-- Bruce
--
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