Jump to content

Can't Boot To Win From Grub


d3bruts1d

Recommended Posts

Been using grub for 2 weeks or so now.... and needed to go back into windows to grab a file. Rebooted the system, grub came up, selected my win option from grub, and... here came grub again.

 

Everytime I select my windows option, the screen flashes and here comes grub again. Any ideas?

 

 

default 0 
timeout 30 
splashimage=(hd1,0)/boot/grub/splash.xpm.gz 

title=Gentoo Linux 
root (hd1,0) 
kernel (hd1,0)/kernel-2.4.22-gentoo-r4 root=/dev/hdb3 
initrd (hd1,0)/initrd-2.4.22-gentoo-r4 

title=Windows XP 
root (hd0,0) 
chainloader (hd0,0)+1

Share this post


Link to post
Share on other sites

I am with linux... I will go grab my lilo config file for you to look at if you want

 

vga=792
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=100
lba32
default=gk_linux

image=/boot/kernel-2.4.22
label=gk_linux
root=/dev/hda4
initrd=/boot/initrd-2.4.22
append="root=/dev/hda4 init=/linuxrc"

other=/dev/hda1
label=dos

Edited by Kevin_E_Cramer

Share this post


Link to post
Share on other sites

default 0

timeout 30

splashimage=(hd1,0)/boot/grub/splash.xpm.gz

 

title=Gentoo Linux

root (hd1,0)

kernel (hd1,0)/kernel-2.4.22-gentoo-r4 root=/dev/hdb3

initrd (hd1,0)/initrd-2.4.22-gentoo-r4

 

title=Windows XP

root (hd0,0)

chainloader (hd0,0)+1

 

Replace

root (hd0,0)

with

rootnoverify (hd0,0)

right before the root (hd0,0) command.

 

The code you have is accurate assuming Gentoo Linux is installed on your secondary hard drive's (i.e. secondary master's) first partition, and Windows XP is installed on your first hard drive's first partition. It also assumes that grub is installed on your first hard drive in the boot sector (/dev/hda1..) but for most linux installs it will put it on the same hard drive as your linux install. If adding rootnoverify (hd0,0) does not work, then try removing the chainloader command and leaving in rootnoverify to test that case.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...