PDA

View Full Version : after remastering shells don't work



oded
07-27-2004, 02:25 PM
hi,

I have the following remastering problem:
I remaster using the info on the remastering how-to.
all i change from the orginal knoppix is remove a few packages like mozilla, and open office. the iso is being created without errors.
I burn the iso and boot it and kde starts ok, but shell windows don't open correctly: any shell i run ( bash, sh etc ) open the terminal window, but u can't write anything, there is just the white caret at the corner without user-name or anything else :cry: .
however, if I run with knoppix 2 and then enter startx, than kde starts fine and I can open a shell without problems.

below are the commands I use to remaster,
Thanks, Oded.

mount -o rw /mnt/hda1
mkdir /mnt/hda1/knx
mkswap /dev/hda2
mkdir /mnt/hda1/knx/master
mkdir /mnt/hda1/knx/source
mkdir /mnt/hda1/knx/source/KNOPPIX
cp -Rp /KNOPPIX/* /mnt/hda1/knx/source/KNOPPIX
mkdir /mnt/hda1/knx/master/KNOPPIX
cp /cdrom/index.html /mnt/hda1/knx/master/
cd /cdrom;find . -size -10000k -type f -exec cp -p --parents {} /mnt/hda1/knx/master/ \;
mount --bind /dev /mnt/hda1/knx/source/KNOPPIX/dev
chroot /mnt/hda1/knx/source/KNOPPIX

apt-get remove openoffice-de-en
apt-get remove emacs21-common
apt-get remove mozilla-browser
apt-get remove libwine
apt-get remove gimp-data
apt-get remove kde-i18n-fr
apt-get remove kde-i18n-de
apt-get remove kde-i18n-da
deborphan | xargs apt-get -y remove
COLUMNS=200 dpkg -l |grep ^rc |awk '{print $2} ' | xargs dpkg -P
apt-get clean
rm -f /etc/sysconfig/* /etc/sysconfig/network-scripts/* /etc/X11/XF86Config /etc/X11/XF86Config-4 /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*

rm -rf /KNOPPIX
ldconfig
updatedb
depmod -a

crl-d to get out of chroot

rm -rf /mnt/hda1/knx/source/KNOPPIX/.rr_moved

mkisofs -R -U -V "KNOPPIX.net filesystem" -P "KNOPPIX www.knoppix.net" -hide-rr-moved -cache-inodes -no-bak -pad /mnt/hda1/knx/source/KNOPPIX | nice -5 /usr/bin/create_compressed_fs - 65536 > /mnt/hda1/knx/master/KNOPPIX/KNOPPIX

cd /mnt/hda1/knx/master

rm -f KNOPPIX/md5sums; find -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; >> KNOPPIX/md5sums

cd /mnt/hda1/knx/master
mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o /mnt/hda1/knx/knoppix.iso /mnt/hda1/knx/master