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

Re: Grub drive assignments



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
> > 
> > During the install initially grub was going to be installed to hda which
> > I didn't want so I unplugged the 2 drives and installed with the 2 SATA
> > active.  Because of this sda is hd0 in Grub and sdb is hd1.  Once I
> > plugged the other 2 drives back in Grub wouldn't boot to WinXP.
> > 
> > At the moment I change the boot priority to sdb in the bios to boot to
> > WinXP.  This is the pertinent sections of my grub.conf:
> > *********************************
> > title Fedora Core (2.6.9-1.667)
> >         root (hd0,0)
> >         kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00
> > rhgb quiet
> >         initrd /initrd-2.6.9-1.667.img
> > title Other
> >         rootnoverify (hd1,0)
> >         chainloader +1
> > *********************************
> > I tried some Google searches, man grub, and fought with info grub to no
> > avail. 
> > 
> > How do I change the drive assignments to get Grub to point to the right
> > drive to boot WinXP also?
> 
> Grub uses the same drive ordering as your BIOS.
> 
> So you probably want to change hd0 references to hd2 and hd1 references
> to hd3.
> 
> Paul.
> -- 
> Paul Howarth <paul city-fan org>
> 

Hi,
	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 !!!!

Hope this helps
John


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