Difference between revisions of "Membuat Distro Sendiri Secara Manual"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 37: | Line 37: | ||
# mkdir squashfs | # mkdir squashfs | ||
− | # mount -t squashfs -o loop mnt/casper/filesystem.squashfs squashfs | + | # mount -t squashfs -o loop /mnt/cdrom/casper/filesystem.squashfs squashfs |
+ | |||
+ | Extract isi folder squashfs ke folder edit | ||
+ | |||
+ | # mkdir edit | ||
+ | # cp -a squashfs/* edit/ | ||
+ | |||
+ | |||
+ | ==Persiapan dan Menggunakan chroot== | ||
+ | |||
+ | $ sudo cp /etc/resolv.conf edit/etc/ | ||
+ | $ sudo cp /etc/hosts edit/etc/ | ||
+ | $ sudo chroot edit | ||
+ | $ mount -t proc none /proc | ||
+ | $ mount -t sysfs none /sys | ||
+ | $ export HOME=/root | ||
+ | $ export LC_ALL=C | ||
+ | $ exit | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 43: | Line 64: | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
+ | * http://surabaya.linux.or.id/archives/2008/03/02/hacking-livecd-ubuntu.html | ||
* [[Remastering Ubuntu]] | * [[Remastering Ubuntu]] | ||
* [[Linux Howto]] | * [[Linux Howto]] |
Revision as of 09:48, 8 July 2009
Di sini akan di jelaskan teknik membuat LiveCD berbasis Ubuntu. Anda dapat menambah, mengurangi paket program sehingga LiveCD tersebut lebih cocok untuk anda.
Kebutuhan Sistem Pendukung
- Harddisk kosong sebesar 3 – 5 GB (semakin besar ruang kosong, semakin dianjurkan)
- Memori 512MB dan swap 1 GB (semakin besar memori, semakin dianjurkan)
- Paket pendukung squashfs-tools, dchroot dan mkisofs
- Program Virtualisasi semacam Qemu, VirtualBox, VM Ware dan lainya
- Berkas ISO Ubuntu Live CD Desktop
Persiapan
Instalasi paket pendukung
$ sudo su - # apt-get install squashfs-tools dchroot mkisofs qemu
Load module squashfs
# modprobe squashfs
Bisa dilihat apakah sudah terload dengan baik menggunakan perintah
# lsmod
Copy CD Ubuntu LiveCD Desktop Referensi
# mkdir /mnt/cdrom # mount -o loop ubuntu-9.04-desktop-i386.iso /mnt/cdrom/ # mkdir extract-cd # rsync --exclude=/casper/filesystem.squashfs -a /mnt/cdrom/ extract-cd
Ekstrak Sistem Desktop
# mkdir squashfs # mount -t squashfs -o loop /mnt/cdrom/casper/filesystem.squashfs squashfs
Extract isi folder squashfs ke folder edit
# mkdir edit # cp -a squashfs/* edit/
Persiapan dan Menggunakan chroot
$ sudo cp /etc/resolv.conf edit/etc/ $ sudo cp /etc/hosts edit/etc/ $ sudo chroot edit $ mount -t proc none /proc $ mount -t sysfs none /sys $ export HOME=/root $ export LC_ALL=C $ exit