D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Editing fstab on an encrypted drive

 

On Wed, 21 May 2008 20:01:37 +0100
Simon Waters wrote:

> Jason Witcher wrote:
> > 
> > Well, things *have* gone very wrong - on boot up it says it cannot
> > mount the partition because it is busy (even after I've
> > disconnected the drive...), then it drops to 'maintenance mode'.
> > However, even though I am logged in as root, the file system is
> > mounted read-only and I cannot edit the fstab (this is in
> > 'maintenance mode' - how on earth are you supposed to maintain a
> > read only system?).
> 
> 'Read only' is a property of the file system - being root doesn't
> alter that, but root can fix it!
> 
> There is a "remount" try a "mount -o remount,rw" on the read only file
> system.
> 
> I think most distros mount the root or boot file systems as read only,
> and only switch to read write when things start to look promising. One
> day that feature will save your data, and you'll probably never even
> notice it has happened!

A lot of them also have a tendency to remount a filesystem as RO when
it's been having problems with it.  Saves the potential for corruption
by continuing to write to a filesystem that it knows is flaky.

Grant.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html