Re: Multiple linux distros on same disk??

From: Martin Blume (mblume_at_socha.net)
Date: 05/31/04


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



Relevant Pages

  • Re: Tell HELEN to call again 07986 218665
    ... The only tip I can offer is that if you plan a dual boot machine, ... I use Linux, my main box is Fedora Core 3, my file and print server and family box is Red Hat 9, my firewall is Red Hat 7.2. ... I've been told that the Debian is the one to go for. ... AFAIR Mandrake was an extension of Red Hat. ...
    (soc.culture.scottish)
  • Re: Tell HELEN to call again 07986 218665
    ... The only tip I can offer is that if you plan a dual boot machine, ... make sure Linux is on the first 2 Gb of the hard disk. ... I've been told that the Debian is the one to go for. ... releasing desktop distributions I don't know what the current base of Mandrake is. ...
    (soc.culture.scottish)
  • Re: Urgent :Dual boot Debian+Mandrake with lilo
    ... > I assume you want to boot Mandrake with a Mandrake-tweaked kernel, and Debian ...
    (Debian-User)
  • Re: [SLE] Getting Grub to find everything
    ... as a boot source very happily. ... Hence, with your drives, you need to have ... At one point I allowed Mandrake to overwrite SuSE's boot ... GRUB itself is the bootloader and should load the kernel for you, ...
    (SuSE)
  • Re: Urgent :Dual boot Debian+Mandrake with lilo
    ... > I assume you want to boot Mandrake with a Mandrake-tweaked kernel, and Debian ...
    (Debian-User)