Hi
I am trying to install Debian next to XP. After the first installation,
system froze at loading grub
with a "Error loading grub" message.
I used DOS "fdisk /mbr" to at least get back to XP and I realized that
Debian had completely changed the structure of partition table of the Hard
disk, I had 3 primary partitions and specifically asked Debian to add a
logical one using the unallocated space of 3rd primary partition but
Debian had added the fourth primary partition.
Now my questions are: 1-How to avoid freezing again ?
When you installed grub how did you do it. It probably is looking for a stage1.5 file in the partition in which grub was installed to boot from.
I didn't install it, I think the installer takes care of it
I think there is a program called install-grub that does the grunt work of
installing it correctly (I originally did it by hand from the gentoo
installation instructions - see http://www.gentoo.org)
In my setup I have a hard disk with (the output from fdisk as)
Device Boot Start End Blocks Id System /dev/hda1 1 65 32728+ 83 Linux /dev/hda2 * 66 13164 6601896 b W95 FAT32 /dev/hda3 13165 21504 4203360 83 Linux /dev/hda4 21505 79656 29308419 8e Linux LVM
the first partition is where /boot is located and is a small partion at the
beginning of the disk - Windows is next and then the third is my root of
linux (swap is on another drive, and I use LVM to manage most of the rest of
my disk space)
I have a very similar partition to yours, as in I have the /boot the first small one and then two Windows and two Linux partitions
if necessary use package "parted" to move partions about if you want, although
you probably need to do that from a stand alone floppy and only install grub
in the mbr afterwards.
You don't need to do it that way - your partition layout is what you want it
to be
2-How to customize Grub during installation so Windows can be added to the
list of available OSs ?
You add the lines
title Windows XP rootnoverify (hd0,x) chainloader +1
to the end of /boot/grub/menu.lst
where x is the partiion (starting at 0) that XP is located. (I also make this
the only partion with the boot flag set
So your (hd0,0), which I guess is /boot, does not have the boot flag, right ?
Thanks for the help Hamid
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]