LFS-11.0 systemd: Can not boot with GRUB-2.06
Finishing LFS-11.0 systemd.
Can not boot using GRUB-2.06. Only displaying GRUB Loading on top left of the screen but with no menu in the middle screen. Removing all grub files installed on system. Change to GRUB-2.04 (LFS-10.1). Boot perfectly. Any explanation? Notes: Why changing to 2.04 version? Using LFS-10.1 (with GRUB-2.04) as host to build LFS-11.0 (with GRUB-2.06). Previously using multiple menu (editing grub.cfg) on host system to boot new LFS. It works. Try to boot new LFS directly. Failed. So that is why I change to 2.04 version. |
I'm using grub 2.06 and it's working okay. The only issue i had was an error with attached USB devices; either a usb card reader or a usb dvd drive. Grub menu would come up offset (top left of grub menu in center of screen) with an error msg about invalid sector size - I could select menu items but they wouldn't boot. No problems after i disconnected the usb device.
I'm using uefi boot following the instructions in the book. It's nice not to have to depend on another distro's grub to boot (i was using debian grub). Only issue i had with the book instructions, I think i had to manually copy the font file to its correct place. |
Finally, I have find solutions to this problem.
Recompiling grub with CFLAGS -Os Code:
CFLAGS+=" -Os" \ https://www.linuxquestions.org/quest...nt-4175696226/ |
All times are GMT -5. The time now is 02:52 PM. |