LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't boot Window$ Vista with GRUB (https://www.linuxquestions.org/questions/linux-newbie-8/cant-boot-window%24-vista-with-grub-620189/)

Miice 02-10-2008 06:35 PM

Can't boot Window$ Vista with GRUB
 
I had two NTFS partitons - one for Window$ Vista and the second for movies, music, etc. I decided two install Linux. Since there was no free space left, I resized the second partiton with ntfsresize (later I discovered that it wasn't a good idea, but still - it wasn't the Window$ partition I resized) and and created a partition for Linux with fdisk. So, I installed Linux on that partition. Well, but the problem is - the Window$ Vista doesn't boot anymore. It just shows a black screen when I try to boot it.

This the relevant part of /boot/grub/menu.lst:

Quote:

title Window$ Vista
root (hd0,0)
makeactive
chainloader +1

dale504 02-10-2008 08:06 PM

Well do not quote me on this but I think grub will not boot of you put linux in a partition that is over the 2400 cylinder mark on the hard drive!
I think!!?

David1357 02-10-2008 08:31 PM

Quote:

Originally Posted by Miice (Post 3052900)
I had two NTFS partitons - one for Window$ Vista and the second for movies

Take the "$" out of the name. There is probably some parameter expansion that is breaking things. As long as the Windows Vista partition is the first one, you should have no problems using GRUB.

frndrfoe 02-10-2008 08:33 PM

try 'norootverify (hd0,0)' instead of 'root (hd0,0)'

Minozake 02-10-2008 08:40 PM

Quote:

Originally Posted by frndrfoe (Post 3052963)
try 'norootverify (hd0,0)' instead of 'root (hd0,0)'

It's 'rootnoverify'.

Try:

Code:

title Windows Vista
root (hd0,0)
makeactive
chainloader +1

Or:

Code:

title Windows Vista
rootnoverify (hd0,0)
makeactive
chainloader +1

If you are feeling experimental and actually want the dollar sign in there:

Code:

title Window\$ Vista
root (hd0,0)
makeactive
chainloader +1

I am not sure if the $ is the problem or not, nor if the backslash will print the actual character. The backlash usually prints literally whatever character is after it in most command lines.

Miice 02-10-2008 09:22 PM

Hmm, actually I posted somewhat wrong info. Didn't paste the config, relied on my memory (mistake). This is how it actually looks:

Code:

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


Minozake 02-11-2008 04:07 PM

Did you try replacing 'rootnoverify (hd0,0)' with 'root (hd0,0)'?

sundialsvcs 02-11-2008 09:01 PM

The grub documentation does describe exactly how to boot Windows. :tisk: The trick is that grub must hand-off control to Windows' own boot-loader to finish the startup process... which it is fully equipped to do. When set-up according to the published directions :rolleyes: it works flawlessly.


All times are GMT -5. The time now is 06:05 AM.