Making /etc/fstab persistent in live-system

Are Venes arevenes at gmail.com
Sun Oct 24 18:40:12 UTC 2010


I actually found out that i had a spellingmistake in fstab, so that 
helped ;)
Thank you for answering

Den 24.10.2010 20:38, skrev Doug:
> On 10/24/2010 8:22 AM, Are Venes wrote:
>> 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 burgiss.net>:
>>>> On Sun, Oct 17, 2010 at 12:49 PM, Loïc Grenié<loic.grenie at gmail.com>    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
>>>
>>
> I may be wrong, but I don't think the live media accesses the files
> on the hard disk, re fstab, and so on.  As someone pointed out on one of
> the lists, you can run a live CD without having a hd in the machine!
> --doug
>
>





More information about the ubuntu-users mailing list