LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Read-only mount error at boot (https://www.linuxquestions.org/questions/suse-opensuse-60/read-only-mount-error-at-boot-298354/)

cheetahman 03-06-2005 12:26 PM

Read-only mount error at boot
 
Here is the error i get

Fsck failed.Please repair manually and reboot .The root filesystem is currently mounted read-only

To mount it read-write do:

bash#mount -n -o remount,rw/

Attention:Only Ctrl D will reboot the system in this maintence mode.Shutdown or reboot will not work.

Give Root password for login:

acid_kewpie 03-06-2005 03:29 PM

ok.. so do what it says then... run a manual repair using "fsck /dev/hda1" if it's your first partition on the first drive etc...

cheetahman 03-06-2005 03:57 PM

/dev/hda7 is the primary partition suse linux is on

acid_kewpie 03-06-2005 04:00 PM

good for you. so go fsck that then.

cheetahman 03-06-2005 04:26 PM

it did it but it said it failed

acid_kewpie 03-06-2005 04:27 PM

just that? it just said "failed" and nothing else?

cheetahman 03-06-2005 04:33 PM

but when running the rescue system from the suse linux cd i get 2 errors
also can you help me with this since i posted it at linuxforums.org and the person isn't responding his name is dylunio


OK, login as root at the maintence screen, and then Code:
cat /etc/fstab
it will spit out your fstab, check the line for your root filesystem, after the mountpoint ( / ) there may be a ro, you must change that to a rw, to do this, Code:
vi /etc/fstab
press i and edit the ro into a rw, and then press Esc, and then type :w! then, :q and restart the computer, it should now be fixed,

Then he says

Ok, letts check your /etc/boot/menu.lst, there will be a few lines like this: Quote:
title SuSE
kernel (hd0,6)/boot/vmlinuz ro root=/dev/hda7 vga=0x31a splash=silent desktop resume=/dev/hda1 showopts
initrd (hd0,6)/boot/initrd


You need to change that ro (if you have it) into rw, do that in the same way as I said to do with your /etc/fstab.

abisko00 03-07-2005 02:25 AM

I think this is to achieve easier. In the rescue system, try to remount your root partition, giving it the option -o rw (just as it said in the initial error message:
Quote:

To mount it read-write do:

bash#mount -n -o remount,rw/
If this doesn't work, try to run the repair from another LiveCD. I use KNOPPIX for this.

acid_kewpie 03-07-2005 02:28 AM

why am i supposed to me helping out some guy on another site? let's stick to our own answers.... you've still not said what errors fsck is giving you. you don't want to mount that partition read-write if it's failing the fs checks.

abisko00 03-07-2005 02:33 AM

Quote:

you don't want to mount that partition read-write if it's failing the fs checks.
Good point, sorry that I did not mention it!

Try to use the automatic repair function from your SuSE CD:
http://portal.suse.com/sdb/en/2003/1...em-Repair.html
if you have 9.1 Personal, try this:
http://portal.suse.com/sdb/en/2004/0...od_91pers.html


All times are GMT -5. The time now is 06:45 AM.