[Tfug] Dual boot linuxs
Chris Hilton
tfug@tfug.org
Mon Jun 3 23:06:01 2002
On Mon, 3 Jun 2002 21:13:56 -0700
"Keith Smith" <klsmith@ultrasw.com> wrote:
> Hi it is me again.
>
> I've loaded Win2000 in hda1 & hda5
> hda6 is swap
> /home is hda7
> hda8 is / for Debian
> hda9 is / for Mandrake
> Both will boot however I cannot figure out how to reference both in
> one lilo.conf.
>
> What I did was install Mandrake to dual boot with win2000 and it did.
>
> Then I installed Debian and got it to dual boot with Win2000. I could
> not boot into Mandrake.
>
> I rescued into mandrake and ran lilo and can dual boot win/mandrake.
>
> When I mod lilo.config on either side I can not get it to recognize
> the other Linux.
>
> Is there a simple howto someplace?
Try 'man lilo.conf'
> Thanks,
> Keith
Keith-
Pick one. If Debian is going to be where you spend a lot of time go
with that. Boot into it. It doesn't matter which install you run lilo
from. You will just have to keep that lilo.conf file updated to reflect
the state of both installs and run lilo there also.
This file is from a RedHat box, the top stanza will be different than
the Debian file but similar to the Mandrake file. Just make sure it
says boot=/dev/hda somewhere in there. The image sections are what you
want to duplicate.
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=15
#message=/boot/message
serial=0,9600n8
append="console=ttyS0"
linear
default=Deb
image=/boot/'vmlinuz_from_Debian_/boot_directory'
label=Deb
read-only
root=/dev/hda8
image=/boot/'vmlinuz_from_Mandrake_/boot_directory'
label=Mandy
read-only
root=/dev/hda9
other=/dev/hd1
label=Win2K
Run lilo after you've made your changes, make sure you know where your
rescue disks are, and reboot.
Have fun!
-C-