UCK: Remaster Minimal Ubuntu

From OnnoWiki
Jump to navigation Jump to search

Sumber: http://serverfault.com/questions/334078/how-to-make-my-very-own-ubuntu-minimal-install

// check the dependencies of that package to find out what other 
// flavors you could use.
apt-get --with-install-recommends install ubiquity-frontend-kde
// get a util to help with creating the image
sudo apt-get install uck
// clean any previous stuff
sudo uck-remaster-clean
// unpack the iso
sudo uck-remaster-unpack-iso /mnt/iso/ubuntu-mini-remix-12.10-i386.iso
// unpack the root fs
sudo uck-remaster-unpack-rootfs
// change focus to the root fs
sudo uck-remaster-chroot-rootfs
 // make repositories available (uncomment all universe and multiverse entries)
 nano /etc/apt/sources.list
 // update apt
 apt-get update
 // disable automatic suggestions (--with-install-recommends can temporary enable them)
 nano /etc/apt/apt.conf
 //-- contents
 APT::Install-Recommends "false";
 APT::Install-Suggests "false";
 //--
 // install kde desktop
 apt-get install plasma-desktop
 // install ltsp client and kubuntu theme for ldm
 apt-get install ltsp-client ldm-kubuntu-theme
 // install basic applications
 apt-get install dolphin kdesdk-dolphin-plugins kdepasswd kfind konsole kwrite kompare plasma-widget-folderview
 // install browser
 apt-get install chromium-browser
 // install package manager
 apt-get install muon muon-updater muon-notifier
 // add an installer
 apt-get --with-install-recommends install ubiquity-frontend-kde
 // remove any leftovers of installed and then uninstalled packages (should not do anything)
 apt-get autoremove
 // clean the cache
 apt-get clean


// pack the root fs
sudo uck-remaster-pack-rootfs
// create an iso
sudo uck-remaster-pack-iso ubuntu-mini-kde-12.10-i386.iso
//copy the iso
cp ~/tmp/remaster-new-files/ubuntu-mini-kde-12.10-i386.iso /mnt/iso/



Referensi