You are not logged in.

#1 2009-10-18 11:26:38

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

filesystem read only at boot "SOLVED"

Hi archers

I have a frustrating problem.... for some unknown reason... I rebooted today, and havn't been able
to get back into arch....
it complains that my filesystem is read only etc. heres the error

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

i've tried what it suggests "mount -n -o remount,rw /

i reboot, and still get the same problem over and over again.
I don't know what could of caused this.... i havn't been messing with anything unusual....

I better output my fstab and partitions:







Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007f78b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104422   83  Linux
/dev/sda2              14          46      265072+  82  Linux swap / Solaris
/dev/sda3              47        1003     7687102+  83  Linux
/dev/sda4            1004       19457   148231755   83  Linux




Fstab:


#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext4 defaults 0 1
/dev/sda4 /home ext4 defaults 0 1




Pleaasseeee Help
I'm using a live cd to access the internet right now

thanx in advance
any ideas?

thankyou

Last edited by kaddy (2009-10-18 13:38:16)

Offline

#2 2009-10-18 13:36:10

TaylanUB
Member
Registered: 2009-09-16
Posts: 150

Re: filesystem read only at boot "SOLVED"

Few days, or maybe a week ago, when i was trying to get X to work, i always had to use the computer's reset button because the keyboard would be irresponsive. Normally Arch would fix itself and re-reboot, but eventually it broke because of whatever reason. I thought of wiping the partition and reinstalling Arch from scratch as i didn't have many things on it anyway, but guess what, GParted could fix the filesystem.
(By the way, in case you're curious, the reason X wasn't working properly was that i had no keyboard or mouse drivers installed.)

If you have another Linux on your PC, or a Live CD, or even an installation CD, see if it has a disk-partitioning tool that has an option to fix filesystems. If it doesn't, but if the Linux you use is installed on your PC, just install GParted. But if you're using an installation- or Live CD, you can't do that, and in that case i think you'll have to get another Linux; i would say download Puppy Linux and make a Live CD of that; it has GParted and is friendly for newcomers in every other way too. And you can be sure that having a Live CD lying around is always something good. You never know when something like this will happen again.

(Oh, i just realized that you already ARE using a Live CD... Keep installation CDs, and Puppy Linux, in mind though.)

Last edited by TaylanUB (2009-10-18 13:36:48)


``Common sense is nothing more than a deposit of prejudices laid down by the mind before you reach eighteen.''
~ Albert Einstein

Offline

#3 2009-10-18 13:36:18

kaddy
Member
From: Perth, Western Australia
Registered: 2009-09-22
Posts: 192

Re: filesystem read only at boot "SOLVED"

Its all Fixed now smile

But to help others.... All i did was boot into a live cd.... "any live cd"

log into a konsole or terminal as root
and I ran fsck
in my situation I ran      "fsck /dev/sda4"

and it fixed my filesystem......

cheers

Last edited by kaddy (2009-10-18 13:37:39)

Offline

#4 2009-10-18 13:38:32

TaylanUB
Member
Registered: 2009-09-16
Posts: 150

Re: filesystem read only at boot "SOLVED"

You were 8 seconds too late. =P

But well, i didn't know about fsck myself. Cheers!


``Common sense is nothing more than a deposit of prejudices laid down by the mind before you reach eighteen.''
~ Albert Einstein

Offline

Board footer

Powered by FluxBB