Grub drive assignments

Paul Howarth paul at city-fan.org
Sun Apr 3 15:34:30 UTC 2005


On Sun, 2005-04-03 at 10:25 -0400, David Niemi wrote:
> On Sun, 2005-03-04 at 13:47 +0100, John Austin wrote:
> > On Sun, 2005-04-03 at 08:04 -0400, David Niemi wrote:
> > > On Sun, 2005-03-04 at 12:32 +0100, John Austin wrote:
> > > > On Sun, 2005-04-03 at 11:58 +0100, Paul Howarth wrote:
> > > > > On Sun, 2005-04-03 at 06:37 -0400, David Niemi wrote:
> > > > > > How do the drive assignments work in Grub?
> > > > > > 
> > > > > > I have 4 hard drives in a computer:
> > > > > >  hda - ntfs data disk
> > > > > >  hdb - ntfs data disk
> > > > > >  sda - FC3, Grub, used LVM default installation with SELinux
> > > > > >  sdb - ntfs, WinXP
> > > > 	Not totally convinced that FC3 uses same as BIO.
> > > > FC4T1 does during install.
> > > > Don't trust were FC4T1 is going to write grub stuff during install !!!!
> > > > The best way I have found to be really sure what grub thinks
> > > > both during both install and booting (they may not be the same)
> > > > Use cat (hdTAB to find the devices and files
> > > > eg
> > > > cat (hd0,0)/test_file
> > > > 
> > > > where test_file is different on each drive !!!!
> > > 
> > > I do not have the other hard drives mounted, haven't gotten that far yet
> > > in installing stuff, getting ntfs reads enabled, etc so this isn't going
> > > to work(?).  I'll get on this anyway.
> > > 
> > > Is there any command from within Grub to list the drives, other than
> > > just using hit and miss with grub.conf changing the hd1 to others?
> > > 
> > Hi,
> > Go interactive with grub
> > ie type c to go into command mode during booting
> > 
> > During install I have been selecting Install No Boot Loader
> > and then rebooting to linux rescue and sorting out grub
> > at this stage.
> > 
> > I have a nearly finished the document but it has not been thoroughly
> > proof read, but it may be useful. I take no responsibility !!!!
> > Any feedback welcome !!!!
> John:
> 
> Thanks, this document would be useful, e-mail me off list and I'll
> provide comments.
> 
> I've tried the cat (hd0,0)/somefile and I'll I get is bash syntax
> errors.

You do this from grub, not from bash.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list