LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-30-2021, 04:20 AM   #1
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
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.
 
Old 10-02-2021, 07:43 AM   #2
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: Linux-from-Scratch
Posts: 109

Rep: Reputation: Disabled
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.
 
Old 10-02-2021, 09:02 PM   #3
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Original Poster
Rep: Reputation: 23
Finally, I have find solutions to this problem.

Recompiling grub with CFLAGS -Os

Code:
CFLAGS+=" -Os"                \
./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --disable-efiemu  \
            --disable-werror
And the reference :
https://www.linuxquestions.org/quest...nt-4175696226/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS 9.0 systemd: Does the LFS partition need to be a GPT or can it be msdos? davecan Linux From Scratch 3 01-08-2020 12:14 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration