You are not logged in.

#1 2008-06-13 20:58:35

pier_arch
Member
Registered: 2008-06-13
Posts: 2

Arch and Gentoo on the same hda with lilo

Hi all.
I decided to have a go with Arch after reading enthusiastic opinions about it.

After trying the ftp installation with no success I managed to get the iso base image installed. Yet a funny thing happens which I haven't been able neither to solve nor to find a solution to about in this forum.

After installing lilo I managed to boot arch linux. I wanted to boot Gentoo too and so I altered the lilo.conf file.
As a result I could boot Archlinux but not Gentoo.

Using a Gentoo live cd I chrooted in order to get the old Gentoo working. Altered the lilo.conf file to get Arch to boot but without success.
Now Gentoo can boot whereas Archlinux not.
Archlinux logo appears but then I get a kernel panick:

--- snip ---
/bin/mknod "/dev/root" b 3 3
/init :1 cannot open /dev/root: no such device or address
::initramfs completed - control passing to kinit
ip-config: no device to configure
kinit: unable to mount root fs on dev(3,3)
kinit: init not found
kernel panic - not syncing: attempt to kill init

This is my lilo.conf with Gentoo working and Archlinux not:

boot = /dev/hda
lba32
prompt
timeout = 300
vga=0x318
default="GENTOO-2622r2bt"
#---------------------------------------------------------------
image = /boot/vmlinx-2.6.22-gentoo-r2-bluetooth
  label = GENTOO-2622r2bt
  read-only
  root=/dev/hda6
#----- RTAI kernel patched -------------------------------------
image = /boot/bzImage.2.6.19.2.rt
  label = GEN-RT-noacpi
  read-only
  root=/dev/hda6
#---------------------------------------------------------------
image = /mnt/hda3/boot/vmlinuz26
  label = ArchLinux
  initrd = /mnt/hda3/boot/kernel26.img
  read-only
  root=/dev/hda3

I would be grateful for any hint or link to a similar solved post.
Thanks,
Pier

Offline

#2 2008-06-13 21:10:28

ThomasAdam
Member
From: Southampton, England
Registered: 2005-10-26
Posts: 148

Re: Arch and Gentoo on the same hda with lilo

pier_arch wrote:

kinit: unable to mount root fs on dev(3,3)

Which means that:

/dev/hda3

Probably isn't where the rootfs for Arch really is.  You ought to correct this, edit the lilo.conf file and rerun "lilo".

-- Thomas Adam

Offline

#3 2008-06-13 22:10:21

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Arch and Gentoo on the same hda with lilo

Or you could just use GRUB.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#4 2008-06-14 07:26:12

pier_arch
Member
Registered: 2008-06-13
Posts: 2

Re: Arch and Gentoo on the same hda with lilo

ThomasAdam:
thanks for your reply.
I have installed Archlinux  / on /dev/hda3. Here down is the partition scheme on my hd:

                         cfdisk (util-linux-ng 2.13.1)

                              Disk Drive: /dev/hda
                       Size: 122942324736 bytes, 122.9 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 14946

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
------------------------------------------------------------------------------
    hda1                    Primary   Linux ReiserFS                   20012.11
    hda2                    Primary   Linux swap / Solaris              1028.16
    hda3        Boot        Primary   Linux ReiserFS                   24198.78  <------ Archlinux
    hda5                    Logical   Linux ReiserFS                   45255.50
    hda6        Boot        Logical   Linux ext3                       32440.51  <------ Gentoo

moljac024: thanks for the advice, but I would like to stick to lilo and understand why it doesn't work.

Thanks,
Pier

Offline

#5 2008-06-14 08:32:40

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Arch and Gentoo on the same hda with lilo

GRUB is technically a superior bootloader. You may fool around with LILO for a while, but it's time is up big_smile


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

Board footer

Powered by FluxBB