PDA

View Full Version : Linux and Windows Duel Boot



The15th
04-25-2002, 12:34 AM
Hi all,

I have two hard drives. a 60 gig and a 10 gig. the 60 has windows on it and is my primary drive. the 10 has linux red hat 7.0 and is my slave drive. I want to use a boot manager to allow me to choose which OS i boot into but i cannot set this up. I have tried LILO but had no luck as the only OS that comes up when I TAB was Linux. I have also tried Partitons magic Boot manager but had no luck there either.

Does anyone know how to setup a linux and windows duel boot on two hardrives?

any info would be great. thanks heaps.
danno.

Fordy
04-25-2002, 02:12 AM
Did it a while ago and it worked........

IDE1 - master - Win2k.......installed with Partition Magic.......added slave drive.........formatted 2nd drive to Ex2 (or whatever system Linux uses) and added swap partition.....second drive was now ok for linux.....

Put Linux disk in drive....ran install.....it recognised both disks....and so I loaded linux onto the second disk and made sure LILO was set to the boot partition of the second disk...........

Went back into windows,......installed boot magic (part of partition Magic)..........it recognised both disks.......set bootmagic so it ran from boot sector of first disk (windows).......from there it recognised both operating systems.....

When I booted I had an option of OS's.......if I chose windows, it stayed on disk 1 and handed over control to NTLDR (to boot windows)....if I chose linux It jumped to the boot sector of the second disk and Linux loaded.........

I did it a while ago so my memory is a little hazy....bu I dont think it caused any specific headaches.....

shtarker
04-25-2002, 06:38 AM
It might be easier to simply alter your lilo config script.
It's normally in the file /etc/lilo.conf
Just add another entry to it, on my machine it looks something like:


other = /dev/hda1
label = Windows
table = /dev/hda

Replace the /dev/hda1 with where ever you installed windows to.

Barjor
04-25-2002, 09:02 AM
Does anyone know what I need to add to the grub boot loader?
And also. how do I change from Grub to LILO bootloader in red hat 7.2?

shtarker
04-25-2002, 10:02 AM
>>how do I change from Grub to LILO bootloader in red hat 7.2?

Run "lilo" as root.
Read a bit about it first thp.

shtarker
04-25-2002, 05:53 PM
The only thing I can think of that would stop you from editiing it is that its access rights are read only for everyone but root.
If you haven't already try becoming root before you try to edit it, at the console this is easiest done with the "su" command. That will ask you for the root password and then grant you root access privlidges. Then just use any editor to get at it eg "vim /etc/lilo.conf"

danno
04-26-2002, 03:16 AM
Thanks for your help guys. Fordy i am having trouble with your method because of the 1024 cycl limit. Is there a way around this or will i have to set up a small 8 gig partition for it to boot? Well i will try shtarker method now and edit my file. Thanks again guys.

shtarker
04-26-2002, 04:59 AM
>>Thanks for your help guys. Fordy i am having trouble with your method because of the 1024 cycl limit. Is there a way around this or will i have to set up a small 8 gig partition for it to boot? Well i will try shtarker method now and edit my file. Thanks again guys.

This came up in another thread and the problem can only be overcome by newer bios's. If you run into the 1024 limit, then there is very little you can do, there might be some bios upgrades for your system, but its a very long shot.