Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I keep getting "Error 21: selected disk does not exist" when I try to boot as WindowsXP
and then it says push any key to continue...and I'm returned to initial grub boot-up page (where I choose which OS I want to run). Intuition tells me that this problem is some sort of newbie-like error that I'm overlooking...
Your ubuntu installer was smart enough to try the map/map trick, but it does not always work. The problem is Windows throws a fit if it is not on the first physical drive in the system.
Back up your menu.lst, and try these changes to the Windows entry:
Code:
title Microsoft Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader +1
I recently solved a similar problem (about 1 hour ago).
Windows and Linux were separately installed on two different drives.
So both OS(s) thought they were on the master drive.
There is a small difference in the GRUB config for my Windows selection:
title Windows XP (On Slave)
rootnoverify (hd1,0)
# begin magic
map (hd0) (hd1)
map (hd1) (hd0)
# end magic
makeactive
chainloader +1
The hardware configuration is Linux on the primary master and Windows on the primary slave.
In the config above "rootnoverify (hd1,0)" is done first and references the Windows slave drive.
The "magic" section then remaps the slave to the master which probably keeps Windows happy.
"makeactive" probably has no effect. There is no reference to a drive in the 'chainloader".
I spent part of last week trying different approaches. My original Linux install wiped out my Windows drive which is why I installed them separately with only 1 of the 2 drives in my machine at a time. And then when I put the two together that was when the fun began. Several posts talked about creating a Linux.bin from the Linux /boot drive, tried it, it didn't work. And others talked about installing GRUB on the Windows drive which I thought might corrupt the MBR and the ntldr would no longer work which would wipe out the drive again.
Anyways the Windows drive is completely portable, it could be installed in a fresh computer and work. And I refused to put the GRUB or any part of Linux on the drive due to Linux install wiping it out previously.
The bottom line is the map "magic" fools Windows into thinking it's the master, the ntldr executes and it works!
I recently solved a similar problem (about 1 hour ago).
Windows and Linux were separately installed on two different drives.
So both OS(s) thought they were on the master drive.
There is a small difference in the GRUB config for my Windows selection:
title Windows XP (On Slave)
rootnoverify (hd1,0)
# begin magic
map (hd0) (hd1)
map (hd1) (hd0)
# end magic
makeactive
chainloader +1
The hardware configuration is Linux on the primary master and Windows on the primary slave.
In the config above "rootnoverify (hd1,0)" is done first and references the Windows slave drive.
The "magic" section then remaps the slave to the master which probably keeps Windows happy.
"makeactive" probably has no effect. There is no reference to a drive in the 'chainloader".
I spent part of last week trying different approaches. My original Linux install wiped out my Windows drive which is why I installed them separately with only 1 of the 2 drives in my machine at a time. And then when I put the two together that was when the fun began. Several posts talked about creating a Linux.bin from the Linux /boot drive, tried it, it didn't work. And others talked about installing GRUB on the Windows drive which I thought might corrupt the MBR and the ntldr would no longer work which would wipe out the drive again.
Anyways the Windows drive is completely portable, it could be installed in a fresh computer and work. And I refused to put the GRUB or any part of Linux on the drive due to Linux install wiping it out previously.
The bottom line is the map "magic" fools Windows into thinking it's the master, the ntldr executes and it works!
I too had the same problem. However i did'nt solve it by adding the #magic line. The issue was solve with...
title Microsoft Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
makeactive
chainloader (hd1,0)+1
The change being "chainloader (hd1,0)+1"
Seems to work fine now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.