Install Remastersys
Remastersys is available from Sourceforge. (If using a repository installation from another source (not recommended), note that the (Launchpad) repositories have versions that are different for Jaunty (and earlier) than the ones used for Karmic and later.)- Obtain the .deb file from Sourceforge and install:
wget -O - http://www.remastersys.com/ubuntu/remastersys.gpg.key | apt-key add -
sudo sh -c 'echo "deb http://www.remastersys.com/ubuntu precise main" >> /etc/apt/sources.list.d/remastersys.list'
apt-get update ; apt-get install remastersys remastersys-gtk -y
Create a custom distribution
- Remastersys copies all your settings exactly as they are set up in your system, except for proprietary display drivers (and other proprietary hardware drivers). Therefore, customize your distribution to your liking first, using a single user. (It is recommended to keep an installation to less than 2 GB if you wish the remastered distro to fit on a CD. If you intend to use DVDs, it can be larger.)
- Once it is perfected, write the distribution to an .iso (for burning onto a distributable CD (or DVD)):
sudo remastersys dist
- Burn the .iso to a disk. Insert a blank CD or DVD (if the .iso file is more than 700 Mb, a DVD must be used).
- Menu -> Multimedia -> K3b CD & DVD Burning -> Tools -> Burn DVD ISO Image...
- -> Image to Burn: /home/resmastersys/remastersys/customdist.iso
- -> Start -> Default Settings
- Note: an MD5 sum will be calculated and displayed, which can be recorded (on the disk, for example) for later verification.
- Clean the temporary files (if the disc burned and works correctly):
sudo remasterys clean
Create a system backup
This method allows you to backup a multiple-user system using any privileged user, and retains the user files and settings.sudo remastersys backup
Using the Remastersys GUI
A GUI is available (after installation of the Remastersys package):- Menu -> System -> Remastersys Backup
Edit Remastersys configuration file
Choose the settings for the custom distro:sudo nano /etc/remastersys.conf
Troubleshooting
- See this page regarding Remastersys limitations. For example, no single file can be 4 Gb or larger in size; only gdm or kdm can be used as login managers; and all included packages must be available in the Ubuntu repositories.
Inga kommentarer:
Skicka en kommentar