Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-05-2008, 02:46 AM   #1
Registered: Feb 2004
Posts: 74

Rep: Reputation: 15
grub detecting drive

In grub, i'm trying to set it up by

root (hd0,0)

setup (hd0)

I keep getting "Error 21: Selected disk does not exist".

How do I find out what grub thinks exists?
Old 05-05-2008, 02:55 AM   #2
Registered: Jul 2006
Location: New York, NY
Distribution: redhat,ubuntu,RHEL,fedora,centOS
Posts: 105

Rep: Reputation: 15
i do it in this way.

write till hd and press tab.

root (hd tab

It shows the possible things.
Old 05-05-2008, 07:31 AM   #3
Larry Webb
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If you have a live cd, as root in 'terminal' or 'konsole' type grub and hit enter. When the grub prompt comes up type your above and it will setup grub on the first partition of the first drive. You can also do the same from an installed linux program that is booted.

Here is a little reading material from our tutorials that may help you more.

Last edited by Larry Webb; 05-05-2008 at 07:34 AM.
Old 05-05-2008, 02:36 PM   #4
Registered: Feb 2004
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks for the help. I did the tab trick and it didn't tab complete. I checked the link for help on grub and it led me to a missing Looking at /boot, i don't have anything in there...I'm actually using systemimager to make an image. If you're familiar with it, it copies the entire / tree. It looks like it excluded some stuff in /boot. I'll have to see if i can resync it back. Thanks for the help.


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
GRUB isn't detecting partitions on my 2nd HDD fatsheep Linux - General 3 10-12-2006 07:46 PM
BIOS not detecting IDE drive, yet drive works fine slightcrazed Linux - Hardware 3 04-12-2006 09:48 PM
not detecting hard drive shruthi Linux - General 4 05-09-2005 03:28 AM
Detecting Firewire Drive nutthick Linux - Hardware 0 02-11-2005 08:17 AM
Tapeware isn't detecting drive imemyself Linux - Software 0 11-21-2004 10:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 PM.

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