# HG changeset patch # User Pascal Bellard # Date 1504279685 -7200 # Node ID 1c207a9e6d0c1d30bafd2fe3851788756787479b # Parent f63f28b5e6a131a64b28f18116996c13c17834d5 Update floppies diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/1.0/description.html --- a/mirror-tools/slitaz/mirror/floppies/1.0/description.html Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/1.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -1,12 +1,25 @@ -

-Start your computer with fd001.img. It will show the kernel version string and -the kernel cmdline line. You can edit the cmdline. Most users can just press Enter. -

-

-The floppy is then loaded into memory (one dot each 64k) and you will be prompted to -insert the next floppy, fd002.img. -

-

-The bootstrap will then start and you will be prompted to insert extra floppies -from fd100.img to fd115.img. -

+

You can start with one of the 2 following flavors:

+ + + +

Start your computer with fd001.img. It will show the Kernel version +string and the Kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

+ +

The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd004.img.

+ +

The base flavor will then start and you will be prompted to insert extra +floppies for the core flavor. You can bypass this by using Q and Enter.

+ +

If you have an ext3 partition on your hard disk, the bootstrap can create the +installation script slitaz/install.sh. You will be able to install +SliTaz on your hard disk without extra media.

diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/1.0/title --- a/mirror-tools/slitaz/mirror/floppies/1.0/title Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/1.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -1,1 +1,1 @@ -Released on 22 March 2008, needs 128Mb RAM +Released on 22 March 2008, needs up to 128Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/2.0/description.html --- a/mirror-tools/slitaz/mirror/floppies/2.0/description.html Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/2.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -1,29 +1,30 @@ -

-You can start with one of the 3 following flavors : -

+

You can start with one of the 3 following flavors:

+ -

-Start your computer with fd001.img. It will show the kernel version string and -the kernel cmdline line. You can edit the cmdline. Most users can just press Enter. -

-

-The floppy is then loaded into memory (one dot each 64k) and you will be prompted to -insert the next floppy, fd002.img. And so on up to fd005.img. -

-

-The base flavor will then start and you will be prompted to insert extra floppies -for justx and core flavors. You can bypass this by using Q and Enter. -

+ +

Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

+ +

The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd005.img.

+ +

The base flavor will then start and you will be prompted to insert extra +floppies for justx and core flavors. You can bypass this by using Q and +Enter.

+ +

If you have an ext3 partition on your hard disk, the bootstrap can create the +installation script slitaz/install.sh. You will be able to install +SliTaz on your hard disk without extra media.

diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/2.0/title --- a/mirror-tools/slitaz/mirror/floppies/2.0/title Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/2.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -1,1 +1,1 @@ -Released on 16 April 2009, needs 144Mb RAM +Released on 16 April 2009, needs up to 160Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/3.0/description.html --- a/mirror-tools/slitaz/mirror/floppies/3.0/description.html Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/3.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -1,29 +1,25 @@ -

-You can start with one of the 3 following flavors : -

+

You can start with one of the 3 following flavors:

+ -

-Start your computer with fd001.img. It will show the kernel version string and -the kernel cmdline line. You can edit the cmdline. Most users can just press Enter. -

-

-The floppy is then loaded into memory (one dot each 64k) and you will be prompted to -insert the next floppy, fd002.img. And so on up to fd005.img. -

-

-The base flavor will then start and you will be prompted to insert extra floppies -for justx and core flavors. You can bypass this by using Q and Enter. -

+ +

Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

+ +

The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to last +floppy.

+ +

You will be prompted to insert extra floppies for justx and core flavors. You +can bypass this by using B to boot without loading extra floppies.

diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/3.0/title --- a/mirror-tools/slitaz/mirror/floppies/3.0/title Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/3.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -1,1 +1,1 @@ -Released on 28 March 2010, needs 144Mb RAM +Released on 28 March 2010, needs up to 160Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/4.0/description.html --- a/mirror-tools/slitaz/mirror/floppies/4.0/description.html Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/4.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -1,33 +1,30 @@ -

-You can start with one of the 4 following flavors : -

+

You can start with one of the 4 following flavors:

+ -

-Start your computer with fd001.img. It will show the kernel version string and -the kernel cmdline line. You can edit the cmdline. Most users can just press Enter. -

-

-The floppy is then loaded into memory (one dot each 64k) and you will be prompted to -insert the next floppy, fd002.img. And so on up to fd006.img. -

-

-The base flavor will then start and you will be prompted to insert extra floppies -for justx and core flavors. You can bypass this by using Q and Enter. -

+ +

Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

+ +

The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to last +floppy.

+ +

You will be prompted to insert extra floppies for justx, gtkonly and core +flavors. You can bypass this by using B to boot without loading extra +floppies.

diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/4.0/title --- a/mirror-tools/slitaz/mirror/floppies/4.0/title Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/4.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -1,1 +1,1 @@ -Released on 10 April 2012, needs 192Mb RAM +Released on 10 April 2012, needs up to 192Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/builder/bootloader --- a/mirror-tools/slitaz/mirror/floppies/builder/bootloader Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/builder/bootloader Fri Sep 01 17:28:05 2017 +0200 @@ -2,27 +2,144 @@ # # This script creates a floppy image set from a linux bzImage and can merge # a cmdline and/or one or more initramfs. -# The total size can not exceed 15M because INT 15H function 87H limitations. # -# (C) 2009 Pascal Bellard - GNU General Public License v3. +# (C) 2009-2015 Pascal Bellard - GNU General Public License v3. usage() { cat < /dev/null; } + +get() +{ +echo $( od -v -j $(($1)) -N ${4:-${3:-2}} -t u${3:-2} -w${3:-2} -An $2 2>/dev/null || + hexdump -v -s $(($1)) -n ${4:-${3:-2}} -e "\"\" 1/${3:-2} \" %d\n\"" $2 ) +} + +trace() +{ + [ -n "$DEBUG" ] && printf "$@" 1>&2 && echo 1>&2 +} + +# usage: store bits offset data file +store() +{ + n=$3; for i in $(seq 8 8 $1); do + printf '\\\\x%02X' $(($n & 255)) + n=$(($n >> 8)) + done | xargs echo -en | ddq bs=1 conv=notrunc of=$4 seek=$(($2)) + s=$1; a=$2; d=$3; shift 4; c="$@" + trace "store$s(%03X) = %0$(($s/4))X $c" $a $d +} + +die() +{ + echo $@ 1>&2 + exit 1 +} +extract() +{ + shift + [ ! -s "$1" ] && die "No floppy ?" + [ $(get 0x1FE "$1") -ne 43605 ] && die "Not bootable" + [ $(get $Magic "$1" 4) != 1400005704 ] && + [ $(get 0x1F4 "$1") -gt 32768 -o $(get 0x1F6 "$1") -ne 0 ] && + die "Not linux." + FORMAT="$(($(stat -c "%s" $1)/1024))" + cat <kernel + files="kernel" + if [ "$MYBB" ]; then + store 8 $SetupSzOfs $(($n-1)) kernel "setup size $n" + store 16 0x22 0 kernel "clear cmdline" + store 16 0x1EF 0 kernel "clear info" + fi + [ $cmdline -ne 0 ] && files="$files cmdline" && + ddq bs=512 count=1 | strings | sed q > cmdline + [ $info -ne 0 ] && files="$files info" && + ddq bs=512 count=$infolen | sed \ + 's/'$(echo -en "\xff\xff$//;s/\xff/\f")'/g;s/\r/\n/g;q' > info + syssz=$(get 0x1F4 kernel 4) + ddq bs=16 count=$syssz >>kernel + [ $(($syssz % 32)) -ne 0 ] && + ddq bs=16 of=/dev/null count=$((32 - ($syssz % 32))) + if [ $(get $Magic kernel 4) == 1400005704 ]; then + ddq bs=1 count=200 skip=$((512+$(get 0x20E kernel 2))) \ + if=kernel | strings | sed q + len=$(get $RamfsLenOfs kernel 4) + if [ $len -ne 0 ]; then + adrs=$(get $RamfsAdrOfs kernel 4) + printf "--address-initrd 0x%X \n" $adrs + echo "--mem $(((($adrs+$len)/1024+512)/1024))" + ddq bs=512 count=$((($len+511)/512)) > initrd + ddq count=0 bs=1 seek=$len of=initrd + files="$files initrd" + store 64 $RamfsAdrOfs 0 kernel "reset initrd" + fi + if [ $(get 0x206 kernel) -ge 514 ]; then + store 32 0x228 0 kernel "clean cmdline32" + fi + else + len=$(get $OldRamfsLenOfs kernel) + [ $len -ne 0 ] && files="$files initrd" && + if [ -s "$2" ]; then + ddq if=$2 bs=1024 count=$len of=initrd + else + ddq if=$1 bs=1024 skip=256 count=$len of=initrd + fi + fi + ls -l $files + } + exit +} + KERNEL="" INITRD="" ADRSRD="" @@ -34,7 +151,9 @@ FLAGS="" TRACKS="80" MEM="16" +HIDE="" NOEDIT="" +QUIET="" NOSYSSIZEFIX="" INFOFILE="" DEBUG="" @@ -44,18 +163,19 @@ -inf*) INFOFILE="$2"; shift;; -i*) INITRD="$INITRD $2"; shift;; -a*) ADRSRD="$2"; shift;; - -h*) HEAP="$2"; shift;; - -l*) LOADERTYPE="$2"; shift;; + -h*) HIDE="1";; -p*) PREFIX="$2"; shift;; -fl*)FLAGS="$2"; shift;; # 1 read-only, 0 read-write -f*) FORMAT="$2"; shift;; -m*) MEM="$(echo $2 | sed 's/[^0-9]//g')"; shift;; -r*) RDEV="$2"; shift;; -v*) VIDEO="$2"; shift;; # -3 .. n - -t*) TRACKS="$2"; shift;; # likely 81 .. 84 + -t*) TRACKS="$2"; shift;; # likely 81 .. 84 -n*) NOSYSSIZEFIX="1";; -debug) DEBUG="1";; -d*) NOEDIT="1";; + -q*) QUIET="1";; + -e*) extract "$@";; *) KERNEL="$1";; esac shift @@ -66,91 +186,62 @@ echo "Invalid track count for format $FORMAT." usage fi -[ 0$MEM -lt 4 ] && MEM=4 -[ $MEM -gt 16 ] && MEM=16 - -ddq() { dd $@ 2> /dev/null; } +[ 0$MEM -lt 2 ] && MEM=2 patch() { echo -en $(echo ":$2" | sed 's/:/\\x/g') | \ ddq bs=1 conv=notrunc of=$3 seek=$((0x$1)) - [ -n "$DEBUG" ] && echo "patch $1 $2 $4" 1>&2 -} - -# usage: store bits offset data file -store() -{ - n=$3; for i in $(seq 8 8 $1); do - printf '\\\\x%02X' $(($n & 255)) - n=$(($n >> 8)) - done | xargs echo -en | ddq bs=1 conv=notrunc of=$4 seek=$(($2)) - [ -n "$DEBUG" ] && printf "store%d(%03X) = %0$(($1/4))X %s\n" $1 $2 $3 "$5" 1>&2 -} - -# usage: getlong offset file -getlong() -{ - ddq if=$2 bs=1 skip=$(($1)) count=4 | hexdump -e '"" 1/4 "%d" "\n"' + trace "patch $1 $2 $4" } error() { - echo $@ 1>&2 rm -f $bs - exit 1 + die $@ } floppyset() { - # bzImage offsets - SetupSzOfs=497 - FlagsOfs=498 - VideoModeOfs=506 - RootDevOfs=508 - Magic=0x202 - RamfsAdrOfs=0x218 - RamfsLenOfs=0x21C - # boot+setup address SetupBase=0x90000 bs=/tmp/bs$$ # Get and patch boot sector - # See http://hg.slitaz.org/wok/raw-file/66e38bd6a132/linux/stuff/linux-header.u - [ -n "$DEBUG" ] && echo "Read bootsector..." 1>&2 + # See http://hg.slitaz.org/wok/raw-file/13835bce7189/syslinux/stuff/iso2exe/bootloader.S + trace "Read bootsector..." ddq if=$KERNEL bs=512 count=1 of=$bs - [ $(( $(getlong 0x1FE $bs) & 0xFFFF )) -eq 43605 ] || - error "Not bootable" + [ $(get 0x1FE $bs) -eq 43605 ] || error "Not bootable" uudecode <&2 + trace "Read setup ($setupsz sectors) ..." ddq if=$KERNEL bs=512 skip=1 count=$setupsz >> $bs - Version=$(( $(getlong 0x206 $bs) & 0xFFFF )) - [ $(getlong $Magic $bs) -ne 1400005704 ] && Version=0 + Version=$(get 0x206 $bs) + [ $(get $Magic $bs 4) != 1400005704 ] && Version=0 feature="" while read prot kern info ; do [ $Version -lt $((0x$prot)) ] && continue @@ -158,10 +249,11 @@ done <&2 + trace "Protocol %X $feature" $Version # Old kernels need bootsector patches to disable rescent features while read minversion maxversion offset bytes rem; do @@ -169,29 +261,17 @@ [ $Version -lt $(( 0x$minversion )) ] && continue patch $offset $bytes $bs "$rem" done < /dev/null) + [ "$(echo $RDEV | tr '[0-9A-FXa-fx]' 0 | sed 's/0//g')" ] || store 16 $RootDevOfs $RDEV $bs RDEV - [ $FORMAT -lt 1440 ] && store 8 0xEF 16 $bs 1.2M - [ $FORMAT -lt 1200 ] && store 8 0xEF 10 $bs 720K - [ $FORMAT -lt 720 ] && store 8 0x171 40 $bs 360K - [ $FORMAT -lt 360 ] && store 8 0xEF 9 $bs 320K - [ $FORMAT -lt 320 ] && store 8 0xF8 2 $bs 160K + [ $FORMAT -lt 720 ] && store 8 0x15F 40 $bs 360K + [ $FORMAT -lt 320 ] && store 8 0x158 237 $bs 160K + extra=0 + # Store cmdline after setup for kernels >= 0.99 + if [ -n "$CMDLINE" ]; then + CmdlineOfs=$(stat -c '%s' $bs) + store 16 0x22 $CmdlineOfs $bs "Cmdline @$CmdlineOfs '$CMDLINE'" + [ $Version -ge 514 ] && + store 32 0x228 $(( $SetupBase + 0x8000 )) $bs "Cmdline32" + echo -n "$CMDLINE" | ddq bs=512 count=1 conv=sync >> $bs + extra=$(($extra+1)) + store 8 0x1F1 $(($setupsz+$extra)) $bs setup size + [ $Version -ge 512 ] && [ -n "$QUIET" ] && + store 8 0x211 $(($(get 0x211 $bs 1) | 32)) $bs suppress early messages + fi + # Info text after setup if [ -s "$INFOFILE" ]; then - patch 048 9a:00:00:00:90 $bs lcall displayinfo - uudecode >$bs.infotext <>$bs.infotext - if [ $Version -lt 514 ]; then - store 16 0x050 0x0022 $bs.infotext - fi + InfoOfs=$(stat -c '%s' $bs) + sed -e ':a;N;$!ba;s/\r\n/\r/g;s/\n/\r/g' \ + -e 's/'$(echo -e "\f/\xff/g;s/$/\xff\xff")'/' \ + < "$INFOFILE" > $bs.infotext ddq if=/dev/zero bs=512 count=1 >>$bs.infotext - n=$(($(stat -c %s $bs.infotext)/512)) - ddq if=$bs.infotext count=$n bs=512 >> $bs + infolen=$(($(stat -c %s $bs.infotext)/512)) + ddq if=$bs.infotext count=$infolen bs=512 >> $bs + extra=$(($extra+$infolen)) rm -f $bs.infotext - store 8 0x1F1 $(($setupsz+$n)) $bs update setup size - store 8 0x04A $((2+2*$setupsz)) $bs update displayinfo call + store 8 0x1F1 $(($setupsz+$extra)) $bs setup size + store 16 0x1EF $InfoOfs $bs update infoptr fi - # Store cmdline after setup for kernels >= 0.99 - if [ -n "$CMDLINE" ]; then - echo -n "$CMDLINE" | ddq bs=512 count=1 conv=sync >> $bs - CmdlineOfs=0x9E00 # Should be in 0x8000 .. 0xA000 - ArgPtrOfs=0x228 - ArgPtrVal=$(( $SetupBase + $CmdlineOfs )) - if [ $Version -lt 514 ]; then - ArgPtrOfs=0x0020 - ArgPtrVal=$(( 0xA33F + ($CmdlineOfs << 16) )) - fi - store 32 $ArgPtrOfs $ArgPtrVal $bs "Cmdline '$CMDLINE'" + syssz=$((($(stat -c %s $KERNEL)+15)/16-32*(1+$setupsz))) + #syssz=$(get 0x1F4 $bs 4) + sysszsect=$((($syssz+31)/32)) + store 16 $OldRamfsLenOfs 0 $bs clear oldramfs + INITRD="${INITRD# }" + INITRDPAD=4 + [ -n "$INITRD" ] && + if [ $Version -lt 512 ]; then + # Compute initramfs location (protocol < 2.00) + [ $syssz -gt 32768 ] && syssz=$(get 0x1F4 $bs 2) + [ $syssz -eq 0 ] && syssz=$((0x7F00)) + sysszsect=$((($syssz+31)/32)) + INITRD="${INITRD%% *}" + initrdlen=$(stat -c %s "$INITRD") + store 16 $OldRamfsLenOfs $(($initrdlen/1024)) $bs set oldramfs + INITRDDISKALIGN=$((0x40000)) + [ $(($initrdlen+$INITRDDISKALIGN)) -gt $(($FORMAT*1024)) -o \ + $(((512*$sysszsect) + $(stat -c %s $bs))) -gt $INITRDDISKALIGN -o \ + -n "$ADRSRD" ] && INITRDDISKALIGN=$(($FORMAT*1024)) + else +INITRDRAMALIGN=0x1000 + # Compute initramfs size (protocol >= 2.00) + initrdlen=0 + INITRDDISKALIGN=0 + for i in ${INITRD//,/ }; do + [ -s "$i" ] || continue + while [ -L "$i" ]; do i="$(readlink $i)"; done + size=$(stat -c %s "$i") + trace "initrd $i $size " + initrdlen=$(((($initrdlen + $INITRDPAD - 1) & -$INITRDPAD) + $size)) + ADRSRD2=$(( (($MEM * 0x100000) - $initrdlen) & -$INITRDRAMALIGN )) + store 32 $RamfsAdrOfs $(( ${ADRSRD:-$ADRSRD2} )) $bs initrd adrs + store 32 $RamfsLenOfs $initrdlen $bs initrdlen + done fi - # Compute initramfs size (protocol >= 2.00) - [ $Version -lt 512 ] && INITRD="" - initrdlen=0 -INITRDPAD=4 -INITRDALIGN=0x1000 - for i in $( echo $INITRD | sed 's/,/ /' ); do - [ -s "$i" ] || continue - while [ -L "$i" ]; do i="$(readlink $i)"; done - size=$(( ($(stat -c %s "$i") + $INITRDPAD - 1) & -$INITRDPAD )) - [ -n "$DEBUG" ] && echo "initrd $i $size " 1>&2 - initrdlen=$(( $initrdlen + $size )) - ADRSRD=$(( (($MEM * 0x100000) - $initrdlen) & -$INITRDALIGN )) - store 32 $RamfsAdrOfs $(( $ADRSRD )) $bs initrd adrs - store 32 $RamfsLenOfs $initrdlen $bs initrdlen - done + [ -n "$NOSYSSIZEFIX" ] || store 32 0x1F4 $syssz $bs fix system size - [ -n "$NOSYSSIZEFIX" ] || store 32 0x1F4 \ - $(( ($(stat -c %s $KERNEL)+15)/16 - ($setupsz+1)*32)) $bs fix system size - - # Output boot sector + setup + cmdline + # Output boot sector + setup + cmdline + info ddq if=$bs # Output kernel code - syssz=$(( ($(getlong 0x1F4 $bs)+31)/32 )) - cat $KERNEL /dev/zero | ddq bs=512 skip=$(( $setupsz+1 )) count=$syssz conv=sync + [ $INITRDDISKALIGN -ne 0 ] && + INITRDDISKALIGN=$(($INITRDDISKALIGN/512-$sysszsect-$extra-$setupsz-1)) + cat $KERNEL /dev/zero | ddq bs=512 skip=$(( $setupsz+1 )) \ + count=$(($sysszsect+$INITRDDISKALIGN)) conv=sync # Output initramfs - for i in $( echo $INITRD | sed 's/,/ /' ); do + padding=$INITRDPAD + for i in ${INITRD//,/ }; do [ -s "$i" ] || continue + [ $padding -eq $INITRDPAD ] || ddq if=/dev/zero bs=1 count=$padding ddq if=$i + trace "initrd $i ($(stat -c %s $i) bytes) padding $INITRDPAD" padding=$(( $INITRDPAD - ($(stat -c %s $i) % $INITRDPAD) )) - [ $padding -eq $INITRDPAD ] || ddq if=/dev/zero bs=1 count=$padding done # Cleanup diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/builder/clientbuilder.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/builder/clientbuilder.js Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,53 @@ +function updateHtmlCode() { +if (location.hash != "#test") return false; + var f = document.forms["io"] + document.getElementById("note1").innerHTML = + "Note 1: client side tool. No size limits." + f.elements["build"].onclick = buildFloppies + f.enctype = "application/x-www-form-urlencoded" + f.action = "" +} + +function buildFloppies() { + var f = document.forms["io"] + if (f.elements["kernel"].value == "") { + alert("The kernel file is required.") + return false + } +alert("buildFloppies() ") + var total = f.elements["kernel"].file.size +alert("buildFloppies() total="+total) + var i + for (i = 0; i < elements["initrd"].files.length; i++) + total += elements["initrd"].files[i].size + for (i = 0; i < elements["initrd2"].files.length; i++) + total += elements["initrd2"].files[i].size +alert("buildFloppies() total="+total) +var s = "" +for (i = 0; i < f.elements.length; i++) { + s += i+ ": " + f.elements[i].name+"="+f.elements[i].value+", " +} +alert(s); + f.style.visibility = "hidden"; + dlfiles = document.createElement("div") + f.appendChild = dlfiles +alert("end buildFloppies()") + return false +} + +// document.getElementById(id) +// document.getElementsByTagName(name) "p" +// document.getElementsByClassName(name) +// element.innerHTML = new html +// element.setAttribute(attribute, value) +// document.createElement(element) +// document.removeChild(element) +// document.appendChild(element) +// document.replaceChild(element) +// parentNode +// childNodes[nodenumber] +// firstChild +// lastChild +// nextSibling +// previousSibling + diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/builder/index.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/builder/index.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +index.php \ No newline at end of file diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/builder/index.php --- a/mirror-tools/slitaz/mirror/floppies/builder/index.php Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/builder/index.php Fri Sep 01 17:28:05 2017 +0200 @@ -1,17 +1,32 @@ - - + + + SliTaz Boot Floppies redirection - - - - - + + + + + + + + + + - - + + + SliTaz Boot Floppies - - - - - - - - - - - -
-
-
-
-
+

