Making /etc/fstab persistent in live-system

Tom Browder tom.browder at gmail.com
Sun Oct 17 11:06:28 UTC 2010


On Sun, Oct 17, 2010 at 05:47, Are Venes <arevenes at gmail.com> wrote:
...
> I can`t get the /etc/fstab to be persistant, I can make changes to it, but
> as soon as i reboot, it is changed back two the same two lines as were there
> before..

Try changing its file attributes like this:

  sudo chattr +i /etc/fstab

which makes it immutable.

View a file's attributes with lsattr.  See manpages for both for details.

HTH

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA




More information about the ubuntu-users mailing list