SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guides:uncommoninst [2011/09/08 16:59]
bellard [Root filesystem files installation]
en:guides:uncommoninst [2015/06/21 14:28] (current)
linea tiny edit
Line 5: Line 5:
 The following configurations are using the SliTaz 4.0 boot loader **grub4dos-linux**. The following configurations are using the SliTaz 4.0 boot loader **grub4dos-linux**.
  
-Most kernel command line arguments are processed by [[http://​hg.slitaz.org/​wok/file/tip/​busybox/​stuff/​init|/​init]].+Most kernel command line arguments are processed by [[http://​hg.slitaz.org/​slitaz-boot-scripts/​file/​tip/​init|/​init]] during the [[/​en:​guides:​bootguide|boot process]].
 ===== Frugal install ===== ===== Frugal install =====
  
Line 51: Line 51:
 ==== Prepare a floppy set ==== ==== Prepare a floppy set ====
  
-Get a floppy set from http://​mirror.slitaz.org/​floppies/​. The base subset should be sufficient (floppies).+Get a floppy set from http://​mirror.slitaz.org/​floppies/​. The base subset should be sufficient (floppies).
 <note tip>Your may use one floppy only with [[http://​pizza.slitaz.org/​tiny/​|tiny slitaz]] <note tip>Your may use one floppy only with [[http://​pizza.slitaz.org/​tiny/​|tiny slitaz]]
 for a manual install (without the slitaz-installer)</​note>​ for a manual install (without the slitaz-installer)</​note>​
Line 71: Line 71:
 # cat fdiso* | cpio -i # cat fdiso* | cpio -i
 # rm fdiso*</​code>​ # rm fdiso*</​code>​
 +<note tip>If space is critical, replace the last 2 lines with:
 +<​code>​for i in fdiso*; do cat $i; rm -f $i; done | cpio -i</​code>​
 +</​note>​
 Now you can use any install method from an ISO image. Example: Now you can use any install method from an ISO image. Example:
 <​code>#​ mount -o loop,ro slitaz.iso /​media/​cdrom <​code>#​ mount -o loop,ro slitaz.iso /​media/​cdrom
Line 155: Line 158:
  
 ... create a subdirectory and install SliTaz into it! ... create a subdirectory and install SliTaz into it!
- 
-<note important>​This install method can waste some MB of RAM: it loads a ramdisk from the preinit flavor and doesn'​t disallocate RAM fully from the ramdisk. 
-</​note>​ 
  
 ==== Root filesystem files installation ==== ==== Root filesystem files installation ====
Line 178: Line 178:
  
 Both notes in 'Loop install'​ section about bzImage extraction and UUID/LABEL also apply here. Both notes in 'Loop install'​ section about bzImage extraction and UUID/LABEL also apply here.
-<note tip>The subdirectory install does not use exotic packages from preinit. You can use any SliTaz flavor (except lorams). ​However this is not recommended because ​the RAM filesystem is not fully disallocated</​note>​+<note tip>The subdirectory install does not use exotic packages from preinit. You can use any SliTaz flavor (except lorams).</​note>​ 
 +<note tip>The subdirectory install can be easily tested with a [[wp>​Raspberry_Pi]] running [[wp>​Raspbian]] with the [[http://​hg.slitaz.org/​slitaz-arm/​raw-file/​tip/​rpi/​tazbian|tazbian]] script. This script creates a raspbian package from the latest SliTaz tarballs found on the [[http://​mirror.slitaz.org/​arm/​rpi/​|mirror]] . The installation of this package <​code>​$ sudo dpkg -i slitaz-<​VERSION>​-1_armhf.deb</​code>​ will install SliTaz in /​var/​os/​slitaz and setup a multiboot. It does not remove rasbian or alter partitions.</​note>​
  
 ===== Subdirectory install in a non-Posix filesystem ===== ===== Subdirectory install in a non-Posix filesystem =====
Line 184: Line 185:
  
 Use [[http://​mirror.slitaz.org/​pkgs/?​package=posixovl|posixovl]] ! Use [[http://​mirror.slitaz.org/​pkgs/?​package=posixovl|posixovl]] !
-<note important>​This install method can waste a few MBs of RAM: it loads a ramdisk from the preinit flavor and doesn'​t disallocate RAM fully from the ramdisk. 
-</​note>​ 
  
 ==== Root filesystem files installation ==== ==== Root filesystem files installation ====
Line 193: Line 192:
   # mount.posixovl /mnt/slitaz   # mount.posixovl /mnt/slitaz
   # unlzma -c /​media/​cdrom/​boot/​rootfs.gz | ( cd /mnt/slitaz ; cpio -idmu )   # unlzma -c /​media/​cdrom/​boot/​rootfs.gz | ( cd /mnt/slitaz ; cpio -idmu )
 +<note tip> 
 +Windows users can extract the archive http://​mirror.slitaz.org/​iso/​4.0/​slitaz-4.0.zip and look at the file \slitaz\boot\install.txt 
 +</​note>​
 ==== Boot setup ==== ==== Boot setup ====
  
Line 200: Line 201:
 <​file>​ <​file>​
 title SliTaz cooking title SliTaz cooking
-  map (hd0,​0)/​boot/​slitaz-preinit.iso (hd1)+  map --mem --heads=0 --sectors-per-track=0 ​(hd0,​0)/​boot/​slitaz-preinit.iso (hd1)
   map --hook   map --hook
   kernel (hd1)/​boot/​bzImage mount=/​dev/​hda1 subroot=slitaz posixovl   kernel (hd1)/​boot/​bzImage mount=/​dev/​hda1 subroot=slitaz posixovl
 
en/guides/uncommoninst.1315493998.txt.gz · Last modified: 2011/09/08 16:59 by bellard