From Amarok Wiki

Contents

Kubuntu

Notes

Xorg

In case you want to use X, you need to do the following before chrooting:

  • sudo mount -t proc -o bind /proc edit/proc
  • sudo mount -t dev -o bind /dev edit/dev
  • sudo mount -o bind /etc/X11 edit/etc/X11

Internet

For web acces:
  • sudo mount -o bind /etc/resolv.conf edit/etc/resolv.conf

Username and Hostname for Live CD

Change username and hostname in:
 usr/share/initramfs-tools/scripts/casper


Login (KDE)

  • by default the cd comes without a shadow file (though it should be available to avoid problems) shadowconfig will create one, but remember to remove it before remastering (off)
  • shadowconfig on
  • creat the user with
  • adduser ubuntu
  • Now open a 2nd console and chroot it at as well - in the first console do:
  • X :1
  • this will start the X server with root permission - in the second do:
  • su ubuntu
  • export DISPLAY=:1
  • startkde
  • now KDE should start


Remastering

  • turn off shadow passwords if you turned them on
  • rm -rf /tmp/*
  • exit # so that you leaft the chroot
  • umount edit/etc/X11
  • umount edit/etc/resolv.conf
  • umount edit/dev
  • umount edit/proc
  • now just follow the remastering howto in the kubuntu wiki

To Be Removed

kubuntu-live kubuntu-desktop ubiquity ubiquity-casper ubiquity-frontend-kde ubiquity-ubuntu-artwork ubuntu-base ubuntu-standard language-pack-ar language-pack-ar-base language-pack-bn language-pack-bn-base language-pack-de language-pack-de-base language-pack-es language-pack-es-base language-pack-fr language-pack-fr-base language-pack-hi language-pack-hi-base language-pack-kde-ar language-pack-kde-ar-base language-pack-kde-bn language-pack-kde-bn-base language-pack-kde-de language-pack-kde-de-base language-pack-kde-es language-pack-kde-es-base language-pack-kde-fr language-pack-kde-fr-base language-pack-kde-hi language-pack-kde-hi-base language-pack-kde-nl language-pack-kde-nl-base language-pack-kde-zh language-pack-kde-zh-base language-pack-nl language-pack-nl-base language-pack-zh language-pack-zh-base mozilla-firefox-locale-en-gb thunderbird-locale-en-gb aspell aspell-en libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 kmplayer-base kmplayer-konq-plugins ttf-arabeyes ttf-baekmuk ttf-bengali-fonts ttf-devanagari-fonts ttf-gujarati-fonts ttf-indic-fonts ttf-kannada-fonts ttf-malayalam-fonts ttf-mgopen ttf-oriya-fonts ttf-punjabi-fonts ttf-tamil-fonts ttf-telugu-fonts ttf-thai-tlwg bluez-cups bluez-pcmcia-support bluez-utils cupsys cupsys-bsd cupsys-driver-gutenprint foo2zjs foomatic-db foomatic-db-engine foomatic-db-gutenprint foomatic-db-hpijs foomatic-filters foomatic-filters-ppds hpijs hplip hplip-data hplip-ppds ijsgutenprint libbluetooth1 libgutenprint2 min12xxw qobex myspell-en-gb myspell-en-us openoffice.org openoffice.org-base openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-help-en-us openoffice.org-impress openoffice.org-java-common openoffice.org-kde openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-us openoffice.org-l10n-en-za openoffice.org-math openoffice.org-thesaurus-en-us openoffice.org-writer python-uno akregator gwenview kaddressbook kaffeine kaffeine-xine karm kcron kdebluetooth kdegraphics-kfile-plugins kdenetwork-filesharing kdenetwork-kfile-plugins kdepim-kio-plugins kdepim-kresources kdepim-wizards kdeprint keep kghostview kmail kmailcvt knotes koffice-data koffice-libs konq-plugins kontact kooka korganizer krdc krfb krita krita-data kscd kscreensaver ksysguard ksysguardd ktorrent libkcal2b libkdepim1a libkpimexchange1 libkpimidentities1 libkscan1 libksieve0 skim speedcrunch qtparted ksystemlog wbritish wamerican w3m ttf-opensymbol ttf-lao ttf-kochi-mincho ttf-kochi-gothic ttf-gentium ttf-arphic-uming libscim8c2a scim-qtimm nano libopenobex-1.0-0 bogofilter bogofilter-bdb bogofilter-common irssi kamera java-common java-gcj-compat libhsqldb-java libservlet2.3-java kio-locate kio-apt libakode2 libarts1-akode