[opensuse] Upgrade to 11.1 gone wrong -- VFS: Cannot open root device
Hi, I tried to upgrade to 11.1 yesterday but I ended up with an unusable system. At startup, after choosing OpenSUSE 11.1 in the GRUB boot menu I get the following error message: ------------------------------- VFS: Cannot open root device disk/by-id/ata-MAXTOR_STM3320620AS_6QF1LW22-part 4 or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ------------------------------- I started with a perfectly working dual-boot config Vista/OpenSUSE 11.0. I ran the install wizard from the LiveCD and selected "Edit Partition Setup..." to confirm the existing config of the drive: ------------------------------- Device Boot Start End Blocks Id System /dev/sda1 1 25527 205045596 7 HPFS/NTFS /dev/sda2 * 25528 25539 96390 83 Linux /dev/sda3 25540 25601 498015 82 Linux swap / Solaris /dev/sda4 25602 38913 106928640 83 Linux ------------------------------- File systems / mount points: ------------------------------- sda1 NTFS [Vista] sda2 EXT2 /boot sda3 SWAP sda4 EXT3 / ------------------------------- The install process worked without apparent problem but when I rebooted I got the error message above. My menu.lst looks like this: ------------------------------- # Modified by YaST2. Last modification on Fri Dec 19 10:21:03 CET 2008 default 0 timeout 8 ##YaST - generic_mbr gfxmenu (hd0,1)/message ##YaST - activate ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 11.1 root (hd0,1) kernel /vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-MAXTOR_STM3320620AS_6QF1LW22-part4 resume=/dev/disk/by-id/ata-MAXTOR_STM3320620AS_6QF1LW22-part3 splash=silent showopts vga=0x31a initrd /initrd-2.6.27.7-9-default ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows rootnoverify (hd0,0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 11.1 root (hd0,1) kernel /vmlinuz-2.6.27.7-9-default root=/dev/disk/by-id/ata-MAXTOR_STM3320620AS_6QF1LW22-part4 showopts ide=nodma apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x31a initrd /initrd-2.6.27.7-9-default ------------------------------- I tried these alternatives with same result: root=/dev/sda4 root=(hd0,3) root=0804 (major/minor) no "root=" option Please note that Vista is booting fine. Also when I boot from the LiveCD I am able to manually mount and access /dev/sda4. e2fsck reveals no problem. My system: ------------------------------- Asus P5QPro Intel Core2 Duo E8500 4GB RAM MAXTOR 300GB SATA drive ------------------------------- I ran out of options and I would appreciate some help. Thanks beforehand. ~/jc -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Samstag, 20. Dezember 2008 schrieb JC Francois:
Hi,
I tried to upgrade to 11.1 yesterday but I ended up with an unusable system.
At startup, after choosing OpenSUSE 11.1 in the GRUB boot menu I get the following error message:
------------------------------- VFS: Cannot open root device disk/by-id/ata-MAXTOR_STM3320620AS_6QF1LW22-part 4 or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ------------------------------- [...]
I ran out of options and I would appreciate some help. Thanks beforehand.
That looks like a missing driver module for the harddisk controler. Could you check /etc/sysconfig/kernel if the INITRD_MODULES entry in /etc/sysconfig/kernel includes the necessary modules. If not , you have to rebuild your initrd to include the missing modules. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Markus, Thanks. My /etc/sysconfig/kernel file contains: INITRD_MODULES="processor thermal fan jdb ext3 ahci edd" It looks like what I need is there... ~/jc Markus Koßmann wrote:
Am Samstag, 20. Dezember 2008 schrieb JC Francois:
Hi,
I tried to upgrade to 11.1 yesterday but I ended up with an unusable system.
At startup, after choosing OpenSUSE 11.1 in the GRUB boot menu I get the following error message:
------------------------------- VFS: Cannot open root device disk/by-id/ata-MAXTOR_STM3320620AS_6QF1LW22-part 4 or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ------------------------------- [...] I ran out of options and I would appreciate some help. Thanks beforehand.
That looks like a missing driver module for the harddisk controler. Could you check /etc/sysconfig/kernel if the INITRD_MODULES entry in /etc/sysconfig/kernel includes the necessary modules. If not , you have to rebuild your initrd to include the missing modules.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 20 Dec 2008 14:41:05 +0100, you wrote:
I ran out of options and I would appreciate some help. Thanks beforehand.
First of all, please no top posting and no full quotes as both are unwanted on this list. For your boot problem: please boot the rescue system and post the output of 'ls -l /dev/disk/by-id/*'. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
JC Francois wrote:
Hi,
I tried to upgrade to 11.1 yesterday but I ended up with an unusable system.
Can somebody please suggest something to resolve this situation? Thanks, ~/jc -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 22 December 2008 10:47:39 am JC Francois wrote:
JC Francois wrote:
Hi,
I tried to upgrade to 11.1 yesterday but I ended up with an unusable system.
Can somebody please suggest something to resolve this situation?
Markus suggested it might be an initrd problem. Your response was
My /etc/sysconfig/kernel file contains:
INITRD_MODULES="processor thermal fan jdb ext3 ahci edd"
However, according to your first message /boot is on an ext2 file system (assuming that wasn't a typo)? If that isn't built into your kernel you would also need the ext2 module as well in the initrd. -- Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2008/12/22 Don Raboud
On Monday 22 December 2008 10:47:39 am JC Francois wrote:
JC Francois wrote:
Markus suggested it might be an initrd problem. Your response was
My /etc/sysconfig/kernel file contains:
INITRD_MODULES="processor thermal fan jdb ext3 ahci edd"
However, according to your first message /boot is on an ext2 file system (assuming that wasn't a typo)? If that isn't built into your kernel you would also need the ext2 module as well in the initrd.
No you don't need to mount /boot to boot, the kernel and initrd is loaded into memory, by GRUB using BIOS calls, linux kernel not running at that stage. Also the actual modules built into initrd is now mostly determined by udev, from the running system. If the root filesystem was moved, for some reason, then it might not be mountable any more due to driver issues, but on a simple single disk, single controller IDE system that's unlikely. To the OP, if I had something more positive to suggest, I would. So far I'm just shrugging my shoulders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 12/23/2008 01:47 AM, JC Francois wrote:
JC Francois wrote:
Hi,
I tried to upgrade to 11.1 yesterday but I ended up with an unusable system.
Can somebody please suggest something to resolve this situation?
Thanks,
~/jc If it is like my situation, which is root on a raid 1, hitting Ctrl-D after it comes up with the invalid root device, seems to allow to exit whatever failed part of the boot sequence and it will then mount the root and continue booting. HTH.
-- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Don Raboud
-
JC Francois
-
Joe Morris
-
Markus Koßmann
-
Philipp Thomas
-
Rob OpenSuSE