LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2010, 12:07 PM   #1
Ghostcore
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Rep: Reputation: 1
Booting (GRUB + LFS) File not found


Hello all.

I just want to first say it's a pleasure to find such a wonderful resource for linux help.

that being said Id like to try and absorb some of that said help

I am having issues booting my LFS system on my hp nc8230 notebook running LFS SVN

grub was built and installed per the book

my file system is almost as simple as it gets

/dev/sda1 is swap
/dev/sda2 is my LFS partition /

the LFS live cd still uses the now deprecated drivers for HDD's thus as far as the livecd is concerned my block devices is (hd0) and /dev/hda2 for the root respectively.

however the kernel to be booted runs on the newer drivers thus on boot my block device should be referenced as /dev/sda2 for the root

grub is in fact installed on the MBR what happens is right when my system boots i get a file not found error the grub CFG is pointing to the correct block device and root partition from what can be seen by looking at the grub.cfg im a bit stumpped

anyideas?
 
Old 03-15-2010, 01:01 PM   #2
Ghostcore
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Original Poster
Rep: Reputation: 1
(Solved)

The issue seem to be located in the /boot/grub/device.map file where it was still referencing /dev/hda. this would be an issue as the system to be booted has different kernel settings thus as stated before changes the name of the HDD to sda

made the change and bingo we are booting
 
Old 03-15-2010, 01:22 PM   #3
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Good stuff, cheers for coming back with the update
 
Old 05-18-2012, 11:02 AM   #4
roshgorg
LQ Newbie
 
Registered: May 2012
Posts: 20

Rep: Reputation: Disabled
Quote:
Originally Posted by Ghostcore View Post
The issue seem to be located in the /boot/grub/device.map file where it was still referencing /dev/hda. this would be an issue as the system to be booted has different kernel settings thus as stated before changes the name of the HDD to sda

made the change and bingo we are booting
I have an Ubuntu live cd. How to change the name of HDD to sda from this live CD ?
 
  


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
error 15 :file not found on booting suse linux 10 vijay2009 SUSE / openSUSE 9 07-24-2009 02:16 AM
Error 15: File not found ; booting problem pradeep_ad Fedora 1 05-13-2009 10:12 AM
XP not found in GRUB - Dual Booting FC6/XP? srich1979 Linux - Newbie 7 11-24-2006 05:05 AM
LFS 6.12 Readjusting Toolchain file not found jgreen Linux From Scratch 1 12-29-2005 01:23 AM
grub 'file not found' iidbis Linux - General 1 02-02-2004 05:13 PM


All times are GMT -5. The time now is 10:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration