Preparation
You can use this Live-CD perfectly for most anything a PC can do. (surfing, playing movies or music, watching tv, writing your dissertation, solving problems with your hard drive ...)
Installation to the hard drive is much more comfortable and lots faster than running a system off CD. So, lets get going!
This How-To is specifically for Kanotix 2005-04 (for older versions refer to: https://wiki.kanotix.net/coma.php?coma="KanotixInstallEN
Before installation please remove all usb-sticks, cameras, etc...
First of all, you need to set your boot order in the Bios to CD-ROM. With most Computers you can get to the Bios-setup by pressing [del] key while booting (with some BIOS-Versions you can simply choose the boot device while booting, with AMI-BIOS, e.g., with F11 or F8).
Kanotix should boot up now in most cases. If that's not the case, you can use
Bootoptions, (Cheatcodes) which can be issued in the boot manager.
Using boot parameters (e.g. for screen resolution or language selection like lang=en-utf8 oder lang=ru-utf8 ) can save lots of time with the post-install configuration.
So, now that you are running the live-cd you can verify if all your hardware is fully recognized. The network (Internet connection) can be comfortably set up from the Kanotix menu (the "fishbutton" down to your left).
The Kanotix-Installer
The Installer is started from the "fishbutton" as well.
After reading (and understanding) the warning text we move on to choosing a partition.
Here we can accept the default choice, or (which is more likely) start the partitioner.
More experienced users may use cfdisk oder fdisk here.
Partitions
With the Partition-Manager (qtparted) hard drives are partitioned and/or formatted. The program has a graphical interface and is self-explanatory. It can also shrink or move partitions. Qtparted is not yet fully developed and labels itself as experimental, but if you move on in an orderly way, you should not encounter any problems.
Changes to ntfs-partitions should be done with a windows-tool (e.g. Partition Magic, Acronis).
ALWAYS BACK-UP YOUR DATA!
Should a partition show up as mounted, we have to close the partition -manager and unmount the device (right click on the mounted device-icon on the desktop->unmount). Should you have a swap partition, unmount it with: "sudo swapoff -a" in a Konsole. That done, we can start the partition manager again. In principle, 3 gb is more than sufficient for a hd-install, but you won't have much fun with this. A reasonable minimum install should have 5 - 8 gb. For the linux noob we suggest only 2 partitions for a start (root und swap), because this simplifies your first install quite a bit. It's better to establish an
extra partition for /home.
Advanced users can also have additional partitions for /var, /tmp, ...etc, for special reasons. Going into detail here would take us too far of our path, though. You really should have a swap partition (equivalent to the windows swapfile, but is much more effective). For normal usage, the swap partition should be up to twice your ram. As standard filesystem for linux you should use ReiserFs.
For data-exchange with a Windows installation you must use vfat (fat32). Whoever wants to use XFS for / (root) must create an extra /boot partition (ext2) or use
lilo (because grub doesnt work with xfs reliably). The installer at this point supports xfs on / only through editing the file
.knofig.
Whoever creates more than 1 partition should write their names down for later!
Having done all this, save the changes (the floppy icon) and close the partition-manager.
Here are some simple examples for different hd-sizes and different types of use, everything rounded off.
Tryout-Config - 60GB
for a pc, where windows takes quite a bit of space
Disk | Sizee | Filesystem | Mountpoint/System |
hda1 | 20GB | NTFS | WindowsXP |
hda5 | 30GB | FAT32 | Data for Win and Linux |
hda6 | 8GB | ReiserFS | / |
hda7 | 500MB | Swap | Swap |
TV & Video-PC - 200GB no Windows
for big Files (e.g. Video) XFS is best.
Disk | Size | Filesystem | Mountpoint/System |
hda1 | 8GB | ReiserFS | / |
hda5 | 6GB | ReiserFS | /home |
hda6 | 5GB | ReiserFS | /var |
hda7 | 180GB | XFS | /video |
hda8 | 500MB | Swap | Swap |
Standard-PC with Windows 120GB
to use the best from both worlds.
Disk | Size | Filesystem | Mountpoint/System |
hda1 | 20GB | NTFS | WindowsXP |
hda5 | 8GB | ReiserFS | / |
hda6 | 20GB | ReiserFS | /home |
hda7 | 70GB | FAT32 | Data exchange WindowsXP-Linux |
hda8 | 500MB | Swap | Swap |
Linux Gaming- and MediaPC 160GB
Disk | Size | Filesystem | Mountpoint/System |
hda1 | 18GB | ReiserFS | / |
hda5 | 20GB | ReiserFS | /home |
hda6 | 30GB | ReiserFS | /opt |
hda7 | 90GB | ReiserFS | /data |
hda8 | 2GB | ReiserFS | /var |
hda9 | 500MB | Swap | Swap |
Linux and Windows on 20 GB
Disk | Size | Filesystem | Mountpoint/System |
hda1 | 5GB | NTFS | Win-System |
hda2 | 10GB | FAT32 | Windows-Programs and Data for Windows and Linux |
|
hda5 | 5GB | ReiserFS | / |
hda6 | 500MB | Swap | Swap |
This allocation is advisble when there's little space on the harddisk (e.g. on a Laptop). Windows is installed on a separate 3-5 GB sized partition with nothing else on it. All programs and files are on the second bigger partition. Whoever has more disk space can make this partition bigger or divide windows-programs and data into 2 partitions.
For Kanotix without any special multimedia-applications or games 5 GB is sufficient, for data you have the fat32-partition. There are many ways to partion your harddrive. These examples should be enough for a start.
It makes sense to add a second hard drive to enhance performance, comfort and security. In that case windows always goes on the first harddisk!
Installation
Now we choose where the installation is supposed to go to and we establish the mount points. Partitions for which we establish no mount point are mounted by the installer below /media, e.g. as /media/hdb1.
As boot manager we install Grub to MBR! If you make a different choice here, you should know what you are doing. Grub recognizes other installed OS's (e.g. Windows) and adds them to the boot menu.
On we go with user, his/her password and the root-password (remember those!). Please don't choose too easily-guessed passwords.
Whoever wants to add other users can do so after installation with the KDE-Tool (kuser).
Now we finish the configuration.
Nothing has been changed on your hd so far, and you could just save the configuration for later if desired.
The other menu-items are for experienced linux-users, who want to write their special changes to the config-file (~/.knofig) or have a special partioning scheme on their hard drive that would be rejected by the automatic check of the installer.
This query is the last chance to check the adjustments you made.
Read through it again carefully!
The whole process takes, depending on your system, from 5 -60 min. (with special bootoptions it can be even faster).
If the progress bar hangs in one place for a while, don't abort, just give it some time.
Reboot. Take the CD out of the tray. Finished.
First Bootup
After booting up for the first time Kanotix has forgotten its netcardconfig. So you have to reconfigure your network (Wlan, Modem, ISDN,...).
Whoever previously had his networkadress automatically (DHCP) by using a DSL-Router must call #netcardconfig now.
The appropriate tools are still to be found in the menu Kanotix-Network.
And now tons of fun with your new system. Welcome to Kanotix!
Thx to Hamstaman