Harddisk installation mini HOWTO

Submitted by jengelh on Tue, 01/08/2006 - 15:21.

A harddisk installation of Instant-Grid is possible by using the installation script from Knoppix. Essentially, the following steps are necessary:

  • Creating an empty partition to which the system is to be installed. At the time of writing (IG v0.2), at least 1.8 GB are required. For partitioning, the linux tool fdisk is recommended. Caution: Only partition your harddisk if you exactly know what you are doing!
  • Create a swap partition unless there is already one. The size of physical RAM and swap combined should be dependent on your workload requirements. It is recommended that the minimum swap size be 256 MB.
  • Start a root shell. In Fluxbox, right-click and choose Knoppix->Rootshell. In ICEWM, right-click and choose Programs->Knoppix->Rootshell.
  • Start the installation program `knx2hd
  • Configure the installation. As installation type choose "Knoppix system from CD"
  • As destination path enter the name of the free partition (e.g. /dev/sda5)
  • Define destination for the GRUB bootloader
  • Choose item 2 of the script: "Start installation"
  • It is now possible to create a boot disk if desired
  • After the installation script has finished, the compressed image must still be copied to disk:
    • mounting the installation partition using `mount /dev/PART /mnt/PART`,
      for example `mount /dev/sda5 /mnt/sda5`)
    • copying the image using `cp -a /cdrom /mnt/PART/`, e.g. `cp -a /cdrom /mnt/sda5/`.

It is recommended to use GRUB and write it to the master boot record
(MBR) of the disk. After the script has finished, the Instant-Grid CD is
available uncompressed on disk.

Note: The clients boot the image that was just copied in the last step. Settings that have been changed in the uncompressed version on-disk have no effect on the clients.

Known bugs:

  • Due to a bug in Knoppix version 4.0.2, the installation script generates a corrupt bootloader entry. It is therefore necessary to substitute the string "### isk_size" by "ramdisk_size" in /boot/grub/menu.lst before
    booting for the first time.
  • The name "localhost" is not defined. Instead, please use or
    the hostname "server".
  • Lock files are stored on disk, which is why some programs won't start. This is the case with Firefox for example.