Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:guides:frugal [2010/05/04 16:46] jozee |
en:guides:frugal [2013/03/22 10:02] (current) bellard [ISO image install] |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| This article will assume that your C: drive is //(hd0,0)//. | 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). | + | You need at least 160MB to run Slitaz cooking (128MB for Slitaz 1.0). |
| Tested with Windows XP on FAT32 and on NTFS. | Tested with Windows XP on FAT32 and on NTFS. | ||
| Line 13: | Line 13: | ||
| into C:\ and append to C:\boot.ini: | into C:\ and append to C:\boot.ini: | ||
| - | <code>C:\grldr="Grub4DOS"</code> | + | <file>C:\grldr="Grub4DOS"</file> |
| ===== Traditional frugal install ===== | ===== Traditional frugal install ===== | ||
| Line 21: | Line 21: | ||
| into C:\boot and append to C:\menu.lst the following text: | into C:\boot and append to C:\menu.lst the following text: | ||
| - | <code> | + | <file> |
| title SliTaz cooking | title SliTaz cooking | ||
| kernel (hd0,0)/boot/bzImage rw root=/dev/null vga=normal | kernel (hd0,0)/boot/bzImage rw root=/dev/null vga=normal | ||
| initrd (hd0,0)/boot/rootfs.gz | initrd (hd0,0)/boot/rootfs.gz | ||
| - | </code> | + | </file> |
| Works fine with Windows XP on FAT32 and on NTFS. | Works fine with Windows XP on FAT32 and on NTFS. | ||
| Line 33: | Line 33: | ||
| into C:\boot. Run defragmentation on C:. And append to C:\menu.lst the following text: | into C:\boot. Run defragmentation on C:. And append to C:\menu.lst the following text: | ||
| - | <code> | + | <file> |
| title SliTaz cooking | title SliTaz cooking | ||
| map (hd0,0)/boot/slitaz-cooking.iso (hd1) | map (hd0,0)/boot/slitaz-cooking.iso (hd1) | ||
| Line 39: | Line 39: | ||
| kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal | kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal | ||
| initrd (hd1)/boot/rootfs.gz | initrd (hd1)/boot/rootfs.gz | ||
| - | </code> | + | </file> |
| Works fine with Windows XP on FAT32 and on NTFS. Using version 0.4.3. | 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. | The file C:\boot\slitaz-cooking.iso MUST be defragmented. | ||
| - | You need 160Mb or 256Mb of RAM to run slitaz-cooking.iso. | + | <note tip> |
| + | Anyway, you can always boot from an ISO image on a fragmented filesystem with: | ||
| + | <file> | ||
| + | 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 | ||
| + | </file> | ||
| + | </note> | ||
| + | |||
| + | You need 160MB or 256MB of RAM to run the slitaz-cooking.iso. | ||
| If you have less RAM try: | 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-base.iso or | ||
| Line 50: | Line 61: | ||
| http://mirror.slitaz.org/iso/cooking/flavors/slitaz-loram.iso instead: | http://mirror.slitaz.org/iso/cooking/flavors/slitaz-loram.iso instead: | ||
| - | <code> | + | <file> |
| title SliTaz cooking base | title SliTaz cooking base | ||
| map (hd0,0)/boot/slitaz-cooking-base.iso (hd1) | map (hd0,0)/boot/slitaz-cooking-base.iso (hd1) | ||
| Line 56: | Line 67: | ||
| kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal | kernel (hd1)/boot/bzImage rw root=/dev/null vga=normal | ||
| initrd (hd1)/boot/rootfs.gz | initrd (hd1)/boot/rootfs.gz | ||
| - | </code> | + | </file> |
| See http://community.slitaz.org/wiki/Loram | See http://community.slitaz.org/wiki/Loram | ||
| Line 64: | Line 75: | ||
| into C:\boot and append to C:\menu.lst the following text: | into C:\boot and append to C:\menu.lst the following text: | ||
| - | <code> | + | <file> |
| title SliTaz web | title SliTaz web | ||
| kernel (hd0,0)/boot/gpxe | kernel (hd0,0)/boot/gpxe | ||
| - | </code> | + | </file> |
| - | This will boot the latest available version of SliTaz. See http://boot.slitaz.org/ | + | |
| + | Gpxe is provided by the SliTaz Live CD too: | ||
| + | <file> | ||
| + | title SliTaz web | ||
| + | map (hd0,0)/boot/slitaz-cooking.iso (hd1) | ||
| + | map --hook | ||
| + | kernel (hd1)/boot/gpxe | ||
| + | </file> | ||
| + | This will boot the latest available version of SliTaz. See http://boot.slitaz.org/. | ||
| Works fine with Windows XP on FAT32 and on NTFS. | Works fine with Windows XP on FAT32 and on NTFS. | ||
| Line 75: | Line 94: | ||
| Additional boot parameters may be appended. For example: | Additional boot parameters may be appended. For example: | ||
| - | <code> | + | <file> |
| title SliTaz cooking | title SliTaz cooking | ||
| map (hd0,0)/boot/slitaz-cooking.iso (hd1) | map (hd0,0)/boot/slitaz-cooking.iso (hd1) | ||
| Line 81: | Line 100: | ||
| kernel (hd1)/boot/bzImage rw root=/dev/null vga=extended lang=fr_FR kmap=fr-latin1 laptop autologin config=/dev/hda1,boot/slitaz.sh | 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 | initrd (hd1)/boot/rootfs.gz | ||
| - | </code> | + | </file> |
| + | |||
| + | The file // /boot/slitaz.sh // in // /dev/hda1 // will be executed at the end of the boot script: | ||
| + | |||
| + | <file> | ||
| + | initrd (hd1)/boot/rootfs.gz (hd0,0)/boot/extra-softwares.gz (hd0,0)/boot/my-config-files.gz | ||
| + | </file> | ||
| + | |||
| + | 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 : | ||
| + | <code># find /etc/rcS.conf /etc/daemons.conf /etc/dropbear /home/tux/.ssh | cpio -o -H newc | gzip -9 > /boot/my-config-files.gz</code> | ||
| ===== Automated Graphical Approach using UNetbootin ===== | ===== Automated Graphical Approach using UNetbootin ===== | ||
| A SliTaz Frugal Install or a Live USB installation can be performed using [[http://unetbootin.sourceforge.net/|UNetbootin]]. | A SliTaz Frugal Install or a Live USB installation can be performed using [[http://unetbootin.sourceforge.net/|UNetbootin]]. | ||
| + | |||
| + | <note warning> | ||
| + | **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 [[http://mirror.slitaz.org/iso/4.0/flavors/slitaz-4.0-core.iso|slitaz-4.0-core.iso]] or another single rootfs.gz flavor found [[http://mirror.slitaz.org/iso/4.0/flavors/|here]]. </note> | ||
| Either the standard version ([[http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe|Windows]] | [[http://unetbootin.sourceforge.net/unetbootin-linux-latest|Linux]]) can be used (select SliTaz from the | Either the standard version ([[http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe|Windows]] | [[http://unetbootin.sourceforge.net/unetbootin-linux-latest|Linux]]) can be used (select SliTaz from the | ||