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

Winboot

Frugal install to Microsoft Windows partition

Install Grub4dos.

This article will assume that your C: drive is (hd0,0). You need at least 160MB to run Slitaz cooking (128MB for Slitaz 1.0).

Tested with Windows XP on FAT32 and on NTFS.

For Windows XP, 2000 or NT, copy http://mirror.slitaz.org/boot/grldr into C:\ and append to C:\boot.ini:

C:\grldr="Grub4DOS"

Traditional frugal install

Copy http://download.tuxfamily.org/slitaz/boot/cooking/bzImage and http://download.tuxfamily.org/slitaz/boot/cooking/rootfs.gz (both <30MB) into C:\boot and append to C:\menu.lst the following text:

title SliTaz cooking
  kernel (hd0,0)/boot/bzImage rw root=/dev/null vga=normal
  initrd (hd0,0)/boot/rootfs.gz

Works fine with Windows XP on FAT32 and on NTFS.

ISO image install

Copy http://download.tuxfamily.org/slitaz/iso/cooking/slitaz-cooking.iso (<30MB) into C:\boot. Run defragmentation on C:. And append to C:\menu.lst the following text:

title SliTaz cooking
  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
  map --hook
  kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal
  initrd (hd1)/boot/rootfs.gz

Works fine with Windows XP on FAT32 and on NTFS. Using version 0.4.3. The file C:\boot\slitaz-cooking.iso MUST be defragmented.

Anyway, you can always boot from an ISO image on a fragmented filesystem with:

title SliTaz cooking
  map --mem --heads=0 --sectors-per-track=0 (hd0,0)/boot/slitaz-cooking.iso (hd1)
  map --hook
  kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal
  initrd (hd1)/boot/rootfs.gz

You need 160MB or 256MB of RAM to run the slitaz-cooking.iso. If you have less RAM try: http://mirror.slitaz.org/iso/cooking/flavors/slitaz-cooking-base.iso or http://mirror.slitaz.org/iso/cooking/flavors/slitaz-cooking-justX.iso or http://mirror.slitaz.org/iso/cooking/flavors/slitaz-loram.iso instead:

title SliTaz cooking base
  map (hd0,0)/boot/slitaz-cooking-base.iso (hd1)
  map --hook
  kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal
  initrd (hd1)/boot/rootfs.gz

See http://community.slitaz.org/wiki/Loram

Web boot install

Copy http://download.tuxfamily.org/slitaz/boot/gpxe (<200KB) into C:\boot and append to C:\menu.lst the following text:

title SliTaz web
  kernel (hd0,0)/boot/gpxe

Gpxe is provided by the SliTaz Live CD too:

title SliTaz web
  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
  map --hook
  kernel (hd1)/boot/gpxe

This will boot the latest available version of SliTaz. See http://boot.slitaz.org/. Works fine with Windows XP on FAT32 and on NTFS.

Tuning the boot process

Additional boot parameters may be appended. For example:

title SliTaz cooking
  map (hd0,0)/boot/slitaz-cooking.iso (hd1)
  map --hook
  kernel (hd1)/boot/bzImage rw root=/dev/null vga=extended lang=fr_FR kmap=fr-latin1 laptop autologin config=/dev/hda1,boot/slitaz.sh
  initrd (hd1)/boot/rootfs.gz

The file /boot/slitaz.sh in /dev/hda1 will be executed at the end of the boot script:

  initrd (hd1)/boot/rootfs.gz (hd0,0)/boot/extra-softwares.gz (hd0,0)/boot/my-config-files.gz

The compressed cpio archives /boot/extra-softwares.gz and /boot/my-config-files.gz will be loaded after the official initramfs rootfs.gz. This is faster than using the previous /boot/slitaz.sh script. Example :

# find /etc/rcS.conf /etc/daemons.conf /etc/dropbear /home/tux/.ssh | cpio -o -H newc | gzip -9 > /boot/my-config-files.gz

Automated Graphical Approach using UNetbootin

A SliTaz Frugal Install or a Live USB installation can be performed using UNetbootin.

Unetbootin will not work with the main 4.0 release slitaz-4.0.iso or slitaz-rolling.iso which are core 4-in-1 iso's with multi-rootfs.gz without manually editing the boot menu or combining the multi-rootfs.gz into one.

Please use slitaz-4.0-core.iso or another single rootfs.gz flavor found here.

Either the standard version (Windows | Linux) can be used (select SliTaz from the Distribution list), or a custom SliTaz version (Windows | Linux) may also be used.

To perform a Frugal Install, select “Hard Disk” under installation type; to create a Live USB, select “USB Drive” under installation type.



Page Review Section
Quality Good
Review Minor Updates
Priority Medium
Problems add a forum post link
OR add a lab issue tracker link
How to Improve Suggest briefly
Add new rows like this ;-)



 
en/guides/frugal.txt · Last modified: 2013/03/22 10:02 by bellard