LinuxQuestions.org
Help answer threads with 0 replies.
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 06-24-2011, 10:35 AM   #1
themande
LQ Newbie
 
Registered: Jun 2011
Location: Pune, India
Distribution: CentOS6
Posts: 20

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


Hi,

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?


Thanks,
Amit
 
Old 06-25-2011, 09:40 AM   #2
alfredo10
Member
 
Registered: Sep 2010
Location: Algarve
Distribution: Linux Multiboot
Posts: 295

Rep: Reputation: 15
Hi!
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,...).
alfredo
 
Old 06-26-2011, 07:21 AM   #3
themande
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.

Thanks,
Amit
 
Old 06-27-2011, 04:44 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,991

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:
http://www.troubleshooters.com/linux/grub/grub.htm
http://www.dedoimedo.com/computers/g...#post4159819ml
http://www.kernel.org/doc/Documentat...parameters.txt
http://www.gnu.org/software/grub/manual/grub.html
http://www.gnu.org/software/grub/
http://www.dedoimedo.com/computers/grub-2.html (and links to GRUB-legacy howto)
http://linuxers.org/howto/how-config...ub2-ubuntu-910
 
  


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
how to read lsof output command many file open by root ??? b-RAM Linux - Newbie 2 10-05-2009 02:40 AM
grub - I/O error,dev fd0? vito_huang Linux - Software 5 02-24-2009 02: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 09:06 AM
How do you save grub to fd0? dth1 SUSE / openSUSE 2 07-14-2007 09:38 AM
dd command and /dev/fd0 problem gowanstl27 Solaris / OpenSolaris 4 12-01-2003 08:15 AM


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