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

Re: XP-LINUX Dual Boot - Still have problems



On Mon, Dec 29, 2003 at 05:45:32PM -0500, abhay@cox.net wrote:
> I also tried GRUB with GRUB installed on /dev/hda which is my first hard
> disk.  Upon rebooting the words GRUB were printed at the top left corner of
> the screen and the machine simply hung after that.

To install grub I would do the following:
Make sure your menu.lst file contains entries for linux and windows.
In my case this is:
	title   Debian bf2.4
	root    (hd0,0)
	kernel  /boot/vmlinuz-2.4.18-bf2.4 root=/dev/hda1 hdc=ide-scsi

	title   Debian 2.6.0
	root    (hd0,0)
	kernel  /boot/vmlinuz-2.6.0 root=/dev/hda1

	title   Low-level Format
	root    (hd0,3)
	chainloader +1

but in your case it would be something like:
	title	Debian
	root	(hd1,0)
	kernel	/boot/name-of-kernel root=/dev/hdb1

	title	Windows
	root	(hd0,0)
	chainloader +1

Then to install grub you would boot into Debian and run grub.
Then enter the following commands:
root (hd1,0)	This indicates that grub files are on /dev/hdb1
setup (hd0)	This indicates that grub should install on /dev/hda

Grub needs to know where its files are stored. When your computer
boots the part of grub in the MBR of /dev/hda is loaded and then
it needs to load the rest of grub. If it doesn't know where that is
it will just sit there. The files grub needs are in the /boot/grub/
directory of your Debian partition.

Hope that helps,
Bijan
-- 
Bijan Soleymani <bijan@psq.com>
http://www.crasseux.com

Attachment: signature.asc
Description: Digital signature


Reply to: