Click to See Complete Forum and Search --> : Dual Booting with two hard drives


Jeepsta
10-06-2000, 12:22 AM
I have recently purchased a new hard drive (30.7 GIG) and installed Mandrake 7.1 on it. I have Windows 98se on the other hard drive (now slave). I am a newbie to linux and cant seem to find out how to configure LILO to dual boot these two OS's. I have read many articles and posts but cant seem to get an "English" answer. Any suggestions and/or links to a tutorial would be greatly appreciated.

Thanks in advance

------------------
Its a jeep thing... You wouldn't understand.

slowlearner
10-06-2000, 01:17 AM
So Linux is on hda and Windows is on hdb?

piix4
10-06-2000, 06:06 AM
You may like to try making the fat32 partition the primary master and have the ext2 as the primary slave if you want? So see if you can make fat32 primary , ext2 secondary - rafter boot from boot disk fdisk/mbr at a boot disk prompt ok? Then you may have to reinstall mandrake and if you want you can allow it to install the grub- does that make sense? http://www.geocities.com/outerflea/apxani.gif

http://setiathome.ssl.berkeley.edu

Jeepsta
10-06-2000, 10:57 AM
OK...Linux is on hda and Windows in on hdb. I tried configuring LILO to boot windows from hdb1 (1st partition on hard drive b if I understand correctly), but it just froze when I tried to boot to it.

I can make the FAT32 primary no problem but what is that gonna do? Will it be easier that way? http://www.linuxnewbie.org/ubb/confused.gif

------------------
Its a jeep thing... You wouldn't understand.

Jeepsta
10-06-2000, 06:27 PM
Is there anyone who can shed a little more light one this subject for me. LILO doesnt seem to like the hdb1 partition for windows. Maybe I have got the wrong partition or something.

------------------
Its a jeep thing... You wouldn't understand.

ds801
10-06-2000, 06:53 PM
O.K., the problem you're having is that Windows like to be on the primary master drive, and Linux also seems to want to be there too. The way to get around it is to trick the other OS into thinking that it IS on the primary master. Here's what you need to do:

Make the Linux drive the primary master (hda). Configure LILO as normal (and add the Windows entry), and install LILO in the MBR of hda.

Now, use a text editor to manually change lilo.conf (should be /etc/lilo.conf, which is the actual configuration file that LILO uses). Goto the Other section (where the Windows/DOS entry is), and add the following lines to the bottom of it:

map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80

Save the file, return to the command line, and type:
lilo

This updates LILO with the changes you just made. Basically, when you boot into Windows, LILO tricks your BIOS into thinking the drives are reversed (or something like that).

I'm not in Linux right now, so I can't double check the info I gave you, but try it out, because I'm pretty sure it should work. I've got my box setup with Linux as primary master (hda) and Windows as secondary master (hdc), and it works fine. I'm not sure if you'd need to change the numbers I gave you (the 0x80/0x81...) if Windows in on hdb (primary slave).