Share your knowledge at the LQ Wiki.
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 06-24-2011, 11:35 AM   #1
LQ Newbie
Registered: Jun 2011
Location: Pune, India
Distribution: CentOS6
Posts: 20

Rep: Reputation: 0
Question why grub>root command gives me (fd0) output?


I am learning Linux administration and I am new in this area.

Currently I am trying to find out which drive has grub.conf file.

Following commands giving me correct output (hd0,0):

find /grub/stage1
find (hd0,0)/grub/grub.conf

But root command gives me output (fd0). Why?

Old 06-25-2011, 10:40 AM   #2
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
We need some more information: Distribution?
Some Linux operating systems are coming with grub.conf (Fedora), others with menu.lst (openSuse,...) or grub.cfg (Mint,...).
Old 06-26-2011, 08:21 AM   #3
LQ Newbie
Registered: Jun 2011
Location: Pune, India
Distribution: CentOS6
Posts: 20

Original Poster
Rep: Reputation: 0
Post Details

I am having RHEL5 and I am running it on Oracle Virtual Box.

The root command on grub prompt only returns me weird output. Otherwise find command returns correct hard drive.

Old 06-27-2011, 05:44 AM   #4
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,075

Rep: Reputation: Disabled
I'm confused. What output do you expect? GRUB-legacy (i.e. 0.99 or such) uses the root command to assign the root directory ("/") to a device (and gives no output that I'm aware of, except errors when there is no root file system on the device). With GRUB2 (i.e. 1.97 or some such) I'm not sure.

For background information read: (and links to GRUB-legacy howto)


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
how to read lsof output command many file open by root ??? b-RAM Linux - Newbie 2 10-05-2009 03:40 AM
grub - I/O error,dev fd0? vito_huang Linux - Software 5 02-24-2009 03:57 PM
technique to know usb root hub by parsing lsusb -v command output in SLES10 2.6.16 ke deedhnd Linux - Server 0 05-02-2008 10:06 AM
How do you save grub to fd0? dth1 SUSE / openSUSE 2 07-14-2007 10:38 AM
dd command and /dev/fd0 problem gowanstl27 Solaris / OpenSolaris 4 12-01-2003 09:15 AM > Forums > Linux Forums > Linux - Newbie

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