Q and A



Q. I want to copy files between knoppix/math and the host operating system.


Q. Upgrading the free version to the non-free version

Edit /etc/apt/sources.list so that you can access to the nearest debian package repository.
Become the root (administrator) by the "su" command and execute the following commands. Network installers for some software systems such as Kant/kash and Risa/Asir are installed in the free version. If you try to start these software systems, it will be downloaded after you agree with licenses.
su    (become the super user)

cp /etc/apt/sources.list.non-free /etc/apt/sources.list 

apt-get update
apt-get install cmap-adobe-japan1
apt-get install cmap-adobe-japan2
apt-get install xpdf-japanese          (To view Japanese PDF files)
apt-get install sun-java5-jre          (To execute Java applications)
apt-get install sun-java5-fonts
apt-get install sun-java5-bin
apt-get install sun-java5-plugin

rm /etc/alternatives/java
ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0-sun-1.5.0.14/bin/java /etc/alternatives


apt-get install latex2html
apt-get install lha
apt-get install povray
apt-get install povray-doc
apt-get install povray-includes
apt-get install povray-examples
apt-get install scilab
apt-get install scilab-bin
apt-get install scilab-doc

exit  (exit root)
kash3
kash2
openxm asir-port.sh
cocoa


Notes for advanced users


*knoppix.img and persistent home

knoppix/math 2008 has been developed based on
 KNOPPIX_V5.1.1CD-2007-01-04-EN.iso
 knoppix_v5.1.1DVD_20070104-20070122+IPAFont_AC20070123.iso

There are several troubles on the persistent home system on
the version 5.1.1.
1. "pump" refuses the umount operation, 
   then "fsck" always happens during the next boot. 
2. Because of the aufs-tools (the plink option does not seem to work properly),
   the IO dead state (D+) happens when one writes under /var (e.g., apt-get).
3. (Only Japanese edition) knoppix.img on usb devices may not be found
  on virtual machines.  It is because of the acceleration.

Knoppix/Math 2008  DVD version
(knoppix_v5.1.1-math-dvd-20080218-2-ac.iso 
 is non-free and you cannot get it from the internet)
was pressed without fixing the troubles 2 and 3.
The trouble 2 can be solved by remounting with the noplink option.
Copy

knoppix.sh  to knoppix.img, then the trouble 2 will not happen
in most cases.

Example:
Suppose that knoppix.img is under /dev/sda1.
su 
chmod 755 knoppix.sh
mount /dev/sda1 /mnt
cp knoppix.sh /mnt
umount /mnt
There is no workaround for the trouble 3. These troubles are fixed in knxm2008-kobe.iso in the VMware/knoppix/math 2008 DVD distribution. Note: we kill pump before the shutdown. If you are using a nfs volume, you need to umount the nfs volume by hand.

* Upgrading libc by apt-get.

If you get the following message
"Another copy of the C library was found.
 It is not safe to upgrade .... "
then, comment out all the lines in /etc/ld.so.conf
(add # at the top of the lines) and do apt-get again.
There is a risk of that you cannot boot again when you upgrade the libc.  
Please backup your data before you upgrade the libc.




日本語版