Floppy image set builder

+ -
"> - +"> + +
- - + + - - + + - - + + - - + + - - + - - + + - - + -
Linux kernel: requiredLinux kernel: required
Initramfs / Initrd: optionalInitramfs / Initrd: optional
Extra initramfs: optionalExtra initramfs: optional
Boot message: optionalBoot message: optional
Default cmdline:Default cmdline:/> edit optional
Root device:" />   Flags: -
Floppy size:Floppy size:
-
+
-Note 1: $msg of files (kernel and initramfs) in memory. -

-

-Note 2: the extra initramfs may be useful to add your own configuration files. -

-

-Note 3: the keyboard is read for ESC or ENTER on every form feed (ASCII 12) in the boot message. -

+

Note 1: $msg of files (kernel and initramfs) in memory.

+ +

Note 2: the extra initramfs may be useful to add your own configuration files.

+ +

Note 3: the keyboard is read for ESC or ENTER on every form feed (ASCII 12) in the boot message.

+ EOT; } else { ?> +

Download image= 2) echo "s"; ?>

+
    \n".floor($padding/1024)."KB padding.\n"; ?> -

    -You can write floppies with SliTaz bootfloppybox, -Windows rawrite or simply dd: -

    -
    # dd if=fd001.img of=/dev/fd0
    -
    +

    You can write floppies with SliTaz bootfloppybox, Windows rawrite or simply +dd:

    -

    -Start your computer with fd001.img. It will show the kernel version string and -the kernel cmdline line. You can edit the cmdline. Most users can just press Enter. -

    +
    # dd if=fd001.img of=/dev/fd0
    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    = 2) { ?> -

    -The floppy is then loaded into memory (one dot each 64k) and you will be prompted to -insert the next floppy, fd002.img. And so on. -

    +

    The floppy is then loaded into memory (one dot each 64K) and you will be +prompted to insert the next floppy, fd002.img. And so on.

    -

    -The floppy set detects disk swaps and can be used without a keyboard. -

    +

    The floppy set detects disk swaps and can be used without a keyboard.

    -

    -Good luck. -

    +

    Good luck.

    + - - - -
    -
    -
    -
    +

    How does it work?

    - -
    -

    -Copyright © SliTaz - -GNU General Public License -

    - -
    +

    This tool updates the boot sector of your kernel with this +code. You may add a default cmdline and an initramfs. The cmdline can be +edited at boot time but the keyboard is not mandatory. A standalone +version is available to break the web server upload limit.

    - -
    -

    -Valid XHTML 1.0 -

    -
    +

    Each part (boot, setup, boot message, cmdline, kernel, initramfs) is aligned +to 512 bytes. The result is split to fit the floppy size. The last floppy image +is padded with zeros.

    + +

    You can extract the kernel, cmdline and rootfs files +with this tool +from the floppy images.

    + + + + + + + + diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/download.php --- a/mirror-tools/slitaz/mirror/floppies/download.php Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/download.php Fri Sep 01 17:28:05 2017 +0200 @@ -36,99 +36,93 @@ download(sprintf("fdiso%02d.img",$_GET['file']), $fdsz, $cmd); } } -?> - +?> + + SliTaz Boot Floppies - - - - - - + + + + + - - -\n") +document.write("
    \n") +document.write("
    \n") +document.write("
    \n") +document.write("
    \n") +document.write("\n") +document.write("\n") +document.write("
    \n") +document.write("

    \n") +document.write("Copyright © "); +var time=new Date(); +var year=time.getYear(); +if (year < 2000) year += 1900; +document.write(year); +document.write(" SliTaz -\n") +document.write("GNU General Public License\n") +document.write("

    \n") +document.write("\n") +document.write("
    \n") +document.write("\n") +document.write("\n") +document.write("
    \n") +document.write("

    \n") +document.write("\"Valid\n") +document.write("

    \n") +document.write("
    \n") diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/include/fdiso.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/include/fdiso.js Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,32 @@ +document.write("\n") +document.write("

    ISO image floppy set

    \n") +document.write("\n") +document.write("
    \n") +document.write("

    \n") +document.write("You may need these images to\n") +document.write("\n") +document.write("install SliTaz\n") +document.write("\n") +document.write("\n") +document.write("

    \n") +document.write("
    \n") +document.write("

    \n") +document.write("You can restore the ISO image on your hard disk using :\n") +document.write("

    \n") +document.write("
    \n")
    +document.write("# dd if=/dev/fd0 of=fdiso01.img\n")
    +document.write("# dd if=/dev/fd0 of=fdiso02.img\n")
    +document.write("# ...\n")
    +document.write("# cat fdiso*.img | cpio -i\n")
    +document.write("
    \n") diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/include/head.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/include/head.js Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,21 @@ +document.write("\n") +document.write("
    \n") +document.write(" \n") +document.write("\n") +document.write("
    \n") +document.write(" Generic boot floppy |\n") +document.write(" Tiny SliTaz |\n") +document.write(" Loram floppies |\n") +document.write(" Floppy set web builder |\n") +document.write(" Shell builder\n") +document.write("
    \n") +document.write(" \"www.slitaz.org\"\n") +document.write("

    #!/boot/floppies

    \n") +document.write("
    \n") +document.write("\n") +document.write("\n") +document.write("
    \n") +document.write("\n") diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/include/html2js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/include/html2js Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,6 @@ +#!/bin/sh + +case "$0" in +*html2js) exec sed 's/"/\\"/g;s/.*/document.write("&\\n")/' ;; +*js2html) exec sed 's/^document.write("\(.*\).n")$/\1/;s/\\"/"/g' ;; +esac diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/include/top.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/include/top.js Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,48 @@ +document.write("
    \n") +document.write("

    Available boot floppies

    \n") +document.write("\n") +document.write("
    \n") +document.write("\n") +document.write("
    \n") +document.write("

    Images generation

    \n") +document.write("

    \n") +document.write("All these floppy images are built with bootfloppybox from\n") +document.write("a core or a 3in1 iso. The loram is preprocessed by\n") +document.write("tazlitobox (Low RAM tab). These tools are available since 3.0.\n") +document.write("

    \n") +document.write("
    \n") +document.write("\n") +document.write("\n") +document.write("
    \n") +document.write("\n") +document.write("\n") +document.write("
    \n") +document.write("
    \n") +document.write("
    \n") +document.write("
    \n") +document.write("\n") +document.write("\n") +document.write("
    \n") +document.write("\n") +document.write("

    Boot

    \n") +document.write("

    Floppy image set

    \n") +document.write("\n") +document.write("

    \n") +document.write("This floppy set will boot a Slitaz stable version. You can write floppies\n") +document.write("with SliTaz bootfloppybox, \n") +document.write("Windows rawrite or simply dd:\n") +document.write("

    # dd if=fd001.img of=/dev/fd0\n")
    +document.write("
    \n") +document.write("\n") +document.write("

    \n") +document.write("If you have a CD-ROM, an USB port and an USB key or a network card, but you\n") +document.write("can't boot these devices directly, then try\n") +document.write("floppy-grub4dos \n") +document.write("first. This 1.44Mb floppy provides tiny programs to boot these devices without BIOS\n") +document.write("support and some other tools.\n") +document.write("

    \n") diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-1.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/loram-1.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,24 @@ +

    You can start with one of the 2 following flavors:

    + +
      +
    • base needs 20MB of RAM and 5 floppies: fd001.img to + fd005.img.
      + base provides the minimum SliTaz distribution subset in text mode.
    • +
    • core needs 80MB of RAM and 24 floppies: fd001.img to + fd118.img.
      + core provides the default SliTaz distribution.
    • +
    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img.

    + +

    The loram bootstrap will then start and you will be prompted to insert extra +floppies for the core flavor. You can bypass this by using Q and Enter.

    + +

    If you have an ext3 partition on your hard disk, the bootstrap can create the +installation script slitaz/install.sh. You will be able to install +SliTaz on your hard disk without extra media.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-1.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/loram-1.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 22 March 2008, needs up to 80Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-2.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/loram-2.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,29 @@ +

    You can start with one of the 3 following flavors:

    + +
      +
    • base needs 24MB of RAM and 6 floppies: fd001.img to + fd006.img.
      + base provides the minimum SliTaz distribution subset in text mode.
    • +
    • justx needs 64MB of RAM and 13 floppies: fd001.img to + fd206.img.
      + justx provides the minimum SliTaz distribution subset with X11 + support.
    • +
    • core needs 96MB of RAM and 24 floppies: fd001.img to + fd310.img.
      + core provides the default SliTaz distribution.
    • +
    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img.

    + +

    The loram bootstrap will then start and you will be prompted to insert extra +floppies for base, justx and core flavors. You can bypass this by using Q and +Enter.

    + +

    If you have an ext3 partition on your hard disk, the bootstrap can create the +installation script slitaz/install.sh. You will be able to install +SliTaz on your hard disk without extra media.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-2.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/loram-2.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 16 April 2009, needs up to 96Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-3.0/description.html --- a/mirror-tools/slitaz/mirror/floppies/loram-3.0/description.html Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/loram-3.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -1,29 +1,26 @@ -

    -You can start with one of the 3 following flavors : -

    +

    You can start with one of the 3 following flavors:

    +
      -
    • - base needs 22Mb of RAM and 6 floppies: fd001.img to fd103.img.
      - base provides the minimum slitaz distribution subset in text mode. -
    • -
    • - justx needs 64M of RAM and 13 floppies: fd001.img to fd206.img.
      - justx provides the minimum slitaz distribution subset with X11 support. -
    • -
    • - core needs 92M of RAM and 25 floppies: fd001.img to fd311.img.
      - core provides the default slitaz distribution. -
    • +
    • base needs 32MB of RAM and 6 floppies: fd001.img to + fd006.img.
      + base provides the minimum SliTaz distribution subset in text mode.
    • +
    • justx needs 64MB of RAM and 13 floppies: fd001.img to + fd106.img.
      + justx provides the minimum SliTaz distribution subset with X11 + support.
    • +
    • core needs 96MB of RAM and 24 floppies: fd001.img to + fd210.img.
      + core provides the default SliTaz distribution.
    -

    -Start your computer with fd001.img. It will show the kernel version string and -the kernel cmdline line. You can edit the cmdline. Most users can just press Enter. -

    -

    -The floppy is then loaded into memory (one dot each 64k) and you will be prompted to -insert the next floppy, fd002.img. -

    -

    -The loram bootstrap will then start and you will be prompted to insert extra floppies -for base, justx and core flavors. You can bypass this by using Q and Enter. -

    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to last +floppy.

    + +

    You will be prompted to insert extra floppies for justx, gtkonly and core +flavors. You can bypass this by using B to boot without loading extra +floppies.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-3.0/title --- a/mirror-tools/slitaz/mirror/floppies/loram-3.0/title Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/loram-3.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -1,1 +1,1 @@ -Released on 28 March 2010, needs 80b RAM +Released on 28 March 2010, needs up to 96Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-4.0/description.html --- a/mirror-tools/slitaz/mirror/floppies/loram-4.0/description.html Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/loram-4.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -1,33 +1,30 @@ -

    -You can start with one of the 4 following flavors : -

    +

    You can start with one of the 4 following flavors:

    +
      -
    • - base needs 38Mb of RAM and 6 floppies: fd001.img to fd103.img.
      - base provides the minimum slitaz distribution subset in text mode. -
    • -
    • - justx needs 68M of RAM and 13 floppies: fd001.img to fd206.img.
      - justx provides the minimum slitaz distribution subset with X11 support. -
    • -
    • - gtkonly needs 111M of RAM and 18 floppies: fd001.img to fd304.img.
      - gtkonly provides the minimum slitaz distribution subset with Gtk+ support. -
    • -
    • - core needs 128M of RAM and 29 floppies: fd001.img to fd410.img.
      - core provides the default slitaz distribution. -
    • +
    • base needs 38MB of RAM and 6 floppies: fd001.img to + fd006.img.
      + base provides the minimum SliTaz distribution subset in text mode.
    • +
    • justx needs 64MB of RAM and 13 floppies: fd001.img to + fd106.img.
      + justx provides the minimum SliTaz distribution subset with X11 + support.
    • +
    • gtkonly needs 96MB of RAM and 18 floppies: fd001.img to + fd204.img.
      + gtkonly provides the minimum SliTaz distribution subset with GTK+ + support.
    • +
    • core needs 128MB of RAM and 28 floppies: fd001.img to + fd309.img.
      + core provides the default SliTaz distribution.
    -

    -Start your computer with fd001.img. It will show the kernel version string and -the kernel cmdline line. You can edit the cmdline. Most users can just press Enter. -

    -

    -The floppy is then loaded into memory (one dot each 64k) and you will be prompted to -insert the next floppy, fd002.img. -

    -

    -The loram bootstrap will then start and you will be prompted to insert extra floppies -for base, justx and core flavors. You can bypass this by using Q and Enter. -

    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to last +floppy.

    + +

    You will be prompted to insert extra floppies for justx, gtkonly and core +flavors. You can bypass this by using B to boot without loading extra +floppies.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-4.0/title --- a/mirror-tools/slitaz/mirror/floppies/loram-4.0/title Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/loram-4.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -1,1 +1,1 @@ -Released on 10 April 2012, needs 128Mb RAM +Released on 10 April 2012, needs up to 128Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-rolling/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/loram-rolling/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,27 @@ +

    You can start with one of the 4 following flavors:

    + +
      +
    • base needs 34MB of RAM and 9 floppies: + fd001.img to fd009.img.
      + base provides the minimum SliTaz distribution subset in text mode.
    • +
    • justx needs 83MB of RAM and 18 floppies: + fd001.img to fd108.img.
      + justx provides the minimum SliTaz distribution subset with X11 support.
    • +
    • gtkonly needs 123MB of RAM and 26 floppies: + fd001.img to fd207.img.
      + gtkonly provides the minimum SliTaz distribution subset with GTK+ support.
    • +
    • core needs 137MB of RAM and 36 floppies: + fd001.img to fd309.img.
      + core provides the default SliTaz distribution.
    • +
    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to last +floppy.

    + +

    You will be prompted to insert extra floppies for the next flavors. +You can bypass this by using B to boot without loading extra floppies.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/loram-rolling/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/loram-rolling/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Built on 2017-08-27, needs up to 137Mb of RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/menu.css --- a/mirror-tools/slitaz/mirror/floppies/menu.css Fri Apr 28 14:08:02 2017 +0100 +++ b/mirror-tools/slitaz/mirror/floppies/menu.css Fri Sep 01 17:28:05 2017 +0200 @@ -1,35 +1,42 @@ #menu { margin: 0; - padding: 0; + padding: 0 2ex 0 0; + display: inline-block; + vertical-align: middle; } #menu li { list-style: none; float: left; padding: 0; + white-space: nowrap; + border: 1px solid transparent; } #menu li a { display: block; padding: 4px 6px; background-color: inherit; text-decoration: none; - cursor: default; } #menu li a:hover { - color: #ffffff; - background-color: #d66018; + color: #222; + background-color: #CCC; border-top-right-radius: 3px; border-top-left-radius: 3px; } #menu li ul { - display: none; - width: 180px; - background-color: #f1efeb; - border: 1px solid #c1baad; + display: none; + background-color: #F1EFEB; + border: 1px solid #C1BAAD; } #menu li ul a { padding: 4px 6px; + display: inline-block; } + +#menu > li > ul > li:after { content: "‣"; display: inline-block; } +#menu li:only-child:after { content: " "; } + #menu li:hover ul { display: block; position: absolute; @@ -38,18 +45,29 @@ } #menu li:hover li { float: none; + position: relative; } #menu li:hover li a { - background-color: #f1efeb; - color: #000; + background-color: #F1EFEB; + color: #222; } #menu li li a { - border: 1px solid #f1efeb; + border: 1px solid #F1EFEB; } #menu li li a:hover { - background-color: #d66018; - color: #ffffff; + background-color: #CCC; + color: #222; border-radius: 2px; - /* border: 1px solid #c1baad; */ } +#menu li:hover li ul { + display: none; + position: absolute; + left: 100%; + top: 0px; + z-index:1; +} + +#menu li:hover li:hover ul { + display: block; +} diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mini-1.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mini-1.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,16 @@ +

    This floppy set uses the BIOS instead of the linux driver. You can boot +SliTaz using unsupported floppy drives such as some PCMCIA devices.

    + +

    The loram version of the base flavor is launched (text mode only).

    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd005.img.

    + +

    If you have an ext3 partition on your hard disk, the bootstrap can create +the installation script slitaz/install.sh. You will be able to +install SliTaz on your hard disk without extra media.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mini-1.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mini-1.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 22 March 2008, text mode, needs 20Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mini-2.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mini-2.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,16 @@ +

    This floppy set uses the BIOS instead of the linux driver. You can boot +SliTaz using unsupported floppy drives such as some PCMCIA devices.

    + +

    The loram version of the base flavor is launched (text mode only).

    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd006.img.

    + +

    If you have an ext3 partition on your hard disk, the bootstrap can create the +installation script slitaz/install.sh. You will be able to install +SliTaz on your hard disk without extra media.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mini-2.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mini-2.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 16 April 2009, text mode, needs 24Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mini-3.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mini-3.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,16 @@ +

    This floppy set uses the BIOS instead of the linux driver. You can boot +SliTaz using unsupported floppy drives such as some PCMCIA devices.

    + +

    The loram version of the base flavor is launched (text mode only).

    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd006.img.

    + +

    If you have an ext3 partition on your hard disk, the bootstrap can create the +installation script slitaz/install.sh. You will be able to install +SliTaz on your hard disk without extra media.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mini-3.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mini-3.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 28 March 2010, text mode, needs 28Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mini-4.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mini-4.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,16 @@ +

    This floppy set uses the BIOS instead of the linux driver. You can boot +SliTaz using unsupported floppy drives such as some PCMCIA devices.

    + +

    The loram version of the base flavor is launched (text mode only).

    + +

    Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

    + +

    The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd006.img.

    + +

    If you have an ext3 partition on your hard disk, the bootstrap can create the +installation script slitaz/install.sh. You will be able to install +SliTaz on your hard disk without extra media.

    diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mini-4.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mini-4.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 10 April 2012, text mode, needs 38Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/mkfdrolling.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/mkfdrolling.sh Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,67 @@ +#!/bin/sh + +WD=$(cd $(dirname $0); pwd) +while read name iso; do + cd $WD/$name + ISO=../../$iso + if [ ! -s fd001.img ] || [ $ISO -nt fd001.img ]; then + rm -f fd* 2> /dev/null + taziso $ISO floppyset > /dev/null + md5sum fd* > md5sum + mnt=/mnt$$ + mkdir $mnt + mount -o loop,ro $ISO $mnt + mtime=$(stat -c %y $mnt/md5sum | cut -f1 -d ' ') + #mtime=$(LC_ALL=C date '+%d %B %Y' -d $mtime) + set -- $(sed '/ifmem/!d;s/.*ifmem //' $mnt/boot/isolinux/isolinux.cfg \ + | sed 's|^|echo |;s|\([0-9][0-9]*\) |$((\1/1024))M |g' | sh) + umount $mnt + rmdir $mnt + echo "Built on $mtime, needs up to ${1}b of RAM" > title + n=0; x=1; while [ -n "$x" ]; do n=$(($n+2)); eval x=\$$n; done + n=$((($n - 2) / 2)) + cat > description.html <You can start with one of the $n following flavors:

    + +
      +EOT + i=0 + while [ $i -lt $n ]; do + eval flavor=\$$((($n - $i)*2)) + eval ram=\$$((($n - $i)*2 -1)) + cat >> description.html <$flavor needs ${ram}B of RAM and $(ls fd* | \ + awk "/fd$(($i+1))/{q=1}{if(!q)n++}END{print n}") floppies: + fd001.img to $(ls -r fd${i}* | sed q).
      + $flavor provides $(while read f d; do + [ $f == $flavor ] && echo $d; done < +EOT + i=$(($i+1)) + done + cat >> description.html < + +

      Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

      + +

      The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to last +floppy.

      + +

      You will be prompted to insert extra floppies for the next flavors. +You can bypass this by using B to boot without loading extra floppies.

      +EOT + cd .. + ./mkindex.sh $name > index-$name.html + fi +done < - + + SliTaz Boot Floppies - - - - - - - + + + + + + + + - - - + -
      - -
      -

      @1.44Mb SliTaz$LORAM $VERSION floppy images

      - -$( -n=0 -for f in $DIR/fd*img ; do - [ $n -eq 0 ] && echo "" - echo " " - n=$(( ($n+1)&3 )) - [ $n -eq 0 ] && echo "" -done -[ $n -eq 0 ] && echo "" -while [ $n -ne 3 ]; do - echo " " - n=$(($n+1)) -done -) - - -
      $(basename $f)
      md5sum
      -
      +
      + -
      -

      Available boot floppies

      +
      +
      Available boot floppies
        $( tail="" -list_version | while read dir; do +list_version | \ +while read dir; do case "$dir" in - loram*) echo -en "\n loram" ;; - *) echo -en "$tail
      • SliTaz $dir" ;; + web*) echo -en "\n · web" ;; + mini*) echo -en "\n · mini" ;; + loram*) echo -en "\n · loram" ;; + *) echo -en "$tail
      • SliTaz $dir" ;; esac tail="
      • \n" done )
      -
      - - -
      -
      -
      -
      + + + +
      + -
      +
      -

      Floppy image set

      +

      $TITLE

      -

      -This floppy set will boot a SliTaz stable$LORAM version. You can write floppies -with SliTaz bootfloppybox, -Windows rawrite or simply dd: -

      # dd if=fd001.img of=/dev/fd0
      -
      +

      This floppy set will boot a SliTaz $stable$TYPE version. You can write floppies +with SliTaz bootfloppybox, Windows rawrite +or simply dd:

      -

      -If you have a CD-ROM, an USB port and an USB key or a network card, but you -can't boot these devices directly, then try -floppy-grub4dos -first. This 1.44Mb floppy provides tiny programs to boot these devices without BIOS -support and some other tools. -

      +
      # dd if=fd001.img of=/dev/fd0
      + +

      If you have a CD-ROM, an USB port and an USB key or a network card, but you +can't boot these devices directly, then try floppy-grub4dos first. This 1.44Mb floppy provides tiny programs to boot +these devices without BIOS support and some other tools.

      + $(cat $DIR/description.html) -

      -Each floppy set detects disk swaps and can be used without a keyboard. -

      -

      -If you have an ext3 partition on your hard disk, the bootstrap can create the -installation script slitaz/install.sh. You will be able to install SliTaz -on your hard disk without extra media. -

      -

      -Good luck. -

      - -

      ISO image floppy set

      +

      Each floppy set detects disk swaps and can be used without a keyboard.

      -
      -

      -The floppy image set above includes an embedded installer and can install -SliTaz on your hard disk. -

      -

      -Anyway you may want these ISO images to - -install SliTaz - $( for file in $(ls ../iso/*/flavors/slitaz-*.iso ../iso/*/slitaz-*.iso | sort); do set -- $(echo $(basename $file .iso) | sed 's/-/ /g') - echo " " + echo " " done ) - - -

      + + + +

      -

      -You can restore the ISO image on your hard disk using : -

      + +

      You can restore the ISO image on your hard disk using:

      +
       # dd if=/dev/fd0 of=fdiso01.img
       # dd if=/dev/fd0 of=fdiso02.img
      @@ -194,37 +217,71 @@
       # cat fdiso*.img | cpio -i
       
      +

      Images generation

      -

      -All these floppy images are built with bootfloppybox from -a core or a 4in1 iso. The loram is preprocessed by -tazlitobox (Low RAM tab). These tools are available since 3.0. -You can extract the kernel, cmdline and rootfs files with -this tool -

      - -
      -
      -
      -
      -
      +
        +
      • All these floppy images are built from a core or a Nin1 + ISO.
      • +
      • The loram is preprocessed by tazlitobox (Low RAM + tab) or tazlito build-loram.
      • +
      • The versions 1.0 and 2.0 are built with bootfloppybox + available since 3.0.
      • +
      • The newer versions are built with taziso floppyset + available since 5.0.
      • +
      • You can extract the kernel, cmdline and rootfs* + files with this tool.
      • +
      • You can change the floppy format (to 2.88M, 1.2M ...) + with this tool.
      • +
      - -
      -

      -Copyright © SliTaz - -GNU General Public License -

      - -
      + + - -
      -

      -Valid XHTML 1.0 -

      -
      + + + + diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/resizefdset.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/resizefdset.sh Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,38 @@ +#!/bin/sh + +[ -z "$1" ] && +echo "Usage: $0 [360|720|1200|2880] resize a floppy disk set" && exit 2 +i=0 +while [ $(cat fd$i*.img 2> /dev/null | wc -c) -ne 0 ]; do + cat fd$i*.img | split -b ${1}k - fdx$$ + n=0; [ $i -eq 0 ] && n=1 + for f in fdx$$* ; do + [ -z "$(hexdump -C $f | sed 4!dq)" ] && rm $f && continue + x=fd$i$(printf "%02d" $n).$1 + mv $f $x + dd of=$x bs=1k seek=$1 count=0 2> /dev/null + ls -l $x + n=$(($n+1)) + done + i=$(($i+1)) +done +trk=80 +[ $1 -lt 720 ] && trk=40 +false && for i in $(seq 0 9) ; do + [ $(($1%($trk+$i))) -eq 0 ] || continue + for j in 362 369 ; do + [ $(od -j $j -N 2 -t u2 -An fd001.$1) -eq 20733 ] && + printf '\\\\x%02X' $(($trk+$i)) | xargs echo -en | \ + dd bs=1 seek=$(($j+1)) of=fd001.$1 conv=notrunc + done 2> /dev/null + break +done +false && if [ $1 -lt 200 ]; then + while read j d ; do + [ $(od -j $j -N 2 -t u2 -An fd001.$1) -eq $d ] && echo -en \ + \\xF6 | dd bs=1 seek=$(($j+1)) of=fd001.$1 conv=notrunc + done 2> /dev/null <You can start with one of the 4 following flavors:

      + +
        +
      • base needs 48MB of RAM and 8 floppies: + fd001.img to fd008.img.
        + base provides the minimum SliTaz distribution subset in text mode.
      • +
      • justx needs 128MB of RAM and 16 floppies: + fd001.img to fd107.img.
        + justx provides the minimum SliTaz distribution subset with X11 support.
      • +
      • gtkonly needs 192MB of RAM and 24 floppies: + fd001.img to fd207.img.
        + gtkonly provides the minimum SliTaz distribution subset with GTK+ support.
      • +
      • core needs 256MB of RAM and 32 floppies: + fd001.img to fd307.img.
        + core provides the default SliTaz distribution.
      • +
      + +

      Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

      + +

      The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to last +floppy.

      + +

      You will be prompted to insert extra floppies for the next flavors. +You can bypass this by using B to boot without loading extra floppies.

      diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/rolling/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/rolling/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Built on 2017-08-27, needs up to 256Mb of RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/web-1.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/web-1.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,12 @@ +

      This floppy set uses the BIOS instead of the linux driver. You can boot +SliTaz using unsupported floppy drives such as some PCMCIA devices.

      + +

      The web version of 1.0 is launched: the filesystem is mostly mounted +from the web.

      + +

      Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

      + +

      The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img.

      diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/web-1.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/web-1.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 22 March 2008, needs 48Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/web-2.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/web-2.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,13 @@ +

      This floppy set uses the BIOS instead of the linux driver. You can boot +SliTaz using unsupported floppy drives such as some PCMCIA devices.

      + +

      The web version of 2.0 is launched: the filesystem is mostly mounted +from the web.

      + +

      Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

      + +

      The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd004.img.

      diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/web-2.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/web-2.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 16 April 2009, needs 48Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/web-3.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/web-3.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,13 @@ +

      This floppy set uses the BIOS instead of the linux driver. You can boot +SliTaz using unsupported floppy drives such as some PCMCIA devices.

      + +

      The web version of 3.0 is launched: the filesystem is mostly mounted +from the web.

      + +

      Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

      + +

      The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd005.img.

      diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/web-3.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/web-3.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 28 March 2010, needs 48Mb RAM diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/web-4.0/description.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/web-4.0/description.html Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,13 @@ +

      This floppy set uses the BIOS instead of the linux driver. You can boot +SliTaz using unsupported floppy drives such as some PCMCIA devices.

      + +

      The web version of 4.0 is launched: the filesystem is mounted +from the web.

      + +

      Start your computer with fd001.img. It will show the kernel version +string and the kernel cmdline line. You can edit the cmdline. Most users can +just press Enter.

      + +

      The floppy is then loaded into memory (one dot each 64KB) and you will be +prompted to insert the next floppy, fd002.img. And so on up to +fd003.img.

      diff -r f63f28b5e6a1 -r 1c207a9e6d0c mirror-tools/slitaz/mirror/floppies/web-4.0/title --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mirror-tools/slitaz/mirror/floppies/web-4.0/title Fri Sep 01 17:28:05 2017 +0200 @@ -0,0 +1,1 @@ +Released on 10 April 2012, needs 24Mb RAM