LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-13-2023, 09:36 PM   #16
peristaltic
LQ Newbie
 
Registered: Mar 2005
Posts: 23

Original Poster
Rep: Reputation: 0

OK I think -- think -- it might be working properly now. I did a few things and I'm not sure which of them was responsible.
a) I ran Gparted and set the "boot" & "esp" flags on the partition.
b) I ran Gnome Disks and checked the "Legacy BIOS Bootable" flag.
c) At boot time, I selected to boot from sda from the BIOS.
I was able to successfully boot into my LFS system twice, and then boot back into my LM 21.1 host system.
I'm not totally ready to mark this solved but it's definitely progress. I'm going to keep playing around with it. I guess one of those flags was the problem? Seems odd but just happy that it sorta kinda works. If I have to keep selecting this partition from the BIOS at boot time, that's OK with me but wish I knew why my GRUB settings didn't work.
 
Old 03-13-2023, 09:38 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
at the grub menu press c for grub> prompt, what is output of
Code:
ls
ls (hd0,2)/boot
If you see the lfs kernel, try this to boot at the grub prompt
Code:
linux (hd0,2)/boot/vmlinuz-6.1.14-lfs-11.3-systemd root=/dev/sda2
boot

Last edited by colorpurple21859; 03-13-2023 at 09:40 PM.
 
1 members found this post helpful.
Old 03-13-2023, 09:51 PM   #18
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
I didn't see your last post before posting my lost post, maybe there is a setting in the bios that needs to be changed.
 
Old 03-14-2023, 11:44 AM   #19
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Is sdb first in the boot order in the bios/firmware settings?
 
Old 03-14-2023, 08:51 PM   #20
peristaltic
LQ Newbie
 
Registered: Mar 2005
Posts: 23

Original Poster
Rep: Reputation: 0
Marking this thread as solved since I can repeatedly get into my new LFS system, even though it takes an extra step.
- at bios boot time, select to boot from sda instead of sdb
- grub menu comes up even though grub is installed on sdb mbr
- select the lfs menu entry
Thanks for your help, colorpuple.
 
Old 03-14-2023, 09:02 PM   #21
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
you're welcome
 
  


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
HDD Partition Failed Boot / ddrescue Operation Completed / Now What to Try and Restore Failing HDD/Partition? GNewbie Linux - Newbie 15 10-14-2016 03:42 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Completed LFS but ...... chakkaradeepcc Linux From Scratch 2 05-15-2005 12:34 AM
adding an existing XP partition to GRUB phoeniks Linux - General 3 08-27-2004 12:54 PM
lfs 5.0 completed miguetoo Linux From Scratch 1 11-26-2003 11:00 AM

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

All times are GMT -5. The time now is 09:42 PM.

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