LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2008, 06:35 PM   #1
Miice
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
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

Last edited by Miice; 02-10-2008 at 06:38 PM.
 
Old 02-10-2008, 08:06 PM   #2
dale504
LQ Newbie
 
Registered: Jan 2008
Location: IL
Distribution: f8
Posts: 29

Rep: Reputation: 15
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!!?
 
Old 02-10-2008, 08:31 PM   #3
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by Miice View Post
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.
 
Old 02-10-2008, 08:33 PM   #4
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
try 'norootverify (hd0,0)' instead of 'root (hd0,0)'
 
Old 02-10-2008, 08:40 PM   #5
Minozake
LQ Newbie
 
Registered: Jan 2008
Location: Frozen Hell, MN, USA
Distribution: Source Mage GNU/Linux
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by frndrfoe View Post
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.
 
Old 02-10-2008, 09:22 PM   #6
Miice
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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

Last edited by Miice; 02-10-2008 at 09:24 PM.
 
Old 02-11-2008, 04:07 PM   #7
Minozake
LQ Newbie
 
Registered: Jan 2008
Location: Frozen Hell, MN, USA
Distribution: Source Mage GNU/Linux
Posts: 18

Rep: Reputation: 0
Did you try replacing 'rootnoverify (hd0,0)' with 'root (hd0,0)'?
 
Old 02-11-2008, 09:01 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
The grub documentation does describe exactly how to boot Windows. 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 it works flawlessly.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 07:21 PM
dual boot with window vista preloaded sunil.13.79 General 1 10-29-2007 02:21 PM
Vista Dual Boot Grub Problem bluelite28 Linux - General 3 07-24-2006 12:47 AM
Impossible to boot Vista with grub? DeadZed Linux - General 2 01-27-2006 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration