D&C GLug - Home Page

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

Re: [LUG] fstab access

 

On Tue, 21 Jun 2011, Jack Oley wrote:

Hi all.  Can anyone tell me how I can access the fstab file in the CLI 
and write to it in recovery mode?  Currently, Ubuntu 11 won't start 
since I tried to permanently add the Windows OS folders by adding the 
UUID to the fstab file.  Using the CLI in recovery mode, I can access 
the fstab file but only as read only, so I can't remove this mount 
addition, even though I'm accessing it as root.
When you've logged in as root, type this:

  mount -oremount,rw /

then

  cd /etc
  nano fstab

and edit it as required. I'd start by simply commenting out the line you put in.
I also have an fstab.save and an fstab.save.1 file. They also have this additional mount instruction. Are these other 2 fstab files needed?
I don't know of a mechanism whereby one fstab will read another, so 
they're probably not needed.
Gordon

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