Knoppix Terminal Server


From Knoppix Documentation Wiki
Revision as of 10:31, 14 March 2016 by WPSchulz (Talk | contribs)

Jump to: navigation, search

Under construction. Please wait some days.

Terminal Server install

If you have a computer, who cannot boot from DVD or USB but over network, you can use the Terminal Server install (in former days known as PXE install). This computer will be your TS client. You need another computer connected to your LAN or WLAN as the TS host.

Boot Knoppix on your TS host and select "Knoppix => Start KNOPPIX Terminal Server". When you get the question "Please enter the desired IP-Range ..", you have to change the values to the IP range of your router. For me the values are "192.168.17.10 192.168.17.30". Important: deactivate the option "secure Disable root access on client(s)"!

Now boot your TS client with the BIOS option "over network". When you can see the Knoppix screen go on with [Enter]. At the end of the startup you are within the TS client, but get the OS from TS host. To see the partitions of the TS client use "lsblk" in a terminal. In my example '/dev/sda4' is a free partition and ext4 formatted.

Do the installation

su
mount /media/sda4
rsync -av --progress /mnt-system/KNOPPIX /media/sda4
cd /mnt-system/boot/syslinux/
cp linux linux64 minirt.gz /media/sda4/KNOPPIX/

Important note: "/dev/sda4" is only as an example; use your own value! Take care of '/KNOPPIX' with or without "/" at the end.

Make the installation bootable

To be able to boot the "Terminal Server installarion" on the TS client we need an entry within GRUB of the standard OS on this computer. In my example it is Debian on '/dev/sda1'. Mount your partition with your standard OS.

If you are using GRUB legacy as bootloader append within '/boot/grub/menu.lst'

title KNOPPIX PMI
kernel (hd0,3)/KNOPPIX/linux fromhd=/dev/sda4 (.. other boot-parameter ..)
initrd (hd0,3)/KNOPPIX/minirt.gz

title KNOPPIX 64 PMI
kernel (hd0,3)/KNOPPIX/linux64 fromhd=/dev/sda4 (.. other boot-parameter ..)
initrd (hd0,3)/KNOPPIX/minirt.gz

Important note: In this example Knoppix has been installed to 1st device in the 4th partition (hd0,3). "(hd0,0)" means 1st device and 1st partition with GRUB legacy.

If you are using GRUB2 as bootloader append within '/etc/grub.d/40_custom'

menuentry "Knoppix PMI" {
set root='(hd1,1)'
linux /KNOPPIX/linux (.. other boot-parameter ..)
initrd /KNOPPIX/minirt.gz
}

menuentry "Knoppix 64 PMI" {
set root='(hd1,1)'
linux /KNOPPIX/linux64 (.. other boot-parameter ..)
initrd /KNOPPIX/minirt.gz
}

Don't forget "update-grub"!

Important note: In this example Knoppix has been installed to 2nd device in the 1st partition (hd1,1). "(hd0,1)" means 1st device and 1st partition with GRUB 2.

Instead of (.. other boot-parameter ..) use the parameters as you need or as you can see in the "APPEND"-lines of '/mnt-system/boot/isolinux/isolinux.cfg' from Knoppix DVD - but without the parameter "initrd=minirt.gz".