Remastersys: Membuat Ubuntu LiveCD

From OnnoWiki
Jump to navigation Jump to search

Sumber: http://www.ubuntugeek.com/creating-custom-ubuntu-live-cd-with-remastersys.html

Remastersys adalah tool yang dapat digunakan untuk 2 hal dengan Klikit atau ubuntu atau turunannya, yaitu,

  • Membuat full backup termasuk personal data untuk livecd / dvd yang dapat kita bawa kemana saja atau di install.
  • Membuat copy yang dapat di share dengan teman, yang tidak ada data personal di dalamnya.


Install Remastersys di Ubuntu

Kita perlu mengedit repository

sudo vi /etc/apt/sources.list

Tambahkan info berikut di file sources.list:

# Remastersys
deb http://www.remastersys.klikit-linux.com/repository remastersys/

Save dan keluar.

Update source list menggunakan perintah berikut

sudo apt-get update

Install remastersys menggunakan perintah berikut

sudo apt-get install remastersys

Selesai sudah proses instalasi remastersys

Penggunaan Remastersys

Untuk menjalankan remastersys dapat dilakukan menggunakan perintah

sudo remastersys

Sintaks Remastersys

sudo remastersys backup|clean|dist [cdfs|iso] [filename.iso]

Contoh aplikasi remastersys

  • Membuat backup livecd/dvd dari system yang kita miliki
sudo remastersys backup
  • Membuat backup livecd/dvd dan menamakannya custom.iso
sudo remastersys backup custom.iso
  • Membersihkan temporary file remastersys
sudo remastersys clean

4) to make a distributable livecd/dvd of your system

sudo remastersys dist

5) to make a distributable livecd/dvd filesystem only

sudo remastersys dist cdfs

6) to make a distributable iso named custom.iso but only if the cdfs is already present

sudo remastersys dist iso custom.iso

cdfs and iso options should only be used if you wish to modify something on the cd before the iso is created. An example of this would be to modify the isolinux portion of the livecd/dvd

Membuat Image ISO

To create an iso image of your installation, simply run

sudo remastersys dist

This will create an iso image called customdist.iso in the /home/remastersys directory. The dist option makes that your personal folder (e.g. /home/ruchi) will not be included in the iso image. You might have to insert your Ubuntu installation CD during the process.

This is how the end of the process looks:

[...]
92.16% done, estimate finish Wed DEC 28 15:31:25 2007
93.39% done, estimate finish Wed DEC 28 15:31:25 2007
94.62% done, estimate finish Wed DEC 28 15:31:24 2007
95.85% done, estimate finish Wed DEC 28 15:31:24 2007
97.08% done, estimate finish Wed DEC 28 15:31:25 2007
98.31% done, estimate finish Wed DEC 28 15:31:25 2007
99.54% done, estimate finish Wed DEC 28 15:31:25 2007
Total translation table size: 2048
Total rockridge attributes bytes: 3950
Total directory bytes: 9094
Path table size(bytes): 54
Max brk space used 0
406890 extents written (794 MB)

/home/remastersys/customdist.iso is ready to be burned or tested in a virtual machine.

Check the size and if it is larger than 700MB you will need to burn it to a dvd

796M /home/remastersys/customdist.iso

Membersihkan

Sesudah kita mem "bakar" iso image ke CD/DVD, kita dapat menjalankan

sudo remastersys clean

untuk membuang semua file temporary yang dibuat saat membuat iso termasuk directory /home/remastersys

Referensi

Pranala Menarik