Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-26-2006, 12:15 PM
|
#1
|
LQ Newbie
Registered: Feb 2006
Posts: 2
Rep:
|
dual boot with linux on removable hd
hello out there:
here is my problem: I have mdk 10.0 on removable hard drive (hdd), windows xp pro on fixed hard drive (hda), grub boots on hda without problems if the two disks are present. But if I remove hdd to work with other data, there is a grub problem "error 25" and no way to reboot xp!
I tried reconfiguring grub to boot on hdd, but that only led to another mesage "unable to read, etc..." which seems to mean that from linux, i could not rewrite the boot section of windows xp...
So what is the manip to be able to dual boot when i have the two original hd's, and directboot to xp when i remove the linux disk...
thanks for your help
(i'm a firtimer on the forum, but i've been using linux on and off for years as an eternal tryouter...)
martin broomberg
|
|
|
02-26-2006, 07:46 PM
|
#2
|
Member
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881
Rep: 
|
Hello, and welcome to LQ!
Grub loads stuff from the hard drive that has Linux on it before it can boot anything. If that hard drive isn't plugged in, you can't use grub.
Have you tried using the Windows boot loader to load Linux? I'm sure there's info for it on the web. You'll have to go to a recovery console first and do, "fixmbr" (or something like that).
If that doesn't work (or you just don't like the idea) you can use the Lilo boot loader instead. Lilo loads completely into the MBR and doesn't need a Linux partition in order to boot Windows.
There are probably also options for this in GRUB, but if so I don't know them.
Does anybody else have an idea?
--Dane
|
|
|
03-04-2006, 03:07 AM
|
#3
|
LQ Newbie
Registered: Feb 2006
Posts: 2
Original Poster
Rep:
|
grub dual boot...
Sorry I took so long to reply and thank you...
I tried lilo but that just gave me a series of 00000 on the bootscreen, so:...I did a fixmbr, and now I am waiting to have some time to try a dualboot fixup through windows...
until sometime later, perhaps,....
thanks again for your (unique) reply,
martin
|
|
|
03-05-2006, 11:09 AM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Note
I (almost) always jumper my fixed drives as slaves, i.e. hdb. Many in the local LUG consider this idiosyncrasy a little strange; but it allows me to boot a removable hd easily w/o messing w/ it, the BIOS, or my GRUB menu.
Suggestion 1- Using Win fdisk, restore the Win MBR boot loader on your fixed drive: You will probably need a Win98 boot disk or similar.
- Open the case and:
- Put the rack for the removable drive on the primary IDE.
- Re-jumper your fixed (XP) drive to slave.
From now on, always jumper the removable drive "Master".
If you use SATA or cable select, do the appropriate equivalents. The result you want is:- hda == removable (Linux)
- hdb == fixed (XP)
- Put GRUB on the MBR of the removable, Linux drive (hda).
Do this by re-installing Mdk, if necessary.
- Leave the BIOS alone.
Suggestion 2- Again, using Win fdisk, restore the Win MBR boot loader on your fixed drive: You will probably need a Win98 boot disk or similar.
- Point your BIOS at the removable drive. (I.E. make it the one that boots 1st.)
Check that the fixed drive (XP) boots when the removable drive is not in the system. I don't remember a BIOS that doesn't do this.
- Put GRUB on the MBR of the removable, Linux drive (hdd).
If necessary, do this by re-installing Mdk.
- Check that GRUB boots both systems correctly, you may have to add "map" lines to menu.lst or a /boot/grub/device.map file
Comments
In both instances, your Win XP will once again be in close to its original state. It will also be independent of any Linux drive you choose to put in the machine.
The trade off is: would you rather mess w/ your hardware or w/ GRUB mapping?
|
|
|
All times are GMT -5. The time now is 03:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|