On 2018-06-10 07:27 -0500, Rob wrote: > I just want to make sure this partition layout is correct before > doing grub. > fdisk -l /dev/sdb > Disk /dev/sdb: 37.3 GiB, 40000000000 bytes, 78125000 sectors > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > Disklabel type: gpt > Disk identifier: 3423800A-F837-4BAA-9B7A-416EE111C386 > > Device Start End Sectors Size Type > /dev/sdb1 2048 1050623 1048576 512M EFI System > /dev/sdb2 1050624 32507903 31457280 15G Linux filesystem > /dev/sdb3 32507904 66062335 33554432 16G Linux swap
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. If you want to use EFI, follow the hint <https://linux.xidian.edu.cn/git/xry111/LFS-book/wiki/lfs-uefi>. BTW, why do you need a 16 GB swap? -- Xi Ruoyao <[email protected]> School of Aerospace Science and Technology, Xidian University -- 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
