1、As root - issue 'sudo su' in the terminal window prior to the following command. Download and apply the repository gpg key.
wget -O - http://www.remastersys.com/ubuntu/remastersys.gpg.key | apt-key add -
2、Add the following line that corresponds to your version of Ubuntu to your /etc/apt/sources.list
#Remastersys Lucid
deb http://www.remastersys.com/ubuntu lucid main
#Remastersys Maverick
deb http://www.remastersys.com/ubuntu maverick main
#Remastersys Natty
deb http://www.remastersys.com/ubuntu natty main
#Remastersys Oneiric
deb http://www.remastersys.com/ubuntu oneiric main
#Remastersys Precise
deb http://www.remastersys.com/ubuntu precise main
3、Now just apt-get update or reload in Synaptic to have the new Remastersys signed repository ready to use!
4、apt-get install remastersys
5、remastersys dist yourname.iso