bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub question


From: y_farkash
Subject: Re: Grub question
Date: Mon, 21 Jul 2008 07:50:38 -0700 (PDT)

Thanks for the info! I will test it when I get back home today.

I have a couple of general questions if you don't mind:

1) Is there a way to tell where Grub is installed (MBR vs a partition) from
the Grub command line?

2) How does Grub knows where to find the '/boot/grub/menu.lst' file (which
partition)? How does it know to look in (hd1,1)/boot/grub/ and not
(hd0,0)/boot/grub/, and is there a way to configure where is looks for it? I
guess, based on what you wrote, that it looks at the drive on which it is
installed, but on which partition? If it were installed on hdb, hdb1 is my
swap, how would Grub know to look at hdb2 vs hdb1?

3) In general, if Grub resides in the MBR (which it doesn't always, but for
sake of argument), where are the configuration files, can one access them,
and how does Grub knows where they are?

Thanks,

Y_Farkash


walter s wrote:
> 
> 
> Legacy grub can't read ntfs partitions, so that menu.lst is left over from
> grub4dos (which *can* read ntfs).  You may as well delete it.
> 
> The problem is that grub is looking in the wrong place for menu.lst.  If
> grub is installed on the MBR of hda then it most likely is expecting
> menu.lst
> to be found somewhere on hda instead of hdb.
> 
> There may be a way to install grub to look on a non-boot drive for
> menu.lst
> but I don't know how to do it.
> 
> I think the easiest way would be to tell your bios to use hdb as the boot
> drive, and make sure grub is installed to the mbr of hdb (it's probably on
> hda now, so you may need to reinstall grub to hdb).
> 
> As a diagnostic move you can use the 'configfile' command from the grub
> command line to tell grub where menu.lst is located.  That should confirm
> that my guesses are correct before you start changing things.
> 
> 
> 
> 
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-grub
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Grub-question-tp18555877p18570283.html
Sent from the Grub - Bugs mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]