GRUB will not be overwritten

Paul Howarth paul at city-fan.org
Thu Jan 27 17:19:01 UTC 2005


Krzysztof Kujawski wrote:
> I think this is dengerous.
> Can I install GRUB on floppy disk.
> 
> I wrote commands as you gave me:
> 
> chroot /mnt/sysimage
> 
> and
> /sbin/grub-install /dev/hda3  -- linux partition
> 
> 
> and I obtained message:
> `Installation finished. No error reported.
> This is the contents of the device map /boot/grub/device.map
> Check if this is correct or not. If any of the lines is incorrect fix it 
> and re-run the script `grub-install'.
> 
> # this device map was generated by anaconda.
> (fd0)   /dev/fd0
> (hd0)   /dev/hda'
> 
> exit
> 
> exit
> 
> rebooting
> 
> and  I still see windows boot loader
> 
> Windows 2000 first
> Windows 2000 se.

What you have done is installed grub on /dev/hda3, your Linux partition, 
rather than the Master Boot Record. So you're still using the Windows 
bootloader. You can get this bootloader to chain-load grub by using a 
tool like bootpart (http://www.winimage.com/bootpart.htm) to add an 
entry to boot from your Linux partition to the Windows boot menu.

Alternatively, you could install grub in the Master Boot Record 
(/dev/hda) and have that configured to load your Windows bootloader. 
This is the usual way of dual-booting Linux and Windows.

Paul.




More information about the fedora-list mailing list