Ubuntu Recovery Mode - R/W File System
Messed up the /etc/environment file in my Ubuntu 12.04 LTS vm today. Here's how I boot into Ubuntu recovery mode and access the file system as root in write mode.
- Hold 'Shift' while the machine is starting up to load up GNU GRUB
- Start up Ubuntu in recovery mode
- Choose "Drop To Root Shell Prompt'
- By default, this will allow you to access the file system in read-only mode
- Switch to read/write mode by executing
This:
$ mount -o remount,rw /
Now I can fix whatever files I messed up earlier
Written by Ivan Sim
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#