Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:handbook:installation [2010/07/08 15:14] – external edit 127.0.0.1 | en:handbook:installation [2015/04/16 14:22] (current) – multi rootfs bellard | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This document gives information and necessary instructions on how to install SliTaz on a hard disk. This should take about 10 minutes, SliTaz core LiveCD expands to 80 Mb, so we suggest a minimum of 120 Mb of free space. This way you will be able to install a few more packages. If you can use the LiveCD, you should be able to install SliTaz. | + | This document gives information and necessary instructions on how to install SliTaz on a hard disk. This should take about 10 minutes, SliTaz core LiveCD expands to 80 MB, so we suggest a minimum of 120 MB of free space. This way you will be able to install a few more packages. If you can use the LiveCD, you should be able to install SliTaz. |
| + | You may also do a [[http:// | ||
| ===== SliTaz Installer ===== | ===== SliTaz Installer ===== | ||
| - | SliTaz provides a simple to use Installer which can be launched from the " | + | SliTaz provides a simple to use Installer which can be launched from the menu on Tazpanel. SliTaz Installer messages are in English and can be used with these complimentary instructions. |
| === Install Type === | === Install Type === | ||
| Line 16: | Line 17: | ||
| < | < | ||
| + | |||
| + | === Source media === | ||
| + | |||
| + | Here you can choose the type of media to install SliTaz from. Either from a LiveCD, LiveUSB, a downloaded ISO file or directly from the web. | ||
| === Target Partition === | === Target Partition === | ||
| - | The second step is the partition configuration. You will need to have a partition ready; the installer does not set-up your disk for you. If you already have a free partition you can use it; if not you will have to create one graphically using GParted, or from the command line using fdisk. | + | Next is the partition configuration. You will need to have a partition ready; the installer does not set-up your disk for you. If you already have a free partition you can use it; if not you will have to create one graphically using GParted, or from the command line using fdisk. |
| For example, if you want to install SliTaz on the second partition of the first disk recognized as hda: | For example, if you want to install SliTaz on the second partition of the first disk recognized as hda: | ||
| - | <code> /dev/hda2 </code> | + | <file> /dev/hda2 </file> |
| === Formatting === | === Formatting === | ||
| Line 29: | Line 34: | ||
| <note warning> Formatting a partition **permanently** removes all data from it. Be sure you choose your intended partition carefully as //this action is irreversible// | <note warning> Formatting a partition **permanently** removes all data from it. Be sure you choose your intended partition carefully as //this action is irreversible// | ||
| - | The next step lets you format the target partition | + | The next step lets you format the target partition. Ext3 is a robust, stable and journalled file-system. If the partition is already formatted you can skip this step, if not just accept. |
| + | |||
| + | === Home partition === | ||
| + | |||
| + | A separate home partition can be created and also formatted. | ||
| === Hostname === | === Hostname === | ||
| Hostname configuration lets you set the machine name. The hostname is used internally and to identify the computer on a network. This can be changed after the system is installed. It cannot be longer than 64 characters and can only contain letters, numbers, and dashes. | Hostname configuration lets you set the machine name. The hostname is used internally and to identify the computer on a network. This can be changed after the system is installed. It cannot be longer than 64 characters and can only contain letters, numbers, and dashes. | ||
| + | |||
| + | === Root === | ||
| + | |||
| + | The root password can be configured here. | ||
| + | |||
| + | === User === | ||
| + | |||
| + | This allows you to configure a user name and password. | ||
| === Boot-Loader (GRUB) === | === Boot-Loader (GRUB) === | ||
| - | When the installation process is finished | + | With the next step you have the option to install the GRUB boot-loader |
| If you want to use an existing GRUB installation, | If you want to use an existing GRUB installation, | ||
| Line 43: | Line 60: | ||
| === Finishing the Installation === | === Finishing the Installation === | ||
| - | When the Installer has finally done its job you have the option to exit or directly reboot your new SliTaz GNU/Linux operating system. First boot is like the LiveCD, you will be prompted for locale, keyboard, sound card and screen selection. Future reboots will not prompt you anymore for configuration details, but all the values can be changed either manually or with the project tools such as // | + | When the Installer has finally done its job you have the option to exit or directly reboot your new SliTaz GNU/Linux operating system. First boot is like the LiveCD, you will be prompted for options. Future reboots will not prompt you anymore for configuration details, but all the values can be changed either manually or with the project tools such as // |
| ===== Manual ('By Hand') Installation ===== | ===== Manual ('By Hand') Installation ===== | ||
| Line 80: | Line 97: | ||
| < | < | ||
| + | < | ||
| + | Since SliTaz 4.0, multiple rootfs should be copied. | ||
| + | < | ||
| + | You can also copy rootfs4.gz only to get minimum the text mode installation | ||
| + | </ | ||
| Now the necessary files are present, change (//cd//) to the target directory and decompress the file-system. This is done with the //lzma// and //cpio// utilities: | Now the necessary files are present, change (//cd//) to the target directory and decompress the file-system. This is done with the //lzma// and //cpio// utilities: | ||
| Line 85: | Line 107: | ||
| < | < | ||
| # cd /mnt/target | # cd /mnt/target | ||
| - | # | + | # |
| # rm rootfs.gz init | # rm rootfs.gz init | ||
| </ | </ | ||
| + | < | ||
| + | For SliTaz 4.0 and newer: | ||
| + | < | ||
| + | # cd /mnt/target | ||
| + | # unlzma < rootfs4.gz | cpio -id | ||
| + | # unlzma < rootfs3.gz | cpio -id | ||
| + | # unlzma < rootfs2.gz | cpio -id | ||
| + | # unlzma < rootfs1.gz | cpio -id | ||
| + | # rm rootfs* init | ||
| + | </ | ||
| + | </ | ||
| That's it; SliTaz is installed! Before rebooting to start your new SliTaz GNU/Linux installation, | That's it; SliTaz is installed! Before rebooting to start your new SliTaz GNU/Linux installation, | ||
| Line 105: | Line 138: | ||
| < | < | ||
| - | === A Example / | + | === Example / |
| - | <code> | + | <file> |
| title SliTaz GNU/Linux 3.0 (Kernel 2.6.34-slitaz) | title SliTaz GNU/Linux 3.0 (Kernel 2.6.34-slitaz) | ||
| | | ||
| | | ||
| - | </code> | + | </file> |
| - | Verify | + | Verify |
| < | < | ||
| Line 125: | Line 158: | ||
| A common query asked on the [[http:// | A common query asked on the [[http:// | ||
| - | <code> | + | <file> |
| title | title | ||
| rootnoverify (hd0,0) | rootnoverify (hd0,0) | ||
| chainloader +1 | chainloader +1 | ||
| - | </code> | + | </file> |
| In this example, the Windows installation resides on the first hard disk (hd0) and the first partition (the second 0) within it. This may need modification to reflect individual cases. If it were the other way around and SliTaz proceeded Windows for instance, the line would read: | In this example, the Windows installation resides on the first hard disk (hd0) and the first partition (the second 0) within it. This may need modification to reflect individual cases. If it were the other way around and SliTaz proceeded Windows for instance, the line would read: | ||
| - | <code> | + | <file> |
| Most operating systems will either contain a boot-loader of their own (in the case of Windows and *BSD) or can be booted directly with GRUB. | Most operating systems will either contain a boot-loader of their own (in the case of Windows and *BSD) or can be booted directly with GRUB. | ||
| - | ===== Installing SliTaz on a USB Device ===== | + | ===== Installing SliTaz on an USB Device ===== |
| If you want to install SliTaz on an USB device, you must give a little " | If you want to install SliTaz on an USB device, you must give a little " | ||
| Line 143: | Line 176: | ||
| To include this option, edit your menu.lst to include the argument | To include this option, edit your menu.lst to include the argument | ||
| : | : | ||
| - | <code> | + | <file> |
| title SliTaz GNU/Linux 3.0 (Kernel 2.6.34-slitaz) | title SliTaz GNU/Linux 3.0 (Kernel 2.6.34-slitaz) | ||
| | | ||
| | | ||
| - | </code> | + | </file> |
| + | |||
| + | ===== Sharing a partition ===== | ||
| + | It is not always necessary to format a partition. | ||
| + | You can share a partition with another OS and install SliTaz into a | ||
| + | [[http:// | ||