You are not logged in.

#1 2003-12-23 20:54:03

jskier
Member
From: Minnesota, USA
Registered: 2003-07-30
Posts: 383
Website

FStab messed up, root is read only

When upgrading my laptop I lost my fstab completely. So I let it sit, and it boot, however, I can't repair my fstab file because my entire root directory is read only. Is there a way to set the root directory to be writable in the command line? Thanks for any help,

JSkier


--
JSkier

Offline

#2 2003-12-23 21:00:03

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: FStab messed up, root is read only

mount -o remount,rw /


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#3 2003-12-23 21:11:15

jskier
Member
From: Minnesota, USA
Registered: 2003-07-30
Posts: 383
Website

Re: FStab messed up, root is read only

Command spit back it couldn't find / in fstab or mtab... I tried 'mount -t reiserfs remount,rw /' and got 'special device remount does not exist'. I'll keep playing and see what happens, if you have other ideas please post, thanks.

JSkier


--
JSkier

Offline

#4 2003-12-23 21:54:07

Jagged
Member
From: Blacksburg, VA
Registered: 2003-07-18
Posts: 153

Re: FStab messed up, root is read only

boot install cd
mount /dev/discs/discX/partY /mnt
vim /mnt/etc/fstab

then proceed to change your / line so it only has 'defaults' for the options (you most likely have ro set on there)


Nkawtg...n!

Offline

#5 2003-12-23 23:24:47

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: FStab messed up, root is read only

You missed the -o in your modified line.

You actually probably also want the root partition device.

mount -t reiserfs -o remount,rw /dev/discs/path/to/partition


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB