Re: Multiple linux distros on same disk??
From: Martin Blume (mblume_at_socha.net)
Date: 05/31/04
- Next message: J.O. Aho: "Re: VNC problem in linux"
- Previous message: Moo: "VNC problem in linux"
- In reply to: Ishwar Rattan: "Multiple linux distros on same disk??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 May 2004 11:40:15 +0200
"Ishwar Rattan" schrieb
>
> Since the answer to more than one distro was yes, so I
> installed debian on /dev/hda7 (as it also uses lilo..)
Any distro (any OS) can work with with any boot manager, but
- you might have to put more effort into it
- some OS's are weirder than others
>
> Adding to an entry in /etc/lilo.conf (for Mandrake-9.1 and
> untouched) of the form
So you are doing this from Mandrake? That is, you booted
into Mandrake and edited its lilo.conf to add Debian?
>
> image=/boot/vmlinuz-2.6.5
> label="debian"
> root=/dev/hda7
> initrd=/boot/initrd.img-2.6.5
> appned="debian kernel options"
^^
this would be append="debian kernel options"
> read-only
>
> and an attempt to run /sbin/lilo results in error
> Fatal: open /boot/vmlinuz-2.6.5: No such file directory
If the assumption above (you booted Mandrake) is correct,
/boot will point into Mandrake /boot directory.
You'd have to mount /dev/hda7 (if only temporary), e.g. as
/mnt/ and edit [Mandrake]/etc/lilo.conf:
image=/mnt/boot/vmlinuz-2.6.5
label="debian"
root=/dev/hda7
initrd=/mnt/boot/initrd.img-2.6.5
append="debian kernel options"
read-only
Then run /sbin/lilo, this should work, IMHO. YMMV.
Whenever you want to change anything in /etc/lilo.conf,
even if it concerns Mandrake only, you'd have to mount
/dev/hda7 again (it the same way as before).
If you want to change something in Debian, you'd
have to boot Mandrake, edit it, run lilo and boot back into
Debian.
HTH
Martin
- Next message: J.O. Aho: "Re: VNC problem in linux"
- Previous message: Moo: "VNC problem in linux"
- In reply to: Ishwar Rattan: "Multiple linux distros on same disk??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|