Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:handbook:installation [2012/04/09 08:39] lineaen:handbook:installation [2015/04/16 14:22] (current) – multi rootfs bellard
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.
 
en/handbook/installation.1333960752.txt.gz · Last modified: by linea