View previous topic :: View next topic |
Author |
Message |
entob Tux's lil' helper
Joined: 08 Jan 2004 Posts: 76 Location: Norway, Sandnes
|
Posted: Mon Mar 15, 2004 2:07 pm Post subject: Need help setting up Grub! |
|
|
How do I set up Grub for this partition layout?
Code: | Dev Size FS OS
hda1 15GB NTFS Windows XP Root
hda2 65GB Fat32 Windows
hdb1 32M Ext2 Linux Boot
hdb2 1GB Swap Linux Swap
hdb3 39GB --- --- Extended Partition
hdb5 39GB Ext3 Linux Root
|
I tried installing Grub into the MBR of hda, but that corrupted the Windows XP Root partition beyond recovery?
In Grub:
Code: | root (hd1,0)
setup (hd0,0) |
My grub.conf:
Code: | default 0
timeout 5
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd1,0)
kernel (hd1,0)/kernel-2.4.22-gentoo-r7 root=/dev/hdb5
title=Windows XP
root (hd0,0)
chainloader +1
|
|
|
Back to top |
|
|
knefas l33t
Joined: 21 Dec 2003 Posts: 828
|
Posted: Mon Mar 15, 2004 2:19 pm Post subject: Re: Need help setting up Grub! |
|
|
entob wrote: |
I tried installing Grub into the MBR of hda, but that corrupted the Windows XP Root partition beyond recovery?
In Grub:
Code: | root (hd1,0)
setup (hd0,0) |
|
that was a mistake.
You should just run setup(hd0)
you can fix the XP boot records (I think) with a FDISK /MBR from the dos prompt, or FIXMBR from the XP CD (but I'm not sure about this, but the matter is how to set up linux, not win )
grub.conf looks ok for me. |
|
Back to top |
|
|
entob Tux's lil' helper
Joined: 08 Jan 2004 Posts: 76 Location: Norway, Sandnes
|
Posted: Mon Mar 15, 2004 2:24 pm Post subject: Re: Need help setting up Grub! |
|
|
knefas wrote: | entob wrote: |
I tried installing Grub into the MBR of hda, but that corrupted the Windows XP Root partition beyond recovery?
In Grub:
Code: | root (hd1,0)
setup (hd0,0) |
|
that was a mistake.
You should just run setup(hd0)
you can fix the XP boot records (I think) with a FDISK /MBR from the dos prompt, or FIXMBR from the XP CD (but I'm not sure about this, but the matter is how to set up linux, not win )
grub.conf looks ok for me. |
ARGH! TYPO........ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|