[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: swap and live CD



On Sat, 22 Nov 2008 14:48:28 +0100
Matej Kovacic <matej.kovacic@xxxxxxxxx> 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@xxxxxxxxx
freemor@xxxxxxxx

This e-mail has been digitally signed with GnuPG - ( http://gnupg.org/ )

Attachment: signature.asc
Description: PGP signature