I saw the following error after I migrated the / to a raid 1 /dev/md1 setuproot: moving /dev failed No such file or directory setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory switchroot: mount failed: No such file or directory What I did is to reboot with a repair system, and type the following commands: mount /dev/md1 /mnt chroot /mnt mount /proc mv /boot/initrd.img /boot/initrd.old mkinitrd -v /boot/initrd.img 2.6.26.20
The libary package was in compatible with the upgraded e2fsprogs package. But the partition only needed check because the maximum mount count was exceeded. So in the "Repair Filesystem" mode, root can do the following:
disable the fsck on a partition by running the command dumpe2fs -h /dev/hda1 | grep 'ount count' tune2fs -c 0 -i 0 /dev/hda1 Reboot and no fsck error whatsoever.
Remount the / to read and write mount -o remount,rw /
0 comments:
Post a Comment