You are not logged in.

#1 2007-09-07 06:27:01

baklava
Member
Registered: 2007-09-07
Posts: 22

GRUB not booting windows?

Hi, I installed Arch a few days ago, and despite me being a pretty big linux newb I'm loving the distro. I've only gotten very minor problems with it, but this is really the only one I need to fix soon.

When I boot and GRUB asks me which OS to boot up, it detects both arch and windows, but when I try to boot windows it displays...

      booting 'Windows'

# (2) windows
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1

On the screen. My windows partition is on sda1, so (hd0,0) is the correct path, but it just gets stuck on that screen and after outputting the code from /boot/grub/menu.lst file it just stops doing anything.

Help?

Offline

#2 2007-09-07 06:56:25

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: GRUB not booting windows?

Grub is picky on Arch, one of the few distro's I've tried that it throws a fit on things.  Honestly, it looks right to me, I've had a couple drinks so I might be missing something here.  But yeah, same thing I'm using on mine actually.

# (3) Windows
        title Microsoft Windows XP Professional
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnoverify (hd1,0)
        makeactive
        chainloader +1

Aside from the fact that Windows and Linux are on seperate drives for me, same thing, except mine works.....hmmmmmmmmmmmm

Last edited by Acid7711 (2007-09-07 06:57:58)

Offline

#3 2007-09-07 11:08:56

Terl
Member
Registered: 2007-05-14
Posts: 3

Re: GRUB not booting windows?

Mine is identical to yours as well.  Are you using XP or Vista?

Offline

#4 2007-09-07 11:18:42

Arcey
Member
Registered: 2007-06-06
Posts: 4

Re: GRUB not booting windows?

Mine might work, dont ask me why though smile

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

Offline

#5 2007-09-07 12:14:07

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: GRUB not booting windows?

Grub installed on MBR?

Windows on first partition of harddrive?

Guess windows could be picky on where its installed, grub should be able to boot it though.

Offline

#6 2007-09-08 09:11:48

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: GRUB not booting windows?


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#7 2007-09-09 12:56:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,604

Re: GRUB not booting windows?

Is the windows partition marked bootable ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2007-09-09 21:44:13

baklava
Member
Registered: 2007-09-07
Posts: 22

Re: GRUB not booting windows?

Hi guys, I solved the problem. Grub was working fine; my windows partition had somehow become corrupted during the installation. A fresh reinstall fixed everything.

Offline

#9 2007-09-18 20:18:18

hokstein
Member
From: Brazil
Registered: 2007-08-11
Posts: 12

Re: GRUB not booting windows?

I'm having exactly the same problem. This is the second time I've installed Arch, and the other time I had the same problem as well. My Grub entry looks just like the ones above:

# (1) Windows
title Windows
rootnoverify (hd1,0)
makeactive
chainloader +1

As the OP said, grub just prints this entry on the screen and sits there. No real error message.

Someone sugested that maybe Windows is picky about having another bootloader in the MBR. Maybe, but I also had grub on the MBR on my Debian instalation and I still could boot Windows there. I have Linux and Windows installed on diferent drives, Windows being in a single-partition SATA drive.

Any ideas?

Offline

#10 2007-09-18 23:28:35

Kienja Kenobi
Member
Registered: 2007-08-17
Posts: 62

Re: GRUB not booting windows?

Hokstein:

Is your error occurring for the same reason that baklava received the error?  What version of Windows do you have?  For the rest of this post I will assume you have Windows XP or Windows Vista, which means an NTFS partition. 

I assume you can boot into Arch, so within Arch, install "ntfs-3g" using Pacman.  Now edit /etc/fstab by adding this line:

<partition>  <mount point>  ntfs-3g  defaults  0 0

-Replace <partition> with the partition's location
-Replace <mount point> with the location you want the partition mounted to

Now reboot and the NTFS partition should be mounted.  Look at all of the files and folders on the NTFS partition to see if everything is there in perfect order.  Even open up some text or document files to make sure they are fine.  Also, check some file sizes to make sure you do not have a bunch of empty files.  I am not sure what baklava meant by "corrupted," but I imagine if the same has happened to your NTFS partition, something will look amiss.

If you have a problem with the above procedure, consult this: http://wiki.archlinux.org/index.php/NTFS_Write_Support

Last edited by Kienja Kenobi (2007-09-18 23:30:38)

Offline

#11 2007-09-19 04:30:15

hokstein
Member
From: Brazil
Registered: 2007-08-11
Posts: 12

Re: GRUB not booting windows?

Kienja Kenobi wrote:

Hokstein:

Is your error occurring for the same reason that baklava received the error?  What version of Windows do you have?  For the rest of this post I will assume you have Windows XP or Windows Vista, which means an NTFS partition.

Kienja, thanks for the reply. I have Windows XP. I had already installed ntfs-3g here, and I'm using the files on my Windows partition without problems. For example, my music collection is there, and I can access it with any program here on Linux.

Offline

#12 2007-09-19 13:11:44

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,604

Re: GRUB not booting windows?

hokstein wrote:

I'm having exactly the same problem. This is the second time I've installed Arch, and the other time I had the same problem as well. My Grub entry looks just like the ones above:

# (1) Windows
title Windows
rootnoverify (hd1,0)
makeactive
chainloader +1

As the OP said, grub just prints this entry on the screen and sits there. No real error message.

Someone sugested that maybe Windows is picky about having another bootloader in the MBR. Maybe, but I also had grub on the MBR on my Debian instalation and I still could boot Windows there. I have Linux and Windows installed on diferent drives, Windows being in a single-partition SATA drive.

Any ideas?

Windows can only boot directly from the 1st hdd.
As you have rootnoverify (hd1,0) it seems you have the windows drive as SECOND hdd in your system.
Fortunately grub has a map command that can be used to switch the order of drives

Try putting the lines below in your menu.lst (the 2 map commands make windows believe the drive it's installed on is the first hdd.)


# (3) Windows
        title Microsoft Windows XP Professional
        rootnoverify (hd1,0)
        map (hd0) (hd1)
        map (hd1) (hd0)
        makeactive
        chainloader +1

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#13 2007-09-20 22:02:04

hokstein
Member
From: Brazil
Registered: 2007-08-11
Posts: 12

Re: GRUB not booting windows?

Lone_Wolf, that worked. Thank you! big_smile

Offline

#14 2007-09-20 22:59:37

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: GRUB not booting windows?

And I was thinking they had made improvement in GRUB to only boot stable operating systems .... silly me lol

Offline

Board footer

Powered by FluxBB