View previous topic :: View next topic |
Author |
Message |
RoelVanDijk n00b
Joined: 15 Dec 2002 Posts: 21
|
Posted: Wed Jun 04, 2003 4:58 pm Post subject: Problems with GRUB |
|
|
I'm having trouble setting grub up.
My partitions are like this:
1st harddisk
Code: |
Device Boot Start End Blocks Id System
/dev/hda1 * 1 255 2048256 7 HPFS/NTFS
/dev/hda2 256 3648 27254272+ f Win95 Ext'd (LBA)
/dev/hda5 256 2805 20482843+ b Win95 FAT32
/dev/hda6 2806 2818 104391 83 Linux
/dev/hda7 2819 2884 530113+ 82 Linux swap
/dev/hda8 2885 3648 6136798+ 83 Linux
|
2nd harddisk
Code: |
Device Boot Start End Blocks Id System
/dev/hdb1 1 13 104391 83 Linux
/dev/hdb2 14 79 530145 82 Linux swap
/dev/hdb3 80 9729 77513625 83 Linux
|
My grub.conf:
Code: |
default 0
timeout 30
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd1,0)
kernel /boot/bzImage root=/dev/hdb3 vga=791 video=vesa:1024x768
title=Windows XP
root (hd0,0)
chainloader +1
|
This is how I set up grub
Code: |
grub
root (hd1,0)
setup (hd0,0)
quit
|
If I select "Windows XP" in the bootloader menu the screen go's black for a second and some text flashes and then I'm back in the bootloader.
What am I doing wrong here? |
|
Back to top |
|
|
DrkPlague Tux's lil' helper
Joined: 04 Jun 2003 Posts: 107
|
Posted: Wed Jun 04, 2003 5:19 pm Post subject: MBR |
|
|
you accidentally overwrote the MBR where windows puts all its boot info. my advice is to boot off the XP cd and go into recovery console. then run "fixmbr" to set things right. i know there is a way to use the windows bootloader to load linux, but i can't recall how right now. i will try searching for it, untill then good luck.
EDIT: found a site that should cover it. it says it wants lilo but i believe it works with grub as well.
http://home.ubalt.edu/abento/linux/redhat-install/dualbootNT.html |
|
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
|
|