Making /etc/fstab persistent in live-system

Loïc Grenié loic.grenie at
Sun Oct 17 16:49:00 UTC 2010

2010/10/17 Tom Browder <tom.browder at>:
> On Sun, Oct 17, 2010 at 05:47, Are Venes <arevenes at> 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.

     That would work but it has the annoying side effect that it becomes
  cumbersome to modify /etc/fstab afterward (the first person only wanted
  that his/her fstab would not be reset at each boot).


More information about the ubuntu-users mailing list