You are not logged in.
I got error " root file system was mounted read only" after I tried Ubuntu 9.10 lived cd (I was Ubuntu user before) .
I tried to run mount -n -o remount,rw and reboot but nothing change
I also tried to run fsck /dev/sda3 and reboot but nothing change too. ![]()
please help
Last edited by Edward.H (2009-10-31 06:57:18)
Offline
# umount /
# fsck -f -v /dev/sdxYWhere Y is the partition.
Birger ![]()
Offline
# umount / # fsck -f -v /dev/sdxYWhere Y is the partition.
Birger
thanks,but I tried your method still without luck ![]()
frustrated
Offline
Please post the exact output and the lines leading up to it.
Offline
Please post the exact output and the lines leading up to it.
please see below:~
Mounting Root :Read Only
******************* FILESYSTEM CHECK FAILED *************
* Please repair manually and reboot. Note that the root *
* filesystem is currently mounted read-only. To remount *
* it read-write type: mount -n -o remount,rw / *
* When you exit the mantenance shel the system will *
* reboot automatically.
Last edited by Edward.H (2009-10-31 03:09:29)
Offline
really bad day,seems I have to reinstall the system ~~~~~~~~~~:(
Offline
Do you have an exotic disk setup? Can you read the files?
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Solution:
Enter your password and enter that login (don't press Ctrl+D as it says)
umount /dev/sdXY (umount any drive )
then, nano /etc/rc.sysinit
find the spot where fsck is running. Run the exact same command that rc.sysinit runs (there are some variables there, you'll find them a bit higher). (copy the command to a piece of paper or something, and then run it the console or through a live cd, again with NO hard drives mounted)
Last edited by flamelab (2009-10-31 03:41:50)
Offline
Solution:
Enter your password and enter that login (don't press Ctrl+D as it says)
umount /dev/sdXY (umount any drive )
then, nano /etc/rc.sysinit
find the spot where fsck is running. Run the exact same command that rc.sysinit runs (there are some variables there, you'll find them a bit higher). (copy the command to a piece of paper or something, and then run it the console or through a live cd, again with NO hard drives mounted)
thanks! I tried but there is too many codes on /etc/rc.sysinit which I can't understand (I don't know linux coding),I don't know which commands should be ran.
Offline
Do you have an exotic disk setup? Can you read the files?
E
I can use nano to open the files,so the files can be read. I don't have exotic disk setup, and my /etc/fstab is correct. I just ever boot a Ubuntu 9.10 live cd ,after that above mentioned problem came ...
Offline
the problem has been fixed ![]()
My root files on /dev/sda3
my /home is on /dev/sda4
All I did before was just fsck /dev/sda3 but /dev/sda4
I tried to run "fsck -t ext3 /dev/sda4" as well ,it works!
thanks all of you guys.
Last edited by Edward.H (2009-10-31 06:46:39)
Offline
Should run fsck on all disk. Good it got solved.
Birger ![]()
Offline