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

 

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!


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