LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2005, 04:36 PM   #1
ajburch
LQ Newbie
 
Registered: Jul 2005
Location: NC
Distribution: CentOS/SUSE
Posts: 9

Rep: Reputation: 0
grub problem: "please specify a device to boot..."


I was installing gentoo 2005.1 messed up my grub file. After rebooting, I get the following:

!!Block device boot(hd0,0) is not a valid root device...
!!The root block device is unspecified or not detected.
Please specify a devie to boot, or "shell" for a shell...
boot () ::

This is a simple config where I have one disk as follows:

/dev/sda1 /boot
/dev/sda2 swap
/dev/sda3 /
-----
My grub.conf is:
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r6
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
initrd /initramfs-genkernel-x86-2.6.12-gentoo-r6
-----
Bec. I am using scsi I think I should have used root (hd0,1), but I am not sure. What do I do at the 'boot () ::' so I can edit grub?

<--AJ
 
Old 11-07-2005, 04:48 PM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
su
grub
root (hdX,y)
setup (hd0)
quit
 
Old 11-08-2005, 08:20 PM   #3
ajburch
LQ Newbie
 
Registered: Jul 2005
Location: NC
Distribution: CentOS/SUSE
Posts: 9

Original Poster
Rep: Reputation: 0
thanks, but 'su' doesn't do anything, nor does 'grub'
 
Old 11-08-2005, 08:39 PM   #4
ajburch
LQ Newbie
 
Registered: Jul 2005
Location: NC
Distribution: CentOS/SUSE
Posts: 9

Original Poster
Rep: Reputation: 0
ok I was able to get to grub and change the config, but I get the same errors. 'quit' does not work. It says use 'escape' to get to the previous menu. Does it save the changes doing that? Any idea what my root device should be? I know it's /dev/sda3.
 
Old 11-08-2005, 10:34 PM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Here is how:
http://www.sorgonet.com/linux/grubrestore/

 
  


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
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
Debian Boot Up Problem - stuck at "BR" & "I" jc70417 Debian 2 08-30-2005 04:36 PM
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 04:05 PM
Boot problem: "GRUB Loading stage2read Error" after installing PCI Ethernet card nsyng Fedora - Installation 1 06-06-2005 06:53 AM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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