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

[Sheflug] Quick Grub Question



I'm just in the process of setting up a dual boot system.

The hardware and layout is as follows:

HD1 - Windows XP system (Single partition)
HD2 - Gentoo Linux system (boot,swap,root)
HD3 - Windows data disk
HD4 - Gentoo data disk

These 4 disks are hooked up to a Silicon Image 3114 card running in IDE
mode.

I cant seem to remember the correct way to set this up as dual boot, but
using the Windows Xp boot menu.

The 2 scenarios ive come up with are:

1.	dd if=/dev/sda of=/xpboot.bin bs=512 count=1
	Run grub
	root (hd1,0)
	setup (hd0)
	Exit grub
	dd if=/dev/sda of=/gentoo.bin bs=512 count=1
	dd if=/xpboot.bin of=/dev/sda bs=512 count=1

	Then add an option to the Xp boot menu, using gentoo.bin.

2.	Run grub
	root (hd1,0)
	setup (hd1)
	Exit grub
	dd if=/dev/sdb of=/gentoo.bin bs=512 count=1

	Then add an option to the Xp boot menu, using gentoo.bin.

In a nutshell, should I save the bootblock from the Windows drive,
install grub onto it, save the grub bootblock, then restore the windows
one, or should I just install to the Gentoo drive, save the bootblock
and use that ?

I've done this a few times before, but for some reason, its escaping me
completely right now, and I dont want to destroy the Windows stuff.

Thanks.

Steve.

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.