Hallo, Am Thu, 14 Jul 2011, Kyek, Andreas, VF-DE schrieb:
Ich habe (testweise) mal eine Ausgabe in /etc/init.d/boot.rootfsk gemacht; das kommt aber er _lange_ nach dem hier stattfindenden fsck zur Anwendung.
Evtl. ein Fehler im initrd boot/81-mount.sh. Darin findet sich u.a. ein: ==== [..] elif [ -x "$rootfsck" ] && ! [ -s /proc/vmcore ] ; then # fsck is unhappy without it echo "$rootdev / $rootfstype defaults 1 1" > /etc/fstab [..] fsck -t $rootfstype $fsckopts $rootdev [..] if [ "$read_only" ]; then echo "fsck succeeded. Mounting root device read-only." else echo "fsck succeeded. Mounting root device read-write." fi [..] # mount the actual root device on /root echo "Mounting root $rootdev" ==== Die Zeile echo "$rootdev / $rootfstype defaults 1 1" > /etc/fstab bedeutet der fsck von / wird immer ausgeführt wenn Mountcount oder Zeitraum (-> tune2fs) bzw. "clean-state" das für sinnvoll halten, egal was in der /etc/fstab steht (obiges ist ja die fstab in der initrd-Ramdisk). Guck mal, ob der fsck vor oder nach dem "Mounting root ..." kommt. Dann wäre das Problem schonmal sehr deutlich auf die initrd eingegrenzt. Beobachte auch mal das Herunterfahren, ob die /-Partition sauber unmounted wird. Und kontrolliere nochmal die 'tune2fs -l' Ausgabe und die Uhrzeit (danke an den Vorschreiber, daran hätte ich jetzt nicht gedacht). Du kannst testhalber mal Folgendes einfügen vor Zeile 86 (oS 11.4) (hier als Patch, per Hand nur die 3 Zeilen mit '+' einfügen). ==== /lib/mkinitrd/boot/81-mount.sh ==== --- 81-mount.sh~ 2011-04-26 21:47:49.000000000 +0200 +++ 81-mount.sh 2011-07-14 09:49:53.812000669 +0200 @@ -83,6 +83,9 @@ ID_FS_TYPE= fi +date +tune2fs -l $rootdev + # check filesystem if possible if [ -z "$rootfstype" ]; then echo "invalid root filesystem -- exiting to /bin/sh" ==== Ah, und in /lib/mkinitrd/scripts/boot-mount mußt du noch eine Zeile ändern: #%programs: /sbin/fsck $rootfsck /bin/on_ac_power in #%programs: /sbin/fsck $rootfsck /bin/on_ac_power /sbin/tune2fs damit auch tune2fs mit in der initrd landet[0]. 'date' ist schon in der initrd. Und dann die initrd mal neu erstellen (mkinitrd). HTH, -dnh [0] die ich mit 4.4M übrigens eh schon gruselig groß finde, und dabei hab ich fast nix (selber) drin. -- Me: "What, December 1999 wasn't that long ago?" Them: "For a phone, that's ancient." Me: "The phone on my desk was built in 1937, and that still works fine..." -- S. Septimus -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org