Making /etc/fstab persistent in live-system

Are Venes arevenes at
Sun Oct 24 12:22:17 UTC 2010

Hm, I can`t get my live-cd to boot a device from fstab. I have made the 
changes with chmod -x on the casper-scripts, and then i have entered 
following into my fstab:

/dev/disk/by-label/MYLABEL /mnt/MYLABEL auto 
users,uid=1001,gid=1001,utf8, umask=000 0 0

I have a user with user-id 1001. That user is supposed to have full 
access to the disk mounted into /mnt/MYLABEL. This seems to work fine in 
my installed version of Ubuntu, but when i try the same
in the livesystem i get an error during boot. "An error occured while 
trying to mount /mnt/MYLABEL" or something in that regard.

Any help are mostly appreciated. Thanks

Den 17.10.2010 21:14, skrev Loïc Grenié:
> 2010/10/17 Hal Burgiss<hal at>:
>> On Sun, Oct 17, 2010 at 12:49 PM, Loïc Grenié<loic.grenie at>  wrote:
>>>      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).
>> When did this "feature" come into play? That sounds really annoying (IMO).
>     Which of the two features that /etc/fstab is reset or that
> /etc/fstab is cumbersome
>    to modify after a chattr +i ?
>    - /etc fstab reset at each boot:
>       It is "built-in" casper since at least Edgy. It's true only for
> CD/USB key boot
>    (I think). I reset it at each ubuntu upgrade of my USB key !
>      Once again: for normal boot it is not true.
>    - unmodifiable /etc/fstab if you set it immutable
>       I think it's clear.
>             Hope this helps,
>                   Loïc

More information about the ubuntu-users mailing list