swap and live CD

Freemor freemor at gmail.com
Sat Nov 22 14:29:53 UTC 2008


On Sat, 22 Nov 2008 14:48:28 +0100
Matej Kovacic <matej.kovacic at owca.info> wrote:

> Hi,
> 
> Ubuntu 8.10 has an option to create live USB disk. It could be also
> writable and you can install your own software.
> 
> So you can customize your portable USB stick, have your encrypted
> private directory (https://wiki.ubuntu.com/EncryptedPrivateDirectory)
> and install Tor.
> 
> But the problem is, that Ubuntu uses swap partition of the host
> machine.
> 
> So, how to remaster live image in such a way, that live CD/USB will
> not touch swap partition of the host machine?
> 
> Thx for any info.
> 
> Bye, Matej

Unless Ubuntu has done something strange it should just be a matter of
removing any references to that partition from the /etc/fstab file so
they don't get mounted. To be really sure you could remove the swapon
commands from the appropriate /etc/rc files. 

You can use swapon -s to check what swap partitions are currently in
use.
You can use swapoff to turn off swap partitions manually (not
permanent).


-- 
freemor at gmail.com
freemor at yahoo.ca

This e-mail has been digitally signed with GnuPG - ( http://gnupg.org/ )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20081122/e7fd84f5/attachment.pgp>


More information about the tor-talk mailing list