grub: kernel parameter RO but filesystem still gets mounted rw
Hi
I am trying to do a fsck on my ext3 partition, but so far failed to let the system come up in single user mode and having the partition mounted read only. It says in the kernel parameter that it is read only (RO) but still mounts it RW. A remount with mount -o remount,ro does not work, since / is always busy. what to do to get a fsck done? I don't want to boot into a rescue system, this should be possible on a running system (like Windows does it, when rebooting) This is on Debian Lenny. Markus |
You can force an fsck on the next boot by using tune2fs:
Code:
tune2fs -c 1 /dev/hda1 |
All times are GMT -5. The time now is 07:08 AM. |