LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-01-2004, 01:56 PM   #1
Hawklad
LQ Newbie
 
Registered: Sep 2003
Location: Broomfield CO
Distribution: Mandrake 9.1/Debian Sid
Posts: 15

Rep: Reputation: 0
Oops- mounted root as read only!


I was fiddling with my fstab, trying to speed things up a bit, and I added that "notail" option to my root filesystem. Problem is, my filesystem is ext3 not reiserfs, so I get an error and it defaults to mounting root as read-only.


I know what I need to do to fix it, but I can't change fstab becuase its read only. I can't umount it - when I try, nothing happens (its still mounted according to mtab).

Any advice?
 
Old 04-01-2004, 01:59 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Why not boot up with a livecd (Knoppix, Slax, etc) and change it back?
 
Old 04-01-2004, 02:36 PM   #3
Hawklad
LQ Newbie
 
Registered: Sep 2003
Location: Broomfield CO
Distribution: Mandrake 9.1/Debian Sid
Posts: 15

Original Poster
Rep: Reputation: 0
I'm on dialup--I could do that but it would take a long time.

Is there a more 'elegant' solution? Or some way to use my boot disk - like some sort of command I can pass to the kernel?

Thanks for the reply, though.

Last edited by Hawklad; 04-01-2004 at 02:58 PM.
 
Old 04-01-2004, 05:10 PM   #4
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Append init=/bin/sh to the boot command, mount the partition and edit fstab. This might work.
 
Old 04-26-2004, 06:59 PM   #5
tylerl
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Ok, no need to do anything crazy, just remount it in read-write:

mount -o remount,rw /

or if the fstab is messing you up:

mount -o remount,rw /dev/hda1 / (or the like)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 01:17 PM
cdrom Mounted but Non Root User Can't Read tortle Slackware 7 11-22-2005 06:33 AM
root fs is mounted read only after adding new drive PPaladin Linux - Hardware 0 03-02-2004 11:25 AM
Mounted drives are read only for non-root edawad Linux - Newbie 1 01-11-2004 11:30 PM
root mounted as read only behmjose Linux - Newbie 1 12-17-2003 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration