Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help setting up Grub!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
entob
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2004
Posts: 76
Location: Norway, Sandnes

PostPosted: Mon Mar 15, 2004 2:07 pm    Post subject: Need help setting up Grub! Reply with quote

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
View user's profile Send private message
knefas
l33t
l33t


Joined: 21 Dec 2003
Posts: 828

PostPosted: Mon Mar 15, 2004 2:19 pm    Post subject: Re: Need help setting up Grub! Reply with quote

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 :P )

grub.conf looks ok for me. :)
Back to top
View user's profile Send private message
entob
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2004
Posts: 76
Location: Norway, Sandnes

PostPosted: Mon Mar 15, 2004 2:24 pm    Post subject: Re: Need help setting up Grub! Reply with quote

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 :P )

grub.conf looks ok for me. :)

ARGH! TYPO........ :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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