Knoppix was originally intended to run just from the CD, but early on, users wanted to transfer the system to their hard drives once they discovered how well the CD recognized and worked with their computer. At first, this involved a complicated set of commands run from a shell to copy the CD to the hard drive and set up a boot loader. Eventually, this method was automated with a script that was created by Fabian Franz (http://www.fabian-franz.de) and was recently updated by Martin Oehler for the 5.0 release.
The latest version of the hard-drive installer is pretty sophisticated and does much more than just copy the CD to the hard drive. Start the installer from the terminal by using:
knoppix@ttyp0[knoppix]$ sudo knoppix-installer
The knoppix-installer script works both in a pure console environment and in X. If you run it from the console, navigate through the options with your keyboard, and hit the spacebar to select options and Enter to confirm them. If you run the script from X, you have a GUI that you can navigate with either a keyboard or a mouse.
Before you even get to the main menu, the installer checks to see that some minimum requirements are met. The first check is for the presence of any Linux partitions (including partitions containing other distributions) that contain enough space to store all of the uncompressed files on the disk plus 18% for overhead. For the CD, this means around 2.4 Gb, and for the DVD, you need around 13 GB. For systems with less than 512 MB of RAM, it also checks for a swap partition of at least 128 MB. If either of these conditions is not met, the installer presents you with the following informational warning and the option to partition the hard disk or quit:
The installer detected that the installation requirements are not
Please make sure that you have a free partition with at least 2GB to
Also we need a swap partition with at least 128MB if you don't have
If you really really know what you are doing start with: IGNORE_CHECK=1 sudo
You intend to install Knoppix, so the only choice is to select the Partition option. In X, qtparted runs, a graphical partitioning program, somewhat similar to Partition Magic, which you can use to create, delete, and resize partitions on your system. If you run the installer from the console, cfdisk launches instead. In either case, the goal is to create partitions to satisfy the installer requirements. Once you finish and close qtparted or cfdisk, the installer checks again for partitions it can use; if it finds them, the main installer menu appears (see Figure 4-1).
The main menu presents you with six options:
Loads a configuration you have created beforehand from the home directory, floppies, USB drives, or any mountable storage device; this can be useful if you want to clone installations across multiple machines.
If you are ready to install Knoppix and are familiar with the configuration options, or you have already configured the installer a previous time (if you configure and then exit the installer, Knoppix remembers the settings that you have chosen), skip right ahead and select Start Installation. If you are new to installing Knoppix on your hard drive, you should probably select Configure Installation so you can see what kind of questions the installer asks before you commit to an install. When you choose Configure Installation, you are presented with a window that asks you to choose from one of the three types of systems:
Once you choose a system type, the installer shows you a list of potential partitions on which it can install. If you don’t want to install on any of these partitions, click Previous until you can choose the Partition option, and then create a new partition.
Once you select a partition, Knoppix asks for personal information, such as your name, your username, your user and root password, and where you want to install the boot loader. You won’t necessarily be asked all of these questions. It depends on the system type that you have chosen (for instance, the Knoppix system type uses the knoppix user just like the CD, so it won’t ask you for a username). Once you answer all the questions, the configuration is complete and Knoppix drops back to the main menu, and allows you to start the installation with the options you have just configured, or to save the options so you can use them later.
Once you are satisfied with your configuration, click “Start Installation.” A report appears and displays the different options that Knoppix can use for the install with a final prompt before proceeding. Once you click Next, Knoppix begins the install process, so be certain everything is configured how you want it.
Now Knoppix formats the partition you chose and starts copying files to it. It does take some time to copy all of the files from the disk to the hard drive (especially with a DVD install), but unlike most other OS installers, you have a full set of applications you can use while the files are copying. Once all the files are copied, you have the option to create a boot floppy for rescue purposes in case the boot loader didn’t install properly (or you accidentally delete or break the boot loader later). After the installer is finished, continue to use Knoppix from the disk or reboot into your newly installed Knoppix system. Remember to remove the disk when you reboot, and if everything goes well, you should see a new boot logo.
blog comments powered by Disqus