You are not logged in.

#1 2009-10-30 18:27:03

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

[Solved]Got a huge problem after tried Ubuntu live cd ,help!

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. sad

please help

Last edited by Edward.H (2009-10-31 06:57:18)

Offline

#2 2009-10-30 18:28:45

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

# umount /
# fsck -f -v /dev/sdxY

Where Y is the partition.

Birger smile

Offline

#3 2009-10-30 19:50:52

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

MindTooth wrote:
# umount /
# fsck -f -v /dev/sdxY

Where Y is the partition.

Birger smile

thanks,but I tried your method still without luck sad

frustrated

Offline

#4 2009-10-30 21:14:26

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

Please post the exact output and the lines leading up to it.

Offline

#5 2009-10-31 02:44:21

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

iphitus wrote:

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

#6 2009-10-31 03:08:44

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

really bad day,seems I have to reinstall the system ~~~~~~~~~~:(

Offline

#7 2009-10-31 03:17:15

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

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

#8 2009-10-31 03:39:47

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

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

#9 2009-10-31 06:26:12

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

flamelab wrote:

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

#10 2009-10-31 06:29:29

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

fsckd wrote:

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

#11 2009-10-31 06:46:21

Edward.H
Member
Registered: 2009-10-26
Posts: 69
Website

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

the problem has been fixed smile

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

#12 2009-10-31 08:33:37

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: [Solved]Got a huge problem after tried Ubuntu live cd ,help!

Should run fsck on all disk. Good it got solved.

Birger smile

Offline

Board footer

Powered by FluxBB