LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-03-2017, 08:21 PM   #1
end
Member
 
Registered: Aug 2016
Posts: 266

Rep: Reputation: Disabled
boot-install error lfs 8


hy

when i execute boot-install /dev/sdb grub file is created in /boot but end up with error "is device mounted in /dev. in /dev folder i only have "console" and "null" , no sda or sda3 where i install lfs. i execute this in chroot.

when i reboot and try boot, grub gives error no device with that uuid and show uuid of host system hard disk on /sda.

using qemu-kvm
 
Old 04-03-2017, 08:25 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You should bind mount /dev from host system.
 
1 members found this post helpful.
Old 04-03-2017, 09:44 PM   #3
end
Member
 
Registered: Aug 2016
Posts: 266

Original Poster
Rep: Reputation: Disabled
when i bind do i do grub-install from host or chroot. and way i get wrong uuid when booting. grub tell that cant find uuid XXXXXX and that number is from machine where i build not fron lfs disk.
 
Old 04-04-2017, 02:18 AM   #4
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Rep: Reputation: 54
I copied the kernel and its other 2 files into /boot on the lfs partition and rebooted into my host Ubuntu system and then ran update-grub and it found lfs and added it to the boot menu.
Both systems are on the same drive though, /dev/sda.

Last edited by Terry Coats; 04-04-2017 at 02:20 AM. Reason: made a typo
 
1 members found this post helpful.
Old 04-04-2017, 09:58 AM   #5
end
Member
 
Registered: Aug 2016
Posts: 266

Original Poster
Rep: Reputation: Disabled
update-grub solved. booting like a charm.
 
Old 04-04-2017, 10:03 AM   #6
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Rep: Reputation: 54
I am glad my suggestion worked for you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Error during lfs boot josh102595 Linux From Scratch 18 01-06-2014 12:09 AM
[SOLVED] LFS 7.1 First Boot, grub error engineer Linux From Scratch 33 01-14-2013 07:27 PM
I want to fix boot error for LFS , please help me k84834 Linux From Scratch 27 09-02-2012 09:01 AM
I'm getting an error while trying to boot into my finished lfs....Some PLEASE HELP!!! reclis94 Linux From Scratch 9 11-26-2009 03:23 PM
Boot Error in LFS saurav_gohain Linux From Scratch 5 07-07-2003 01:19 AM

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

All times are GMT -5. The time now is 08:40 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