Root fs mounts r/o after update to 11.2

Hello, everyone. First of all, I’m quite a noob, so ANY help will be… helpful :slight_smile:

Yesterday I’ve updated my openSUSE 11.1 to 11.2 using installation DVD. After that, as system boots, I started to get lines like:


FATAL: Module jbd not found
FATAL: Module mbcache not found
FATAL: Module ext3 not found

and so on with different modules…
and this exact string several times:


WARNING: All config file need .conf: /etc/modprobe.d/tv, it will be ignored in a future release.

Finally I get:


fsck failed. Please repair manually and reboot. The root
file system is currently mounted read-only. To remount it
read write do:

 bash# mount -n -o remount,rw /

Attention: Only CONTROL+D will reboot the system in this
maintenance mode. shutdown or reboot will not work.

Give root password for login:

I tried running fsck, but it found no errors. Tried different kernels (via yast from repositories), event tried reverting to 2.6.27 one from 11.1 installation DVD. But the result each time is the same: root file system mounts read-only :frowning:

One more thing… I noticed that after yast installs a kernel, there comes:


Additional rpm output:
df: Warning: cannot read table of mounted file system: No such file or directory
Free diskspace below /boot: 12150088 blocks

Kernel image: /boot/vmlinuz-2.6.31.5-0.1-default
Initrd image: /boot/initrd-2.6.31.5-0.1-default
cp: cannot stat '/sbin/blkid': No such file or directory

then goes root device, resume device, kernel modules and then again:


cp: cannot stat '/sbin/fsck': No such file or directory
Features: block usb resume.userspace resume.kernel
Bootsplash: openSUSE (1024x768)
ldd: /sbin/blkid: No such file or directory
ldd: /sbin/fsck: No such file or directory
34153 blocks

Can anyone pleeease tell me what went wrong and what’s even more important: how to fix it?
Thanks in advance, any help will be appreciated.

Are you getting to any kind of running configuration like a command line?
Post your /boot/grub/menu.lst

How did you run fsck ? The partition that is fixed must be unmounted.

Try booting from the install media and run repair and do the disk repair/check there. It may still tell you you need to repair by hand but at least we know you are using the correct version for 11.2

IMO it is always a bad idea to upgrade. Do a new install and tell the installer not to format home. You certainly never see this kind of problem.

Yes, after

Attention: Only CONTROL+D will reboot the system in this
maintenance mode. shutdown or reboot will not work.

Give root password for login:

I enter root password and get a root shell, from wich I can remount root fs into rw, run yast, put up network, etc…

Post your /boot/grub/menu.lst

Will do soon as I get home :slight_smile:

How did you run fsck ? The partition that is fixed must be unmounted.

Yes, like fsck told me, I unmounted partition with
umount /dev/sdb6
and then ran
fsck.ext3 -f /dev/sdb6
it found no errors…

Try booting from the install media and run repair and do the disk repair/check there. It may still tell you you need to repair by hand but at least we know you are using the correct version for 11.2

Tried it. Also finds no errors on any of the partitions.

IMO it is always a bad idea to upgrade. Do a new install and tell the installer not to format home. You certainly never see this kind of problem.

Won’t I loose any of my settings/installed programs doing it?..
Anyway, upgrading from 10.3 to 11.1 went without any difficulties as I recall.

evilblade666 wrote:
> upgrading from 10.3 to 11.1 went without any difficulties as I
> recall.

well then you must be the luckiest person i ever met…since upgrading
from 10.3 to 11.0 was NOT advised, and 10.3 to 11.1 was NOT advised
(in both cases the Wiki and about a million posts in this fora said to
backup your data and do fresh install as the recommended way)

there is really now way to know what kind of crud you have hanging
around in your system that is probably gonna hound you until you do as
recommended…

ymmv…you are welcome to listen to as many other opinions as you
wish…and, obviously it IS your machine and you can upgrade it anyway
you want…but, i don’t know how to help you…other than as already
mentioned to use the install DVD and select “Repair Installed System”
on the boot screen…

might work…might not (i doubt the script there will looking for old
10.3 stuff hanging around)…


palladium

Here it is… but of course it varies when I install/delete/reinstall different kernels…

# Modified by YaST2. Last modification on Mon Dec 14 20:49:16 MSK 2009
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 2
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part6 acpi=off resume=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part5 splash=silent quiet showopts vga=0x317
    initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (desktop)
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part6 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.31.5-0.1-desktop


###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part6 acpi=off resume=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part5 splash=silent quiet showopts vga=0x317
    initrd /boot/initrd-2.6.31.5-0.1-default


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (default)
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part6 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.31.5-0.1-default


###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part6  acpi=off   resume=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part5 splash=silent quiet showopts vga=0x317
    initrd /boot/initrd


###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 
    root (hd0,5)
    kernel /boot/vmlinuz root=/dev/disk/by-id/ata-ST3200822AS_5LJ1QWJL-part6 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd