slitaz-tools rev 477
bootfloppybox: tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Mar 28 19:11:14 2010 +0000 (2010-03-28) |
parents | 6ce5c045d8a1 |
children | 764a5707fd96 |
files | tinyutils/bootfloppybox |
line diff
1.1 --- a/tinyutils/bootfloppybox Sun Mar 28 17:59:24 2010 +0200 1.2 +++ b/tinyutils/bootfloppybox Sun Mar 28 19:11:14 2010 +0000 1.3 @@ -15,7 +15,7 @@ 1.4 fi 1.5 } 1.6 1.7 -# This function is used after each screen to contine or abort install. 1.8 +# This function is used after each screen to continue or abort install. 1.9 check_retval() 1.10 { 1.11 case $retval in 1.12 @@ -463,7 +463,7 @@ 1.13 cd - > /dev/null 1.14 rm -rf /tmp/rootfs$$/fs0 1.15 else 1.16 - # The rootfs.gz file fit in 15Mb, no need to split it. 1.17 + # The rootfs.gz file fits in 15MB, no need to split it. 1.18 rm -rf /tmp/rootfs$$/1 1.19 fi 1.20 else 1.21 @@ -564,7 +564,7 @@ 1.22 --backtitle "Boot floppy set creation on $DEVICE" --clear \ 1.23 --colors --radiolist " 1.24 Insert a blank floppy in drive and 1.25 -select the floppy image you what to write. 1.26 +select the floppy image you want to write. 1.27 " 18 46 46 \ 1.28 $(on="on"; for i in fd???.img; do echo "$i $(du -h $i | cut -f1) $on "; on="off"; done) 2>&1 1>&3` 1.29 retval=$? 1.30 @@ -577,8 +577,8 @@ 1.31 dialognofloppyset() 1.32 { 1.33 cat << EOT 1.34 -The boot loader can't load the kernel and the initramfs in the first 16Mb 1.35 -of RAM. The total size exceed 15Mb. No floppy image is created. 1.36 +The boot loader can't load the kernel and the initramfs in the first 16MB 1.37 +of RAM. The total size exceeds 15MB. No floppy image is created. 1.38 EOT 1.39 } 1.40 1.41 @@ -647,14 +647,14 @@ 1.42 " 1.43 </label> 1.44 </text> 1.45 - <notebook labels="Slitaz only|Any linux"> 1.46 + <notebook labels="Slitaz only|Any Linux"> 1.47 <frame Slitaz only (no size limit)> 1.48 <vbox> 1.49 <text wrap="false" width-chars="44" use-markup="true"> 1.50 <label> 1.51 " 1.52 -Slitaz distro use a floppy boot flavor as first 1.53 -stage boot to break the tiny loader 15Mb limit. 1.54 +Slitaz uses a floppy boot flavor as a first 1.55 +stage boot to break the tiny loader 15MB limit. 1.56 " 1.57 </label> 1.58 </text> 1.59 @@ -695,13 +695,13 @@ 1.60 </hbox> 1.61 </vbox> 1.62 </frame> 1.63 - <frame Any Linux distribution (max total size 14-15Mb)> 1.64 + <frame Any Linux distribution (max total size 14-15MB)> 1.65 <vbox> 1.66 <text wrap="false" width-chars="44" use-markup="true"> 1.67 <label> 1.68 " 1.69 The total size of the kernel and the initramfs must be 1.70 -lower than 14-15Mb due to the tiny boot loader design. 1.71 +lower than 14-15MB due to the tiny boot loader design. 1.72 " 1.73 </label> 1.74 </text> 1.75 @@ -869,8 +869,8 @@ 1.76 <frame WARNING> 1.77 <text> 1.78 <label> 1.79 -\"This floppy set breaks 15Mb limit ($1 bytes). 1.80 -It should not be able to complete boot process.\" 1.81 +\"This floppy set breaks the 15MB limit ($1 bytes). 1.82 +It should not be able to complete the boot process.\" 1.83 </label> 1.84 </text> 1.85 </frame> 1.86 @@ -921,8 +921,8 @@ 1.87 else 1.88 if [ $sz -gt $((15 * 1024 * 1024)) ]; then 1.89 cat <<EOT 1.90 -This floppy set breaks 15Mb limit ($sz bytes). 1.91 -It should not be able to complete boot process. 1.92 +This floppy set breaks the 15MB limit ($sz bytes). 1.93 +It should not be able to complete the boot process. 1.94 EOT 1.95 fi 1.96 fi 1.97 @@ -1178,9 +1178,9 @@ 1.98 <text wrap="true" width-chars="58" use-markup="true"> 1.99 <label> 1.100 " 1.101 -Only people without CD-ROM, USB and Network should use a floppy set. 1.102 +Only people without a CD-ROM, USB and Network should use a floppy set. 1.103 The images are built from an ISO boot or from a Linux kernel, an initramfs 1.104 -and a boot command line. Non Slitaz boot floppy set are limited to 15Mb. 1.105 +and a boot command line. Non Slitaz boot floppy sets are limited to 15MB. 1.106 " 1.107 </label> 1.108 </text>