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've just installed Ubuntu and the GRUB was put in the MBR (as recommended by the installation program). While beeting into Linux works fine, when I select Windows XP it just hangs.
The commands it has are:
root (hd0,0)
savedefault
makeactive
chainloader +1
When I do it manually in the command line, it all works fine until I run 'boot'.
Any help anyone can give me? Have I somehow screwed up my Windows installation?
title Microsoft Windows 2k SP4
rootnoverify (hd0,2)
chainloader +1
makeactive
boot
'rootnoverify' must be instead of simply 'root'. hd0 - first hard drive. The number after comma is the number of the partition which holds the windows loader. makeactive makes windows think it was booted from its partition and it's active. Try this.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Boot into linux. Look in /etc/fstab and see which partition windows is on. hda1 or sda1 is drive 0, partition 0. hdb3 or sdb3 is drive 1 partition 2. I hope you can grasp the concept. Drives and partitions both start out at 0, but partitions start out at hda1 or sda1. There is no hda0 or sda0.
In /etc/fstab there should be a partition that is NTFS filesystem. Look at what it is.
It has caught my attention recently that in many XP installations a partion (could be hidden) may have been inadvertently set up by the user for the purpose of backing up XP system data or working as a swap. This partition may have been mistakedly picked up by Grub to boot as the XP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.