[Voyage-linux] How to configure the file system on partition I need??

Adrian Reyer (spam-protected)
Sun Sep 25 02:40:29 HKT 2011


On Sat, Sep 24, 2011 at 11:41:43AM +0200, e.fiancette at in-system.net wrote:
> sdc1 is 512 Mo size and I initialy install Voyage on this partition,
> who will stay Read Only.
> sdc2 is a 2 Go size partion and are of course RW.

With flash medium and Voyage, I dare an question the 'of course'
Are you aware Voyage does not only come with a readonly /, but as well
with a way to configure ramdisks that hold teh contents of your 'rw'
directories and are synced back to CF on shutdown?
You can do this via /etc/default/voyage-util

> I need to move some directories from the system (/tmp and /var/run
> program I need to run) under sdc2
> (in fact I had error when I start x with partition in read only)
> How to do that?

If you want to mount a partition on boot, I suggest to do it via
/etc/fstab. If sdc2 is an ext2 filesystem there should be a line
/dev/sdc2 /mount/where/you/want ext2 defaults 0 0
To write /etc/fstab you have to do remountrw and afterwards you better
do remountro again.

But I really suggest you check /etc/default/voyage-util. This is the
benefit of using voyage over e.g. standard debian.

Regards,
	Adrian
-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas at lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart




More information about the Voyage-linux mailing list