MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
hi guys, i have a little problem and i hope that someone here can help me a bit. first of, i did quite extensive search both an the fora here and on google, however, i didn't find a solution to my problem.
i have to work with a very specific statistical tool, that only runs under windows so i have to set up a dual boot system. nothing too special about this.
however, i have installed my mandrake 10 ce in /dev/hda and plan to install xp on /dev/hdb, my second hard disk. everything i found about dual booting is setting it up when xp existed and the linux distribution will be installed later on. my problem is just the other way round. since i guess that when installing xp it will automatically overwrite the master boot record i'm not sure how to edit my lilo.conf in order to set up a working dual boot. did anybody had to set up a system like this? any help is greatly appreciated...
After installing XP, boot your system with Disc 1 of the Mandrake distribution cds. Get into rescue mode. You should find an option to reinstall lilo on the MBR.
Originally posted by ppuru After installing XP, boot your system with Disc 1 of the Mandrake distribution cds. Get into rescue mode. You should find an option to reinstall lilo on the MBR.
thanks for the very quick anwer ppuru. i hope it works that way, will try it out
hm, one more question just arose. when i try to boot xp it says that some files (i guess the mbr things) have to be written to /dev/hda and since i have 3 linux compatible partitions on /hda, xp obviously can't write anything to my first hard disk.
should i create a little win compatible partition on /dev/hda or is there a known workaround to this problem?
Do you have XP installed already? If so, 'C:' is assigned to hdb1. When you create a Win-partition on hda this will be 'C:', hdb1 is 'D:' This will require a reinstall of Windows. (Really smart, isn't it?...)
Maybe you could try this instead: When you want to boot Windows, enter BIOS setup and change disk 1 to "not installed". Now XP recognizes hdb as the first disk, and puts what it needs in C:
Not all BIOS's boot from a slave, you might have to put that disk on secondary master. Check your booting-options in BIOS first.
No guarantees, but I do believe it should work. If not, I don't think it should ruin anything? Well, it's on your own risk anyway...
Originally posted by pingu Do you have XP installed already? If so, 'C:' is assigned to hdb1. When you create a Win-partition on hda this will be 'C:', hdb1 is 'D:' This will require a reinstall of Windows. (Really smart, isn't it?...)
Maybe you could try this instead: When you want to boot Windows, enter BIOS setup and change disk 1 to "not installed". Now XP recognizes hdb as the first disk, and puts what it needs in C:
Not all BIOS's boot from a slave, you might have to put that disk on secondary master. Check your booting-options in BIOS first.
No guarantees, but I do believe it should work. If not, I don't think it should ruin anything? Well, it's on your own risk anyway...
hello pingu, thanks for your replay. i have not installed xp already, that's the fucking problem...
i thought at the way you described (disabling hda,...) already, however my motherboard is pretty old and that won't work unfortunately...
In that case you can safely create a 'C:\' partition on hda.
Make it the very first partition, now I don't know this but I do believe you'll get problems if the first partition is linux... Microsoft doesn't like penguins, you know...
Of course, you could always try, I could be wrong - must happen some day, right?
Unplug the linux drive from the controller and put the drive intended for Windows on the first plug (set the jumpers to be master for this). Install Windows. Pull the drive off the plug and replace your Linux drive to its rightful place as first in line. Put your jumpers back to slave on the Windows drive (where it should be!) and put it back on the second plug of the controller. Boot back to Linux and add the Windows drive (partition) to your /etc/lilo.conf or /boot/grub/menu.lst. You will have your dual boot with Windows second and Linux first. You will have no bootloader problems and you also have the benefit of being able to use either OS independantly of the other this way too (eg: pull one drive and run the other alone).
The only thing you'll need to do to your bootloader config file is to "fool" windows into thinking its still on the first drive. So, for /etc/lilo.conf
Code:
other="windows"
root=/dev/hdb
boot-as=0x80 #those are zeros
and /boot/grub/menu.lst
Code:
title Windows XP
rootnoverify (hd1,0)
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
makeactive
chainloader +1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.