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.
Right, a few weeks ago when first trying Linux, I set my XP drive to be Slave and freshly installed Fedora Core 2 on a new Master HD, I chose to install GRUB and have it set everything up and everything went and ran peachy, until I tried to boot into XP later on using the loader and got nothing. I got plenty of help via the net and plenty of things to try which only got me as far as "NTLDR not found", I was told to boot the XP drive as normal and got the same error. To cut a long story short, I never regained control of the drive via it's own MBR and ended up using a floppy with the NTLDR, Ndetect and boot.ini files on it until i finally reinstalled and scrapped linux.
This time to stop Fedora meddling, I installed XP on it's own and swapped drives before installing Fedora on it's own (but with GRUB installed). So I have Fedora working and XP working. I want my Fedora drive as it is (Primary Master with the 3 standard linux partitions) and my WinXP drive as the Primary Slave with it's single partition. How do I set this up without unleashing hell?
...
Allow Fedora to setup grub, then edit the conf file [/boot/grub/menu.lst]
add a section which reads like:
>
>title WindowsXP
>map (hd0) (hd1)
>map (hd1) (hd0)
>rootnoverify (hd0,0)
>chainloader +1
This tells grub to add a new menu item called WindowsXP, swap the hard disks over [bios trick], set the root partition to the first partition on the first harddisk [actually the second], and load the windows/dos chainloader.
Save, and reboot with both drives in the machine. You may need to run 'grub-install /dev/hda1' with both drives in so that it can detect both hard disks.
If that doesn't work change >rootnoverify (hd0,0) to read >rootnoverify (hd1,0).
I'm fairly confident it's the right way round!
Okay, so I'm having a problem here too. My setup is a little odd, so (of course) my GRUB doesn't like it. My WindowsXP drive is on a SCSI (takes the whole thing, so one partition there. This reads in as /dev/sda1) and my Fedora Core 3 is installed on my main Maxtor 60 gig hd (/dev/hda1, naturally). Booting Linux works nicely, booting windows gives me the lovely "NTLDR not found" message. I would just use the instructions above, but I don't know quite how I should set mine up. Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.