Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] cannot open root device
  • From: "Carlos E. R." <robin1.listas@xxxxxxxxxx>
  • Date: Mon, 3 May 2004 13:00:36 +0200 (CEST)
  • Message-id: <Pine.LNX.4.53.0405031237070.5486@xxxxxxxxxxxxxxxx>

The Sunday 2004-05-02 at 22:08 -0700, John Wilkes wrote:

> (Sorry for the delayed response.)

No problem.


> My hda disk has SuSE 8.2 on it. That's the one that can't open hda3
> as the root partition. The hdb disk has an old SuSE 7.3 system on
> it. Running 7.3, I can mount /dev/hda3 and /dev/hda1.
>
> /etc/fstab:
>
> /dev/hda3 / reiserfs defaults 1 1
> /dev/hda1 /boot ext2 defaults 1 2

> /dev/hdb1 /data1 auto noauto,user 0 0
> /dev/hdb3 /data2 auto noauto,user 0 0
> /dev/hdb5 /data3 auto noauto,user 0 0
> /dev/hdb6 /data4 auto noauto,user 0 0
> /dev/hdb7 /data5 auto noauto,user 0 0

> /dev/hda8 /home reiserfs defaults 1 2

> /dev/hdb8 /home2 ext2 noauto,user 1 2

> /dev/hda6 /opt reiserfs defaults 1 2
> /dev/hda5 /usr reiserfs defaults 1 2
> /dev/hda7 /var reiserfs defaults 1 2

> /dev/hda2 swap swap pri=42 0 0
> /dev/hdb2 swap swap pri=42 0 0

> devpts /dev/pts devpts mode=0620,gid=5 0 0
> proc /proc proc defaults 0 0
> usbdevfs /proc/bus/usb usbdevfs noauto 0 0
> /dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
> /dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
> /dev/dvd /media/dvd auto ro,noauto,user,exec 0 0

As far as I see, it is correct.

>
> I re-installed the kernel from the 8.2 installation CD, which also
> gave me a new initrd. These fail in the same way.

See if file "/etc/sysconfig/kernel" contains the line:

INITRD_MODULES="reiserfs"

If not, add it and run "mk_initrd".

>
> /boot/grub/menu.lst:
>
> # Modified by YaST2. Last modification on Thu Apr 29 13:52:56 2004
>
>
> color white/blue black/light-gray
> default 0
> gfxmenu (hd0,0)/message
> timeout 8
>
> title linux
> kernel (hd0,0)/vmlinuz root=/dev/hda3 vga=0x31a hdc=ide-scsi hdclun=0 splash=silent showopts
> initrd (hd0,0)/initrd

That should be booting "vmlinuz" in the first IDE disk, first partition.
Ie, hda1 should be "/boot". That is correct, I think.

however, you reported the error as:

> VFS: Cannot open root device "hda3" on 03:03"


That, according to grub manual, should be hardisk number four (it is cero
based), and partition number four (primary) - that doesn't make much
sense, if the error comes from grub.

Have you changed the ordering of disks in the bios? Boot sequence?

--
Cheers,
Carlos Robinson


< Previous Next >
References