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/08/25 18:07]
bellard [LVM install]
en:guides:uncommoninst [2015/06/21 14:28]
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 39: Line 39:
  
 This install method will **erase all of your key** and install a **unmodifiable** :-/ SliTaz. You can create a custom system with //tazlito// or //​tazlitobox//​. Each Slitaz ISO image is [[http://​doc.slitaz.org/​en:​guides:​dvd#​hybrid-iso|hybrid]]. This install method will **erase all of your key** and install a **unmodifiable** :-/ SliTaz. You can create a custom system with //tazlito// or //​tazlitobox//​. Each Slitaz ISO image is [[http://​doc.slitaz.org/​en:​guides:​dvd#​hybrid-iso|hybrid]].
-<note tip>Use fdisk to get back the remining free space on the USB keys. Simply add partition(s).+<note tip>Use fdisk to get back the remining free space on the USB keys. Simply add partition(s).
   # dd if=slitaz-cooking.iso of=/​dev/​usbkey   # dd if=slitaz-cooking.iso of=/​dev/​usbkey
   # fdisk /dev/usbkey   # fdisk /dev/usbkey
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 =====
-You want to install SliTaz in a subdirectory but the filesystem (like NTFS or VFAT) does not fully support UNIX features. Use posixovl !+You want to install SliTaz in a subdirectory but the filesystem ([[wp>NTFS]] or [[wp>VFAT]]) does not fully support UNIX features. 
 + 
 +Use [[http://​mirror.slitaz.org/​pkgs/?​package=posixovl|posixovl]] ​! 
 + 
 +==== Root filesystem files installation ==== 
 + 
 +You need to mount the target subdirectory (say /slitaz) with posixovl **before** installing the files. 
 +  # mkdir /​mnt/​slitaz 
 +  # mount.posixovl /​mnt/​slitaz 
 +  # 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 ==== 
 + 
 +Like a loop install, you need a preinit iso file with a matching version. 
 +The partition (say /dev/hda1) and the path into the partition are defined by the mount, subroot and **posixovl** arguments:  
 +<​file>​ 
 +title SliTaz cooking 
 +  map --mem --heads=0 --sectors-per-track=0 (hd0,​0)/​boot/​slitaz-preinit.iso (hd1) 
 +  map --hook 
 +  kernel (hd1)/​boot/​bzImage mount=/​dev/​hda1 subroot=slitaz posixovl 
 +  initrd (hd1)/​boot/​rootfs.gz 
 +</​file>​ 
 + 
 +Both notes in 'Loop install'​ section about bzImage extraction and UUID/LABEL also apply here. 
 ====== TODO ====== ====== TODO ======
-You want to see the host partition while running SliTaz like did [[wp>​UMSDOS]] with /DOS+==== Extra setup ==== 
 +You want to see the host partition while running SliTaz like [[wp>​UMSDOS]] ​does with /DOS
 + 
 +Create the mount point: 
 +  # mkdir /​mnt/​slitaz/​Windows 
 + 
 +And update the boot arguments:​ 
 +<​file>​ 
 +title SliTaz cooking 
 +  map (hd0,​0)/​boot/​slitaz-preinit.iso (hd1) 
 +  map --hook 
 +  kernel (hd1)/​boot/​bzImage mount=/​dev/​hda1 subroot=slitaz posixovl bindfs=.,​slitaz/​Windows 
 +  initrd (hd1)/​boot/​rootfs.gz 
 +</​file>​
 ====== TODO ====== ====== TODO ======
 ===== LVM install ===== ===== LVM install =====
 
en/guides/uncommoninst.txt · Last modified: 2015/06/21 14:28 by linea