[Voyage-linux] Modify Fstab

Sean (spam-protected)
Tue Oct 14 14:17:16 HKT 2008


Varadarajan,

What I did to solve the home directory read only issue was to do these 
steps:

1. as root, remountrw.
2. log in as your unprivileged user.
3. get things set up the way you would like them.
4. log out from the unprivileged user.
5. log in as root.
6. cp -a /home/username /ro/username
7. rm -rf /home/username
8. ln -s /rw/username /home/username
9. restart

When the computer boots, /ro is copied to /rw in a memory filesystem. 
Now your user has a read-write home directory. Of course the contents of 
the home directory will be lost on poweroff. But you may want this in a 
kiosk situation.

If you want to keep the home directory then you will need to create a 
second rw partition. Then symbolically link the directory like I did in 
step 8.

Hope this helps!

Sean

varadarajan narayanan wrote:
> Hi !
>
> I am using voyage linux for low cost PC ( Thinputers). Though voyage 
> is meant for other appliances I consider PC as an appliance !
> I need  the read only OS feature and using from a 1 gb compact 
> flash.Later thinputers will use meshing technology to network.
> Running xfce4 desktop and use it like a thin client.I have added 
> bootsplash and also auto log in.
> Managed to pack this within 256 mb.
>
> I have two issues which need to be solved.
>
> 1) Automounting USB drives : It gives device can not be found in fstab 
> or mtsab error.
>
> 2) Need to mount home directory r/w in a separate partition.
>
> 3) When auto logging for non-root user , I  can not do startx since 
> home directory is ro. I have to change to rw and then do a startx.
>
> So for all these I need to modify the fstab or mtab ?
>
> Not able to figure out how to do this in Voyage. There is no etc/fstab 
> and voyage seem to be doing this  in a special way !
> Can anyone help me to figure out how this mechanism works so that I 
> can make these changes ? or point me to the resources ?
>
> Cheers
>
> Rad
>
> www.thinteknix.com <http://www.thinteknix.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>   





More information about the Voyage-linux mailing list