Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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!!?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.