Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:handbook:installation [2012/04/09 01:24] linea |
en:handbook:installation [2015/04/16 16:22] bellard multi rootfs |
||
---|---|---|---|
Line 54: | Line 54: | ||
=== Boot-Loader (GRUB) === | === Boot-Loader (GRUB) === | ||
- | With the next step you have the option to install the GRUB boot-loader. GRUB is capable of booting almost any kind of operating system and can be configured through a human-readable text file; changes to this file are instant and do not require any additional commands to take effect. | + | With the next step you have the option to install the GRUB boot-loader and enable a Windows dual-boot. GRUB is capable of booting almost any kind of operating system and can be configured through a human-readable text file; changes to this file are instant and do not require any additional commands to take effect. |
If you want to use an existing GRUB installation, skip this step and add the correct lines to your GRUB configuration file (menu.lst); [[installation#grub-boot-loader | see below]] for more information. Note that the SliTaz Installer creates a configuration file on the target which can be used as an example (///mnt/target/boot/grub/menu.lst//). | If you want to use an existing GRUB installation, skip this step and add the correct lines to your GRUB configuration file (menu.lst); [[installation#grub-boot-loader | see below]] for more information. Note that the SliTaz Installer creates a configuration file on the target which can be used as an example (///mnt/target/boot/grub/menu.lst//). | ||
Line 97: | Line 97: | ||
<code> # cp /media/cdrom/boot/rootfs.gz /mnt/target </code> | <code> # cp /media/cdrom/boot/rootfs.gz /mnt/target </code> | ||
+ | <note> | ||
+ | Since SliTaz 4.0, multiple rootfs should be copied. | ||
+ | <code> # cp /media/cdrom/boot/rootfs* /mnt/target </code> | ||
+ | You can also copy rootfs4.gz only to get minimum the text mode installation | ||
+ | </note> | ||
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 102: | Line 107: | ||
<code> | <code> | ||
# cd /mnt/target | # cd /mnt/target | ||
- | # lzma d rootfs.gz -so | cpio -id | + | # unlzma < rootfs.gz | cpio -id |
# rm rootfs.gz init | # rm rootfs.gz init | ||
</code> | </code> | ||
+ | <note> | ||
+ | For SliTaz 4.0 and newer: | ||
+ | <code> | ||
+ | # 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 | ||
+ | </code> | ||
+ | </note> | ||
That's it; SliTaz is installed! Before rebooting to start your new SliTaz GNU/Linux installation, please check that you have a boot-loader (GRUB or Lilo) installed and add the necessary lines (see below) to boot SliTaz. | That's it; SliTaz is installed! Before rebooting to start your new SliTaz GNU/Linux installation, please check that you have a boot-loader (GRUB or Lilo) installed and add the necessary lines (see below) to boot SliTaz. |