wok-6.x rev 8067

mirror-tools: add css & floppies
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 21 11:58:56 2011 +0100 (2011-01-21)
parents 874e4034d260
children 98134ab06017
files mirror-tools/stuff/var/www/slitaz/mirror/css/favicon.ico mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/Directory mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/application_octet-stream mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_fd mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_iso mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_md5 mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_tar.gz mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_tazpkg mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/text_plain mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/header-img.png mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/logo.png mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/network.png mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/users.png mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/xhtml10.png mirror-tools/stuff/var/www/slitaz/mirror/css/slitaz.css mirror-tools/stuff/var/www/slitaz/mirror/floppies/builder/bootloader mirror-tools/stuff/var/www/slitaz/mirror/floppies/builder/index.php mirror-tools/stuff/var/www/slitaz/mirror/floppies/index.html mirror-tools/stuff/var/www/slitaz/mirror/floppies/loram/index.html
line diff
     1.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/favicon.ico has changed
     2.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/Directory has changed
     3.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/application_octet-stream has changed
     4.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_fd has changed
     5.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_iso has changed
     6.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_md5 has changed
     7.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_tar.gz has changed
     8.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/file_tazpkg has changed
     9.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/mime/text_plain has changed
    10.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/header-img.png has changed
    11.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/logo.png has changed
    12.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/network.png has changed
    13.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/users.png has changed
    14.1 Binary file mirror-tools/stuff/var/www/slitaz/mirror/css/pics/website/xhtml10.png has changed
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/mirror-tools/stuff/var/www/slitaz/mirror/css/slitaz.css	Fri Jan 21 11:58:56 2011 +0100
    15.3 @@ -0,0 +1,587 @@
    15.4 +/*
    15.5 +	CSS style for SliTaz GNU/Linux website
    15.6 +	www.slitaz.org - (c) 2011 Pankso
    15.7 +*/
    15.8 +
    15.9 +html {
   15.10 +	min-height:  102%;
   15.11 +}
   15.12 +
   15.13 +body {
   15.14 +	background: #ffffff;
   15.15 +	color: black;
   15.16 +	font: 13px sans-serif, vernada, arial;
   15.17 +	margin: 0;
   15.18 +	border-top: 34px solid #f1f1f1;
   15.19 +}
   15.20 +
   15.21 +/* Accessibility */
   15.22 +
   15.23 +#access {
   15.24 +	position: absolute;
   15.25 +	top: 4px;
   15.26 +	right: 0px;
   15.27 +	text-align: right;
   15.28 +	width: auto;
   15.29 +	margin: 0;
   15.30 +	padding: 4px 4px 4px 20px;
   15.31 +	font-size: 11px;
   15.32 +	font-weight: bold;
   15.33 +}
   15.34 +
   15.35 +#access a {
   15.36 +	background: transparent;
   15.37 +	color: #0F314E;
   15.38 +	text-decoration: none;
   15.39 +}
   15.40 +
   15.41 +#access a:hover {
   15.42 +	background: inherit;
   15.43 +	color: #b64b22;
   15.44 +}
   15.45 +
   15.46 +#access img {
   15.47 +	vertical-align: middle;
   15.48 +}
   15.49 +
   15.50 +/* Header and title */
   15.51 +
   15.52 +#header {
   15.53 +	/*background: #f0ba08 url(pics/website/header.png) repeat-x top;*/
   15.54 +	background: #351a0a url(pics/website/header-img.png) no-repeat top right;
   15.55 +	color: black;
   15.56 +	width: 100%;
   15.57 +	height: 42px;
   15.58 +	border-top: 1px solid black;
   15.59 +	border-bottom: 1px solid #999;
   15.60 +	margin-bottom: 33px;
   15.61 +}
   15.62 +
   15.63 +#titre {
   15.64 +	position: absolute;
   15.65 +	font-size: 14px;
   15.66 +	font-weight: bolder ;
   15.67 +	left: 180px;
   15.68 +	top: 4px;
   15.69 +}
   15.70 +
   15.71 +#logo {
   15.72 +	position: absolute;
   15.73 +	float: left;
   15.74 +	left: 16px;
   15.75 +	top: -10px;
   15.76 +	width: 200px;
   15.77 +	height: 74px;
   15.78 +}
   15.79 +
   15.80 +/* Side bar Navigation */
   15.81 +
   15.82 +#nav {
   15.83 +	position: absolute;
   15.84 +	top: 102px;
   15.85 +	right: 80px;
   15.86 +	color: #555555;
   15.87 +	float: right;
   15.88 +	width: 250px;
   15.89 +	line-height: 1.5em;
   15.90 +	text-align: left;
   15.91 +	font-size: 12px;
   15.92 +}
   15.93 +
   15.94 +#nav .nav_box ul {
   15.95 +	list-style-type: none;
   15.96 +	margin: 0;
   15.97 +	padding: 10px 24px 10px 0px;
   15.98 +	background-color: inherit;
   15.99 +}
  15.100 +
  15.101 +#nav li {
  15.102 +	display: inline;
  15.103 +}
  15.104 +
  15.105 +#nav h4 {
  15.106 +	font-size: 120%;
  15.107 +	color: #666666;
  15.108 +	font-weight: bold;
  15.109 +	margin: 0;
  15.110 +	padding: 0 0 1px 0;
  15.111 +	border-bottom: 1px solid #cecece;
  15.112 +}
  15.113 +
  15.114 +#nav a {
  15.115 +	color: #0F314E;
  15.116 +	background: inherit;
  15.117 +	display: block;
  15.118 +	text-decoration: none;
  15.119 +	font-weight: bold;
  15.120 +}
  15.121 +
  15.122 +#nav a:hover {
  15.123 +	color: #b64b22;
  15.124 +	text-decoration: none;
  15.125 +	display: block;
  15.126 +}
  15.127 +
  15.128 +#nav ul {
  15.129 +	-moz-border-radius: 8px;
  15.130 +	-webkit-border-radius: 8px;
  15.131 +	border-radius: 8px;
  15.132 +	list-style-type: none;
  15.133 +	margin: 10px 0;
  15.134 +	padding: 10px 24px 10px 24px;
  15.135 +	background-color: #eaeaea;
  15.136 +}
  15.137 +
  15.138 +.nav_box {
  15.139 +	margin: 10px 0;
  15.140 +	padding: 10px 24px 10px 24px;
  15.141 +	background-color: #eaeaea;
  15.142 +	text-align: justify;
  15.143 +	-moz-border-radius: 8px;
  15.144 +	-webkit-border-radius: 8px;
  15.145 +	border-radius: 8px;
  15.146 +	-moz-box-shadow: 0 1px 3px #666;
  15.147 +	-webkit-box-shadow: 0 1px 3px #666;
  15.148 +	box-shadow: 0 1px 3px #666;
  15.149 +	/* CSS3 transition */
  15.150 +	-webkit-transition-property: background-color;
  15.151 +	-webkit-transition-duration: 2s;
  15.152 +	-moz-transition-property: background-color;
  15.153 +	-moz-transition-duration: 2s;
  15.154 +	transition-property: background-color;
  15.155 +	transition-duration: 2s;
  15.156 +}
  15.157 +
  15.158 +.nav_box:hover { background-color: #f8f8f8; }
  15.159 +
  15.160 +#nav .nav_box p {
  15.161 +	line-height: 1.3em;
  15.162 +}
  15.163 +
  15.164 +#nav .nav_box p a {
  15.165 +	display: inline;
  15.166 +	font-weight: normal;
  15.167 +	text-decoration: underline;
  15.168 +}
  15.169 +
  15.170 +#nav .nav_box p a:hover {
  15.171 +	text-decoration: none;
  15.172 +	color: blue;
  15.173 +	background: inherit;
  15.174 +}
  15.175 +
  15.176 +/* Page content */
  15.177 +
  15.178 +#content {
  15.179 +	background: white;
  15.180 +	color: black;
  15.181 +	text-align: justify;
  15.182 +	height: auto;
  15.183 +	margin: 6px 320px 0px 0px;
  15.184 +	padding: 0px 40px 60px 80px;
  15.185 +}
  15.186 +
  15.187 +#content-full {
  15.188 +	background: white;
  15.189 +	color: black;
  15.190 +	text-align: justify;
  15.191 +	height: auto;
  15.192 +	margin: 0;
  15.193 +	padding: 0px 80px 40px 80px;
  15.194 +}
  15.195 +
  15.196 +#content li, #content-full li {
  15.197 +	line-height: 1.5em;
  15.198 +	text-align: left;
  15.199 +}
  15.200 +
  15.201 +#news li {
  15.202 +	list-style-type: square;
  15.203 +	border-bottom: 1px dotted #BEBEBE;
  15.204 +	margin-left: -25px;
  15.205 +	padding: 4px 0px 4px 0px;
  15.206 +}
  15.207 +
  15.208 +#news a {
  15.209 +	text-decoration: none;
  15.210 +}
  15.211 +
  15.212 +#gallery {
  15.213 +	text-align: center;
  15.214 +}
  15.215 +
  15.216 +/* Box and block. */
  15.217 +
  15.218 +.infobox {
  15.219 +	margin: 20px 60px;
  15.220 +	padding: 12px;
  15.221 +	background: #f8f8f8;
  15.222 +}
  15.223 +
  15.224 +.infobox img { vertical-align: middle; }
  15.225 +/* .infobox:hover { background-color: #f2b21d; } */
  15.226 +.infobox:hover { background-color: #FBFBFB; }
  15.227 +
  15.228 +.block {
  15.229 +	/*padding-bottom: 35%;*/
  15.230 +	color: black;
  15.231 +	min-height: 200px;
  15.232 +	margin-bottom: 40px;
  15.233 +}
  15.234 +
  15.235 +.block ul {
  15.236 +	list-style-type: none;
  15.237 +	margin: 0;
  15.238 +	padding: 0 20px;
  15.239 +}
  15.240 +
  15.241 +.block_left {
  15.242 +	width: 46%;
  15.243 +	float: left;
  15.244 +	background-color: #eaeaea;
  15.245 +	margin: 4px 2px;
  15.246 +	padding: 0 10px 10px 10px;
  15.247 +}
  15.248 +
  15.249 +.block_right {
  15.250 +	width: 46%;
  15.251 +	float: right;
  15.252 +	background-color: #eaeaea;
  15.253 +	margin: 4px 2px;
  15.254 +	padding: 0 10px 10px 10px;
  15.255 +}
  15.256 +
  15.257 +#block_top {
  15.258 +	color: black;
  15.259 +	background-color: #eaeaea;
  15.260 +	min-height: 180px;
  15.261 +	margin-bottom: 40px;
  15.262 +	margin-right: 340px;
  15.263 +	padding: 0 10px;
  15.264 +}
  15.265 +
  15.266 +#block_nav {
  15.267 +	width: 300px;
  15.268 +	min-height: 180px;
  15.269 +	float: right;
  15.270 +	background-color: #eaeaea;
  15.271 +	margin: 0;
  15.272 +	padding: 0 10px;
  15.273 +}
  15.274 +
  15.275 +.infobox, .block_left, .block_right, #block_top, #block_nav, #footer {
  15.276 +	-moz-border-radius: 8px;
  15.277 +	-webkit-border-radius: 8px;
  15.278 +	border-radius: 8px;
  15.279 +	-moz-box-shadow: 0 1px 3px #666;
  15.280 +	-webkit-box-shadow: 0 1px 3px #666;
  15.281 +	box-shadow: 0 1px 3px #666;
  15.282 +	/* CSS3 transition */
  15.283 +	-webkit-transition-property: background-color;
  15.284 +	-webkit-transition-duration: 2s;
  15.285 +	-moz-transition-property: background-color;
  15.286 +	-moz-transition-duration: 2s;
  15.287 +	transition-property: background-color;
  15.288 +	transition-duration: 2s;
  15.289 +}
  15.290 +
  15.291 +#block_nav {
  15.292 +	font-weight: bold;
  15.293 +}
  15.294 +
  15.295 +#block_nav a {
  15.296 +	text-decoration: none;
  15.297 +}
  15.298 +
  15.299 +#block_nav li a:hover {
  15.300 +	color: #b64b22;
  15.301 +}
  15.302 +
  15.303 +#block_nav ul {
  15.304 +	margin: 0;
  15.305 +	list-style-type: none;
  15.306 +}
  15.307 +
  15.308 +#block_nav h3 {
  15.309 +	font-size: 110%;
  15.310 +}
  15.311 +
  15.312 +.block_left:hover, .block_right:hover, #block_top:hover,
  15.313 +#block_nav:hover, #footer:hover { 
  15.314 +	background-color: #f8f8f8;
  15.315 +}
  15.316 +
  15.317 +.right_box {
  15.318 +	width: 50%;
  15.319 +	float: right;
  15.320 +}
  15.321 +
  15.322 +.floor {
  15.323 +	color: #999999;
  15.324 +	font-size: 20px;
  15.325 +	-webkit-transform: rotate(-45deg) skew(15deg, 15deg);
  15.326 +	-moz-transform: rotate(-45deg) skew(15deg, 15deg);
  15.327 +	-o-transform: rotate(-45deg) skew(15deg, 15deg);
  15.328 +	-ms-transform: rotate(-45deg) skew(15deg, 15deg);
  15.329 +	transform: rotate(-45deg) skew(15deg, 15deg);
  15.330 +}
  15.331 +	
  15.332 +/* Button */
  15.333 +
  15.334 +.button { margin-left: 20px; }
  15.335 +
  15.336 +.button a { 
  15.337 +	background-color: #b64b22;
  15.338 +	color: #ffffff;
  15.339 +	margin-right: 6px;
  15.340 +	padding: 6px 10px;
  15.341 +	font-size: 14px;
  15.342 +	-moz-border-radius: 4px;
  15.343 +	-webkit-border-radius: 4px;
  15.344 +	border-radius: 4px;
  15.345 +	-moz-box-shadow: 0 1px 3px #666;
  15.346 +	-webkit-box-shadow: 0 1px 3px #666;
  15.347 +	box-shadow: 0 1px 3px #666;
  15.348 +}
  15.349 +
  15.350 +.button a:hover, input[type=submit]:hover { 
  15.351 +	background-color: #a3431f;
  15.352 +	color: #ffffff;
  15.353 +}
  15.354 +
  15.355 +input[type=submit] {
  15.356 +	border: 1px solid #b64b22;
  15.357 +	background-color: #b64b22;
  15.358 +	color: white;
  15.359 +	font-weight: bold;
  15.360 +	cursor: pointer;
  15.361 +	padding: 2px 10px;
  15.362 +	font-size: 14px;
  15.363 +	-moz-border-radius: 2px;
  15.364 +	-webkit-border-radius: 2px;
  15.365 +	border-radius: 2px;
  15.366 +	-moz-box-shadow: 0 0 5px #666;
  15.367 +	-webkit-box-shadow: 0 0 5px#666;
  15.368 +	box-shadow: 0 0 5px #666;
  15.369 +}
  15.370 +
  15.371 +input[type=text] {
  15.372 +	border: 1px solid #333333;
  15.373 +	padding: 3px;
  15.374 +	width: 100%;
  15.375 +	max-width: 500px;
  15.376 +}
  15.377 +
  15.378 +/* Clouds */
  15.379 +
  15.380 +#cloud {
  15.381 +	padding: 10px 0px;
  15.382 +	line-height: 3em;
  15.383 +	text-align: center;
  15.384 +}
  15.385 +#cloud a { padding: 0 2px; color: #956411; }
  15.386 +#cloud a.tag1 { font-size: 0.7em; font-weight: 100; }
  15.387 +#cloud a.tag2 { font-size: 0.8em; font-weight: 200; }
  15.388 +#cloud a.tag3 { font-size: 0.9em; font-weight: 300; }
  15.389 +#cloud a.tag4 { font-size: 1.0em; font-weight: 400; }
  15.390 +#cloud a.tag5 { font-size: 1.2em; font-weight: 500; }
  15.391 +#cloud a.tag6 { font-size: 1.4em; font-weight: 600; }
  15.392 +#cloud a.tag7 { font-size: 1.6em; font-weight: 700; }
  15.393 +#cloud a.tag8 { font-size: 1.8em; font-weight: 800; }
  15.394 +#cloud a.tag9 { font-size: 2.2em; font-weight: 900; }
  15.395 +#cloud a.tag10 { font-size: 2.5em; font-weight: 900; }
  15.396 +
  15.397 +/* Slideshow. */
  15.398 +
  15.399 +#slideshow
  15.400 +{
  15.401 +	overflow: hidden;
  15.402 +	margin: 10px auto 10px;
  15.403 +	position: relative;
  15.404 +	width: 260px;
  15.405 +	height: 163px;
  15.406 +}
  15.407 +
  15.408 +#slideshow img
  15.409 +{
  15.410 +	border: 0;
  15.411 +	width: 260px;
  15.412 +	height: 163px;
  15.413 +}
  15.414 +
  15.415 +#twitter {
  15.416 +	margin-top: 20px;
  15.417 +	-moz-border-radius: 8px;
  15.418 +	-webkit-border-radius: 8px;
  15.419 +	border-radius: 8px;
  15.420 +	-moz-box-shadow: 0 1px 3px #666;
  15.421 +	-webkit-box-shadow: 0 1px 3px #666;
  15.422 +	box-shadow: 0 1px 3px #666;
  15.423 +}
  15.424 +
  15.425 +/* HTML styles */
  15.426 +
  15.427 +h1 {
  15.428 +	color: #444444;
  15.429 +	background: transparent;
  15.430 +	text-align: left;
  15.431 +	margin: 0px 0px 4px 0px;
  15.432 +	font-size: 150%;
  15.433 +	font-weight: bold;
  15.434 +	padding: 5px 0 0 10px;
  15.435 +}
  15.436 +
  15.437 +h2 {
  15.438 +	color: #b64b22;
  15.439 +	padding: 0;
  15.440 +	margin: 20px 0 0 0;
  15.441 +	font-size: 130%;
  15.442 +	font-weight: bold;
  15.443 +}
  15.444 +
  15.445 +h3 {
  15.446 +	font-weight: bold;
  15.447 +	color: #666666;
  15.448 +	background: transparent;
  15.449 +}
  15.450 +	
  15.451 +h3 img { 
  15.452 +	vertical-align: middle;
  15.453 +	width: 20px;
  15.454 +	height: 20px;
  15.455 +	padding-right: 4px; 
  15.456 +}
  15.457 +
  15.458 +a {
  15.459 +	text-decoration: underline;
  15.460 +	color: #103A5E;
  15.461 +	background: inherit;
  15.462 +}
  15.463 +
  15.464 +a:hover {
  15.465 +	text-decoration: none;
  15.466 +	color: blue;
  15.467 +	background: inherit;
  15.468 +}
  15.469 +
  15.470 +code {
  15.471 +	font-size: 12px;
  15.472 +	color: #669900;
  15.473 +	background: inherit;
  15.474 +}
  15.475 +
  15.476 +tt {
  15.477 +	color: #15EE15;
  15.478 +	background: inherit;
  15.479 +}
  15.480 +
  15.481 +img {
  15.482 +	border: 0pt none;
  15.483 +}
  15.484 +
  15.485 +fieldset {
  15.486 +	background: #E2ECf6;
  15.487 +	color: black;
  15.488 +	margin-top: 25px;
  15.489 +	border: 1px solid black;
  15.490 +}
  15.491 +
  15.492 +legend {
  15.493 +	border: 1px solid black;
  15.494 +	color: #6c0023;
  15.495 +	background: #eaeaea;
  15.496 +	font-weight: bold;
  15.497 +}
  15.498 +
  15.499 +pre {
  15.500 +	padding: 5px;
  15.501 +	color: black;
  15.502 +	background: #E1E0B0;
  15.503 +}
  15.504 +
  15.505 +pre.script {
  15.506 +	padding: 10px;
  15.507 +	color: black;
  15.508 +	background: #E8E8E8;
  15.509 +	border: 1px inset #606060;
  15.510 +}
  15.511 +
  15.512 +textarea {
  15.513 +	background: #E5E5E5;
  15.514 +	margin-top: 12px;
  15.515 +}
  15.516 +
  15.517 +/* Packages pages */
  15.518 +
  15.519 +.pkg_nav {
  15.520 +	border-top: 1px solid black;
  15.521 +	margin-top: 10px;
  15.522 +	padding-top: 10px;
  15.523 +}
  15.524 +
  15.525 +pre.package {
  15.526 +	padding: 0px;
  15.527 +	color: black;
  15.528 +	background: white;
  15.529 +}
  15.530 +
  15.531 +p.get {
  15.532 +	text-align: center;
  15.533 +	padding: 10px;
  15.534 +	color: black;
  15.535 +	background: #F3F3F3;
  15.536 +	border: 1px solid #DEDEDE;
  15.537 +	border-radius: 4px;
  15.538 +	-moz-border-radius: 4px;
  15.539 +	-webkit-border-radius: 4px;
  15.540 +}
  15.541 +
  15.542 +p.get a {
  15.543 +	font-weight: bold;
  15.544 +	text-decoration: none;
  15.545 +}
  15.546 +
  15.547 +.pkgs-search { 
  15.548 +	text-align: center; 
  15.549 +	padding: 40px 20px 80px 20px;
  15.550 +}
  15.551 +
  15.552 +.year:after {
  15.553 +	/* content: "2007-2011"; */
  15.554 +	content: "2011";
  15.555 +}
  15.556 +
  15.557 +/* Footer */
  15.558 +
  15.559 +#footer {
  15.560 +	margin: 0px 80px 80px 80px;
  15.561 +	padding: 10px;
  15.562 +	background: #eaeaea;
  15.563 +	color: #666666;
  15.564 +	height: 180px;
  15.565 +	clear: both;
  15.566 +	border-radius: 8px;
  15.567 +	-moz-border-radius: 8px;
  15.568 +	-webkit-border-radius: 8px;
  15.569 +	-moz-box-shadow: 0 1px 3px #666;
  15.570 +	-webkit-box-shadow: 0 1px 3px #666;
  15.571 +	box-shadow: 0 1px 3px #666;
  15.572 +}
  15.573 +#footer a {
  15.574 +	background: inherit;
  15.575 +	color: #666666;
  15.576 +}
  15.577 +#footer a:hover {
  15.578 +	background: inherit;
  15.579 +	color: #333333;
  15.580 +}
  15.581 +#footer ul {
  15.582 +	list-style-type: none;
  15.583 +}
  15.584 +#footer li {
  15.585 +	padding: 2px;
  15.586 +}
  15.587 +#footer h4 {
  15.588 +	margin: 0 20px;
  15.589 +	font-size: 125%;
  15.590 +}
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/mirror-tools/stuff/var/www/slitaz/mirror/floppies/builder/bootloader	Fri Jan 21 11:58:56 2011 +0100
    16.3 @@ -0,0 +1,211 @@
    16.4 +#!/bin/sh
    16.5 +#
    16.6 +# This script creates a floppy image set from a linux bzImage and can merge
    16.7 +# a cmdline and/or one or more initramfs.
    16.8 +# The total size can not exceed 15M because INT 15H function 87H limitations.
    16.9 +#
   16.10 +# (C) 2009 Pascal Bellard - GNU General Public License v3.
   16.11 +
   16.12 +usage()
   16.13 +{
   16.14 +cat <<EOT
   16.15 +Usage: $0 bzImage [--prefix image_prefix] [--cmdline 'args']
   16.16 +       [--rdev device] [--video mode] [--flags rootflags] [--tracks cnt]
   16.17 +       [--format 1440|1680|1920|2880 ] [--initrd initrdfile]...
   16.18 +
   16.19 +Default values: --format 1440 --tracks 80 --prefix floppy.
   16.20 +
   16.21 +Example:
   16.22 +$0 /boot/vmlinuz-2.6.30.6 --rdev /dev/ram0 --video -3 --cmdline 'rw lang=fr_FR kmap=fr-latin1 laptop autologin' --initrd /boot/rootfs.gz --initrd ./myconfig.gz
   16.23 +EOT
   16.24 +exit 1
   16.25 +}
   16.26 +
   16.27 +KERNEL=""
   16.28 +INITRD=""
   16.29 +CMDLINE=""
   16.30 +PREFIX="floppy."
   16.31 +FORMAT="1440"
   16.32 +RDEV=""
   16.33 +VIDEO=""
   16.34 +FLAGS=""
   16.35 +TRACKS=""
   16.36 +DEBUG=""
   16.37 +while [ -n "$1" ]; do
   16.38 +	case "$1" in
   16.39 +	--c*|-c*)  CMDLINE="$2"; shift;;
   16.40 +	--i*|-i*)  INITRD="$INITRD $2"; shift;;
   16.41 +	--p*|-p*)  PREFIX="$2"; shift;;
   16.42 +	--fo*|-f*) FORMAT="$2"; shift;;
   16.43 +	--fl*)     FLAGS="$2"; shift;;	# 1 read-only, 0 read-write
   16.44 +	--r*|-r*)  RDEV="$2"; shift;;	# /dev/???
   16.45 +	--v*|-v*)  VIDEO="$2"; shift;;	# -3 .. n
   16.46 +	--t*|-t*)  TRACKS="$2"; shift;; # likely 81 .. 84
   16.47 +	--debug)   DEBUG="1";;
   16.48 +	*) KERNEL="$1";;
   16.49 +	esac
   16.50 +	shift
   16.51 +done
   16.52 +[ -n "$KERNEL" -a -f "$KERNEL" ] || usage
   16.53 +if [ -n "$TRACKS" ]; then
   16.54 +	if [ $(( $FORMAT % $TRACKS )) -ne 0 ]; then
   16.55 +		echo "Invalid track count for format $FORMAT."
   16.56 +		usage
   16.57 +	fi
   16.58 +fi
   16.59 +
   16.60 +# write a 16 bits data
   16.61 +# usage: store16 offset data16 file
   16.62 +store16()
   16.63 +{
   16.64 +	echo $(( $2 + 0x10000 )) | \
   16.65 +		awk '{ printf "\\\\x%02X\\\\x%02X",$1%256,($1/256)%256 }' | \
   16.66 +		xargs echo -en | \
   16.67 +	dd bs=2 conv=notrunc of=$3 seek=$(( $1 / 2 )) 2> /dev/null
   16.68 +	[ -n "$DEBUG" ] && printf "store16(%04X) = %04X\n" $1 $2 1>&2
   16.69 +}
   16.70 +
   16.71 +# write a 32 bits data
   16.72 +# usage: storelong offset data32 file
   16.73 +storelong()
   16.74 +{
   16.75 +	echo $2 | awk '{ printf "\\\\x%02X\\\\x%02X\\\\x%02X\\\\x%02X",
   16.76 +		 $1%256,($1/256)%256,($1/256/256)%256,($1/256/256/256)%256 }' | \
   16.77 +		xargs echo -en | \
   16.78 +		dd bs=4 conv=notrunc of=$3 seek=$(( $1 / 4 )) 2> /dev/null
   16.79 +	[ -n "$DEBUG" ] && printf "storelong(%04X) = %08X\n" $1 $2 1>&2
   16.80 +}
   16.81 +
   16.82 +# read a 32 bits data
   16.83 +# usage: getlong offset file
   16.84 +getlong()
   16.85 +{
   16.86 +	dd if=$2 bs=1 skip=$(( $1 )) count=4 2> /dev/null | \
   16.87 +		hexdump -e '"" 1/4 "%d" "\n"'
   16.88 +}
   16.89 +
   16.90 +floppyset()
   16.91 +{
   16.92 +	# bzImage offsets
   16.93 +	CylinderCount=496
   16.94 +	SetupSzOfs=497
   16.95 +	FlagsOfs=498
   16.96 +	SyssizeOfs=500
   16.97 +	VideoModeOfs=506
   16.98 +	RootDevOfs=508
   16.99 +	CodeAdrOfs=0x214
  16.100 +	RamfsAdrOfs=0x218
  16.101 +	RamfsLenOfs=0x21C
  16.102 +	ArgPtrOfs=0x228
  16.103 +
  16.104 +	# boot+setup address
  16.105 +	SetupBase=0x90000
  16.106 +
  16.107 +	stacktop=0x9E00
  16.108 +
  16.109 +	bs=/tmp/bs$$
  16.110 +
  16.111 +	# Get and patch boot sector
  16.112 +	# See  http://hg.slitaz.org/wok/raw-file/711d076b277c/linux/stuff/linux-header-2.6.34.u
  16.113 +	dd if=$KERNEL bs=512 count=1 of=$bs 2> /dev/null
  16.114 +	uudecode <<EOT | dd of=$bs conv=notrunc 2> /dev/null
  16.115 +begin-base64 644 -
  16.116 +/L+6nWgAkAcGF4n8McC5HQDzq1sfD6mg8X1ABlfFd3ixBvOlZWaPR3gGH8ZF
  16.117 ++D/6l1hB6DQBvgACA3QO6HYBWwseKAJ0LFNH6AoBXuhmAbAgzRCwCM0QTuhl
  16.118 +ATwIdAOIBK05NigCdPDoPgE8CnXgiHz+ieb/TBD/TBi/9AGBTRz/gMdFMACc
  16.119 +sBCxBUi0k4lEHLABiUQUmGaY0+BIZgMFZtPoaAAQB7+AACn4nHMCAccx21BW
  16.120 +6J4AXrkAgLSH/kQczRVYnXfcoRoCvxwCsQk4RBxyuJPNE+oAACCQsEYoyL7b
  16.121 +AejSAF3rI4D5E3IEOMF3a4D+AnIEOOZ3bGCB/QAGdCoGUlFTlrQCULEGtQTB
  16.122 +xQSwDyHoBJAnFEAn6IwA/s117LAgzRDitOiWAJjNE2FSUCjIdwKwAZg5+HIC
  16.123 +ifhQtALNE5VeWFpyoJVBjuGAxwJPdFFOdfSM4ZU4wXVFiMj+xrEBOOZ1O4j0
  16.124 +/sW2AID9UHIwOi7wAXIqtQBgvt4B/kQMU+gxAFvoOAB1FlKYzRO4AQLNE1rQ
  16.125 +1Dpk/nXqRgjkdeVh64sWB7AxLAO0DrsHAM0QPA1088OwDejv/6wIwHX4w79s
  16.126 +BLFbZQINuA0BZToNdArNFnT0mM0Wju9Hw1g6AEluc2VydCBkaXNrIDEuBw0A
  16.127 +AA==
  16.128 +====
  16.129 +EOT
  16.130 +
  16.131 +	# Get setup
  16.132 +	setupsz=$(getlong $SetupSzOfs $bs)
  16.133 +	setupszb=$(( $setupsz & 255 ))
  16.134 +	dd if=$KERNEL bs=512 skip=1 count=$setupszb 2> /dev/null >> $bs
  16.135 +
  16.136 +	if [ -n "$TRACKS" ]; then
  16.137 +		[ -n "$DEBUG" ] && echo -n "--tracks " 1>&2
  16.138 +		n=$(getlong $CylinderCount $bs)
  16.139 +		store16 $CylinderCount $(( ($n & -256) + $TRACKS )) $bs
  16.140 +	fi
  16.141 +	if [ -n "$FLAGS" ]; then
  16.142 +		[ -n "$DEBUG" ] && echo -n "--flags " 1>&2
  16.143 +		store16 $FlagsOfs $FLAGS $bs
  16.144 +	fi
  16.145 +	if [ -n "$VIDEO" ]; then
  16.146 +		[ -n "$DEBUG" ] && echo -n "--video " 1>&2
  16.147 +		store16 $VideoModeOfs $VIDEO $bs
  16.148 +	fi
  16.149 +	if [ -n "$RDEV" ]; then
  16.150 +		if [ "$(dirname $RDEV)" == "/dev" -a -b $RDEV ]; then
  16.151 +			[ -n "$DEBUG" ] && echo -n "--rdev " 1>&2
  16.152 +			RDEV=$(stat -c '0x%02t%02T' $RDEV 2> /dev/null)
  16.153 +			store16 $RootDevOfs $RDEV $bs
  16.154 +		fi
  16.155 +	fi
  16.156 +
  16.157 +	# Store cmdline after setup
  16.158 +	if [ -n "$CMDLINE" ]; then
  16.159 +		[ -n "$DEBUG" ] && echo -n "--cmdline '$CMDLINE' " 1>&2
  16.160 +		echo -n "$CMDLINE" | dd bs=512 count=1 conv=sync 2> /dev/null >> $bs
  16.161 +		storelong $ArgPtrOfs $(( $SetupBase + $stacktop )) $bs
  16.162 +	fi
  16.163 +
  16.164 +	# Compute initramfs size
  16.165 +	initrdlen=0
  16.166 +	for i in $( echo $INITRD | sed 's/,/ /' ); do
  16.167 +		[ -s "$i" ] || continue
  16.168 +		[ -n "$DEBUG" ] && echo "--initrd $i " 1>&2
  16.169 +		initrdlen=$(( ($initrdlen + $(stat -c %s $i) + 3) & -4 ))
  16.170 +	done
  16.171 +	if [ $initrdlen -ne 0 ]; then
  16.172 +		[ -n "$DEBUG" ] && echo "initrdlen = $initrdlen " 1>&2
  16.173 +		storelong $RamfsAdrOfs \
  16.174 +			$(( (0x1000000 - $initrdlen) & 0xFFFF0000 )) $bs
  16.175 +		storelong $RamfsLenOfs $initrdlen $bs
  16.176 +	fi
  16.177 +
  16.178 +	# Output boot sector + setup + cmdline
  16.179 +	dd if=$bs 2> /dev/null
  16.180 +
  16.181 +	# Output kernel code
  16.182 +	dd if=$KERNEL bs=512 skip=$(( $setupszb + 1 )) 2> /dev/null
  16.183 +
  16.184 +	# Pad to next sector
  16.185 +	Kpad=$(( 512 - ($(stat -c %s $KERNEL) & 511) ))
  16.186 +	[ $Kpad -eq 512 ] || dd if=/dev/zero bs=1 count=$Kpad 2> /dev/null
  16.187 +
  16.188 +	# Output initramfs
  16.189 +	padding=0
  16.190 +	for i in $( echo $INITRD | sed 's/,/ /' ); do
  16.191 +		[ -s "$i" ] || continue
  16.192 +		[ $padding -ne 0 ] && dd if=/dev/zero bs=1 count=$padding 2> /dev/null
  16.193 +		dd if=$i 2> /dev/null
  16.194 +		padding=$(( 4 - ($(stat -c %s $i) & 3) ))
  16.195 +		[ $padding -eq 4 ] && padding=0
  16.196 +	done
  16.197 +
  16.198 +	# Cleanup
  16.199 +	rm -f $bs
  16.200 +}
  16.201 +
  16.202 +if [ "$FORMAT" == "0" ]; then # unsplitted
  16.203 +	floppyset > $PREFIX
  16.204 +	exit
  16.205 +fi
  16.206 +floppyset | split -b ${FORMAT}k /dev/stdin floppy$$
  16.207 +i=1
  16.208 +ls floppy$$* | while read file ; do
  16.209 +	output=$PREFIX$(printf "%03d" $i)
  16.210 +	cat $file /dev/zero | dd bs=1k count=$FORMAT conv=sync of=$output 2> /dev/null
  16.211 +	echo $output
  16.212 +	rm -f $file
  16.213 +	i=$(( $i + 1 ))
  16.214 +done
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/mirror-tools/stuff/var/www/slitaz/mirror/floppies/builder/index.php	Fri Jan 21 11:58:56 2011 +0100
    17.3 @@ -0,0 +1,417 @@
    17.4 +<?php
    17.5 +ini_set('upload_max_filesize','16M');
    17.6 +ini_set('post_max_size','16M');
    17.7 +if (isset($_GET['id']) && is_file("/tmp/".$_GET['id']."/fd")) {
    17.8 +
    17.9 +	// Download a floppy image
   17.10 +	
   17.11 +    	$size = $_GET['s'];
   17.12 +    	if ($size == 0)
   17.13 +    		$size = filesize("/tmp/".$_GET['id']."/fd");
   17.14 +	header("Content-Type: application/octet-stream");
   17.15 +	header("Content-Length: ".$size);
   17.16 +	header("Content-Disposition: attachment; filename=".
   17.17 +		sprintf("fd%03d.img",$_GET['n']));
   17.18 +	$cmd = "cat /tmp/".$_GET['id']."/fd";
   17.19 +	if ($_GET['s'] != 0) {
   17.20 +		$cmd .= " /dev/zero | dd count=1 bs=".$_GET['s'];
   17.21 +		if ($_GET['n'] > 1)
   17.22 +			$cmd .= " skip=".($_GET['n']-1);
   17.23 +	}
   17.24 +	echo `$cmd 2> /dev/null`;
   17.25 +	exit;
   17.26 +}
   17.27 +?>
   17.28 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   17.29 +	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   17.30 +<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
   17.31 +<head>
   17.32 +	<title>SliTaz Boot Floppies</title>
   17.33 +	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
   17.34 +	<meta name="description" content="slitaz boot floppies builder" />
   17.35 +	<meta name="robots" content="index, nofollow" />
   17.36 +	<meta name="author" content="SliTaz Contributors" />
   17.37 +	<link rel="shortcut icon" href="../../css/favicon.ico" />
   17.38 +	<link rel="stylesheet" type="text/css" href="../../css/slitaz.css" />
   17.39 +	<style>
   17.40 +input[type=text] {
   17.41 +	width: inherit;
   17.42 +}
   17.43 +	</style>
   17.44 +</head>
   17.45 +<body bgcolor="#ffffff">
   17.46 +<!-- Header -->
   17.47 +<div id="header">
   17.48 +    <a name="top"></a>
   17.49 +<!-- Access -->
   17.50 +<div id="access">
   17.51 +	<a href="bootloader" title="Build your floppy sets without Internet">Shell builder</a> |
   17.52 +	<a href="../../boot/floppy-grub4dos" title="Boot tools">Generic boot floppy</a>
   17.53 +</div>   
   17.54 +	<a href="http://www.slitaz.org/"><img id="logo" src="../../css/pics/website/logo.png" title="www.slitaz.org" alt="www.slitaz.org" style="border: 0px solid ; width: 200px; height: 74px;" /></a>
   17.55 +	<p id="titre">#!/boot/floppies/builder</p>
   17.56 +</div>
   17.57 +
   17.58 +<!-- Navigation menu -->
   17.59 +<div id="nav">
   17.60 +
   17.61 +<?php
   17.62 +
   17.63 +	// Cleanup old sessions
   17.64 +	
   17.65 +	$dir = opendir("/tmp");
   17.66 +	while (($name = readdir($dir)) !== false) {
   17.67 +		if (preg_match('/^fdbuild/',$name) == 0) continue;
   17.68 +		if (filemtime("/tmp/$name") > strtotime("-1 hour")) continue;
   17.69 +		system("rm -rf /tmp/$name");
   17.70 +	}
   17.71 +	closedir($dir);
   17.72 +
   17.73 +function get_long($file, $offset)
   17.74 +{
   17.75 +	$value = 0;
   17.76 +	if ($fp = fopen($file,"r")) {
   17.77 +		fseek($fp,$offset,SEEK_SET);
   17.78 +		for ($i = 0; $i < 32; $i += 8) {
   17.79 +			$value += ord(fgetc($fp)) << $i;
   17.80 +		}
   17.81 +		fclose($fp);
   17.82 +	}
   17.83 +	return $value;
   17.84 +}
   17.85 +
   17.86 +function error($string, $title="Error")
   17.87 +{
   17.88 +	echo <<<EOT
   17.89 +<div class="nav_box">
   17.90 +<h4>$title</h4>
   17.91 +<p>
   17.92 +$string
   17.93 +</p>
   17.94 +</div>
   17.95 +EOT;
   17.96 +}
   17.97 +
   17.98 +	$size = 0;
   17.99 +	$initrd_size = 0;
  17.100 +	
  17.101 +	// Upload kernel
  17.102 +	
  17.103 +	foreach($_FILES as $data) {
  17.104 +		$msg="The file ".$_FILES["kernel"]['name']." ";
  17.105 +		switch ($data["error"]) {
  17.106 +		case UPLOAD_ERR_INI_SIZE   : 
  17.107 +			error($msg."exceeds upload_max_filesize.");
  17.108 +			break;
  17.109 +		case UPLOAD_ERR_FORM_SIZE  : 
  17.110 +			error($msg."exceeds max_post_size.");
  17.111 +			break;
  17.112 +		case UPLOAD_ERR_PARTIAL    : 
  17.113 +			error($msg."was only partially uploaded.");
  17.114 +			break;
  17.115 +		case UPLOAD_ERR_NO_TMP_DIR : 
  17.116 +			error("Missing a temporary folder.");
  17.117 +			break;
  17.118 +		case UPLOAD_ERR_CANT_WRITE : 
  17.119 +			error("Failed to write file to disk.");
  17.120 +			break;
  17.121 +		}
  17.122 +	}
  17.123 +	if (isset($_FILES["kernel"]['tmp_name']) &&
  17.124 +	    is_uploaded_file($_FILES["kernel"]['tmp_name'])) {
  17.125 +		$tmp_dir = tempnam('','fdbuild');
  17.126 +		if (file_exists($tmp_dir)) unlink($tmp_dir);
  17.127 +		mkdir($tmp_dir);
  17.128 +		$tmp_dir .= '/';
  17.129 +		move_uploaded_file($_FILES["kernel"]['tmp_name'],
  17.130 +				   $tmp_dir."kernel");
  17.131 +		$kernel = $tmp_dir."kernel";
  17.132 +		$boot_version = get_long($kernel,0x206) & 255;
  17.133 +		$size = get_long($kernel,0x1F4);	// syssize paragraphs
  17.134 +		if ($boot_version < 4) $size &= 0xFFFF;	// 16 bits before 2.4
  17.135 +		$size = ($size + 0xFFF) & 0xFFFF000;	// round up to 64K
  17.136 +		$size <<= 4;				// paragraphs -> bytes
  17.137 +		if (get_long($kernel,0x202) != 0x53726448 ||	// 'HdrS' magic
  17.138 +		    (get_long($kernel,0x211) & 1 != 1)) {	// bzImage flag
  17.139 +			error("The file ".$_FILES["kernel"]['name'].
  17.140 +			      " is not a bzImage Linux kernel.");
  17.141 +			$size = 0;
  17.142 +		}
  17.143 +		else if ($boot_version < 2 && $_POST['cmdline']) { // before 2.2
  17.144 +			unset($_POST['cmdline']);
  17.145 +			error("This boot loader does not support Linux kernel ".
  17.146 +			      "prior 2.4.0-test3-pre3 command line.",
  17.147 +			      "Warning");
  17.148 +		}
  17.149 +		$msg = "The size of the file ".$_FILES["kernel"]['name'];
  17.150 +	}
  17.151 +	
  17.152 +	// Upload initrd
  17.153 +	
  17.154 +	if ($size && isset($_FILES["initrd"]['tmp_name']) &&
  17.155 +	    is_uploaded_file($_FILES["initrd"]['tmp_name'])) {
  17.156 +		move_uploaded_file($_FILES["initrd"]['tmp_name'],
  17.157 +				   $tmp_dir."initrd");
  17.158 +		$initrd_size = $_FILES["initrd"]['size'];
  17.159 +		$size += $initrd_size;
  17.160 +		$msg = "The total size of the files ".$_FILES["kernel"]['name'].
  17.161 +		       " and ".$_FILES["initrd"]['name'];
  17.162 +	}
  17.163 +	if ($initrd_size && isset($_FILES["initrd2"]['tmp_name']) &&
  17.164 +	    is_uploaded_file($_FILES["initrd2"]['tmp_name'])) {
  17.165 +		move_uploaded_file($_FILES["initrd2"]['tmp_name'],
  17.166 +				   $tmp_dir."initrd2");
  17.167 +		$initrd2_size = $_FILES["initrd2"]['size'];
  17.168 +		$size += $initrd2_size;
  17.169 +		$msg = "The total size of the files ".$_FILES["kernel"]['name'].
  17.170 +		       ", ".$_FILES["initrd"]['name'].
  17.171 +		       " and ".$_FILES["initrd2"]['name'];
  17.172 +	}
  17.173 +	if ($size >= 15 * 1024 * 1024) {
  17.174 +		error($msg." exceeds 15 MB.");
  17.175 +		$size = 0;
  17.176 +	}
  17.177 +	if ($size == 0) {
  17.178 +		if (isset($tmp_dir))
  17.179 +			system("rm -f $tmp_dir");
  17.180 +	}
  17.181 +	else {
  17.182 +		$cmd = "./bootloader ".$tmp_dir."kernel --prefix "
  17.183 +		     . $tmp_dir."fd --format 0 --flags ".$_POST['flags']
  17.184 +		     . " --video ".$_POST['video'];
  17.185 +		if ($_POST['cmdline'])
  17.186 +			$cmd .= " --cmdline '".$_POST['cmdline']."'";
  17.187 +		if (file_exists($_POST['rdev']))
  17.188 +			$cmd .= " --rdev ".$_POST['rdev'];
  17.189 +		if ($initrd_size)
  17.190 +			$cmd .= " --initrd ".$tmp_dir."initrd";
  17.191 +		if ($initrd2_size)
  17.192 +			$cmd .= " --initrd ".$tmp_dir."initrd2";
  17.193 +		switch ($_POST['size']) {
  17.194 +		case 1763328 : 
  17.195 +		case 2015232 : 
  17.196 +			$cmd .= " --tracks 82"; break;
  17.197 +		case 1784832 : 
  17.198 +			$cmd .= " --tracks 83"; break;
  17.199 +		}
  17.200 +		shell_exec($cmd);
  17.201 +		$count = 1;
  17.202 +		if ($_POST['size'] != 0) {
  17.203 +			$count += (filesize($tmp_dir."fd") -1) / $_POST['size'];
  17.204 +			$padding = $_POST['size'] - 
  17.205 +				(filesize($tmp_dir."fd") % $_POST['size']);
  17.206 +		}
  17.207 +	}
  17.208 +	$sizes = array(
  17.209 +		"1474560" => "1.44 MB", "1638400" => "1.60 MB",
  17.210 +		"1720320" => "1.68 MB", "1763328" => "1.72 MB",
  17.211 +		"1784832" => "1.74 MB", "1802240" => "1.76 MB",
  17.212 +		"1884160" => "1.84 MB", "1966080" => "1.92 MB", 
  17.213 +		"2015232" => "1.96 MB", "2949120" => "2.88 MB",
  17.214 +		"0"       => "no limit"
  17.215 +	);
  17.216 +
  17.217 +function show_size($size)
  17.218 +{
  17.219 +	global $sizes;
  17.220 +	if ($size != 0) return " ".$sizes[$size];
  17.221 +}
  17.222 +	if (!isset($count)) {
  17.223 +?>
  17.224 +<div class="nav_box">
  17.225 +<h4>How does it work ?</h4>
  17.226 +<p>
  17.227 +This tool updates the boot sector of your kernel with
  17.228 +<a href="http://hg.slitaz.org/wok/raw-file/b84ff32e3457/linux/stuff/linux-header-2.6.34.u">this patch</a>.
  17.229 +You may add a default cmdline and an initramfs. The cmdline can be edited at boot
  17.230 +time but the keyboard is not mandatory.
  17.231 +A <a href="bootloader"> standalone version</a> is available.
  17.232 +</p>
  17.233 +<p>
  17.234 +Each part (boot, setup, cmdline, kernel, initramfs) is aligned to 512 bytes.
  17.235 +The result is split to fit the floppy size.
  17.236 +The last floppy image is padded with zeros.
  17.237 +</p>
  17.238 +</div>
  17.239 +<?php
  17.240 +	}
  17.241 +	else {
  17.242 +?>
  17.243 +<div class="nav_box">
  17.244 +<h4>Download image<?php if ($count >= 2) echo "s"; ?></h4>
  17.245 +<ul>
  17.246 +<?php
  17.247 +		for ($i = 1; $i <= $count; $i++) {
  17.248 +			echo '	<li><a href="'.$_SERVER["PHP_SELF"].
  17.249 +			     "?id=".basename($tmp_dir)."&amp;n=$i&amp;s=".
  17.250 +			     $_POST["size"].'">'.sprintf("fd%03d.img",$i).
  17.251 +			     show_size($_POST["size"])."</a></li>\n";
  17.252 +		}
  17.253 +		echo "</ul>\n".floor($padding/1024)."KB padding.\n";
  17.254 +?>
  17.255 +</div>
  17.256 +<?php
  17.257 +	}
  17.258 +?>
  17.259 +
  17.260 +<!-- End navigation menu -->
  17.261 +</div>
  17.262 +
  17.263 +<!-- Content top. -->
  17.264 +<div id="content_top">
  17.265 +<div class="top_left"></div>
  17.266 +<div class="top_right"></div>
  17.267 +</div>
  17.268 +
  17.269 +<!-- Content -->
  17.270 +<div id="content">
  17.271 +
  17.272 +<h1><font color="#3e1220">Boot</font></h1>
  17.273 +<h2><font color="#df8f06">Floppy image set builder</font></h2>
  17.274 +
  17.275 +<?php
  17.276 +	if (!isset($count)) {
  17.277 +		$max = rtrim(ini_get('upload_max_filesize'),"M");
  17.278 +		$max_post = rtrim(ini_get('post_max_size'),"M");
  17.279 +		if ($max_post < $max) $max = $max_post;
  17.280 +		$msg = "the tiny boot loader can't load more than 15 MB";
  17.281 +		if ($max < 16)
  17.282 +			$msg = "the web server can't upload more than $max MB";
  17.283 +?>
  17.284 +<form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
  17.285 +<table>
  17.286 +	<tr>
  17.287 +	<td>Linux kernel:</td>
  17.288 +	<td><input type="file" name="kernel" size="25" /> <i>required</i></td>
  17.289 +	</tr>
  17.290 +	<tr>
  17.291 +	<td>Initramfs / Initrd:</td>
  17.292 +	<td><input type="file" name="initrd" size="25" /> <i>optional</i></td>
  17.293 +	</tr>
  17.294 +	<tr>
  17.295 +	<td>Extra initramfs:</td>
  17.296 +	<td><input type="file" name="initrd2" size="25" /> <i>optional</i></td>
  17.297 +	</tr>
  17.298 +	<tr>
  17.299 +	<td>Default cmdline:</td>
  17.300 +	<td><input type="text" name="cmdline" size="36" <?php 
  17.301 +		if (isset($_GET['cmdline'])) echo 'value="'.$_GET['cmdline'].'"';
  17.302 +	?>/> <i>optional</i></td>
  17.303 +	</tr>
  17.304 +	<tr>
  17.305 +	<td>Root device:</td>
  17.306 +	<td><input type="text" name="rdev" size="8" value="<?php
  17.307 +		if (isset($_GET['rdev'])) echo $_GET['rdev'];
  17.308 +		else echo "/dev/fd0";
  17.309 +	?>" />
  17.310 +	&nbsp;&nbsp;Root flags: <select name="flags">
  17.311 +		<option value="1">R/O</option>
  17.312 +		<option value="0" <?php
  17.313 +			if (isset($_GET['rdev']) && $_GET['rdev'] == "0")
  17.314 +				echo ' selected="selected"'
  17.315 +		?>>R/W</option>
  17.316 +	</select>
  17.317 +	&nbsp;&nbsp;VGA mode: <select name="video">
  17.318 +		<?php
  17.319 +			$selected=-1;
  17.320 +			if (isset($_GET['video'])) $selected = $_GET['video'];
  17.321 +			$options = array();
  17.322 +			$options[-3] = "Ask";
  17.323 +			$options[-2] = "Ext";
  17.324 +			$options[-1] = "Std";
  17.325 +			for ($i = 0; $i < 32; $i++) $options[$i] = $i;
  17.326 +			foreach ($options as $key => $value) {
  17.327 +				echo '<option value="'.$key.'"';
  17.328 +				if ($key == $selected || $value == $selected)
  17.329 +					echo ' selected="selected"';
  17.330 +				echo '>'.$value."</option>\n";
  17.331 +			}
  17.332 +		?>
  17.333 +	</select>
  17.334 +	</td>
  17.335 +	</tr>
  17.336 +	<tr>
  17.337 +	<td>Floppy size:</td>
  17.338 +	<td><select name="size">
  17.339 +<?php
  17.340 +	foreach ($sizes as $key => $value) {
  17.341 +		echo "		<option value=\"$key\">$value</option>\n";
  17.342 +	}
  17.343 +?>
  17.344 +	</select>
  17.345 +		<input name="build" value="Build floppy set" type="submit" />
  17.346 +	</td>
  17.347 +	</tr>
  17.348 +</table>
  17.349 +</form>
  17.350 +<?php
  17.351 +		echo <<<EOT
  17.352 +<p>
  17.353 +Note 1: $msg of files (kernel and initramfs) in memory.
  17.354 +</p>
  17.355 +<p>
  17.356 +Note 2: the extra initramfs may be useful to add your own configuration files.
  17.357 +</p>
  17.358 +EOT;
  17.359 +	}
  17.360 +	else {
  17.361 +?>
  17.362 +
  17.363 +<p>
  17.364 +You can write floppies with SliTaz <i>bootfloppybox</i>, 
  17.365 +<a href="http://en.wikipedia.org/wiki/RaWrite">Windows rawrite</a> or simply dd:
  17.366 +</p>
  17.367 +<pre># dd if=fd001.img of=/dev/fd0
  17.368 +</pre>
  17.369 +
  17.370 +<p>
  17.371 +Start your computer with <i>fd001.img</i>. It will show the kernel version string and
  17.372 +the kernel cmdline line. You can edit the cmdline. Most users can just press Enter.
  17.373 +</p>
  17.374 +
  17.375 +<?php
  17.376 +		if ($count >= 2) {
  17.377 +?>
  17.378 +<p>
  17.379 +The floppy is then loaded into memory (one dot each 64k) and you will be prompted to
  17.380 +insert the next floppy, <i>fd002.img</i>. And so on.
  17.381 +</p>
  17.382 +
  17.383 +<p>
  17.384 +The floppy set detects disk swaps and can be used without keyboard.
  17.385 +</p>
  17.386 +<?php
  17.387 +		}
  17.388 +?>
  17.389 +<p>
  17.390 +Good luck.
  17.391 +</p>
  17.392 +<?php
  17.393 +	}
  17.394 +?>
  17.395 +
  17.396 +<!-- End of content with round corner -->
  17.397 +</div>
  17.398 +<div id="content_bottom">
  17.399 +<div class="bottom_left"></div>
  17.400 +<div class="bottom_right"></div>
  17.401 +</div>
  17.402 +
  17.403 +<!-- Start of footer and copy notice -->
  17.404 +<div id="copy">
  17.405 +<p>
  17.406 +Copyright &copy; <?php echo date('Y'); ?> <a href="http://www.slitaz.org/">SliTaz</a> -
  17.407 +<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
  17.408 +</p>
  17.409 +<!-- End of copy -->
  17.410 +</div>
  17.411 +
  17.412 +<!-- Bottom and logo's -->
  17.413 +<div id="bottom">
  17.414 +<p>
  17.415 +<a href="http://validator.w3.org/check?uri=referer"><img src="../../css/pics/website/xhtml10.png" alt="Valid XHTML 1.0" title="Code validé XHTML 1.0" style="width: 80px; height: 15px;" /></a>
  17.416 +</p>
  17.417 +</div>
  17.418 +
  17.419 +</body>
  17.420 +</html>
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/mirror-tools/stuff/var/www/slitaz/mirror/floppies/index.html	Fri Jan 21 11:58:56 2011 +0100
    18.3 @@ -0,0 +1,206 @@
    18.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    18.5 +	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    18.6 +<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
    18.7 +<head>
    18.8 +	<title>SliTaz Boot Floppies</title>
    18.9 +	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
   18.10 +	<meta name="description" content="slitaz boot floppies" />
   18.11 +	<meta name="robots" content="index, nofollow" />
   18.12 +	<meta name="author" content="SliTaz Contributors" />
   18.13 +	<link rel="shortcut icon" href="../css/favicon.ico" />
   18.14 +	<link rel="stylesheet" type="text/css" href="../css/slitaz.css" />
   18.15 +</head>
   18.16 +<body bgcolor="#ffffff">
   18.17 +<!-- Header -->
   18.18 +<div id="header">
   18.19 +    <a name="top"></a>
   18.20 +<!-- Access -->
   18.21 +<div id="access">
   18.22 +	<a href="../boot/floppy-grub4dos" title="Boot tools">Generic boot floppy</a> |
   18.23 +	<a href="http://pizza.slitaz.org/tiny/" title="SliTaz for (very) old PC">Tiny SliTaz</a> |
   18.24 +	<a href="loram/index.html" title="Floppy image sets for low ram systems">Loram floppies</a> |
   18.25 +	<a href="builder/index.php" title="Build floppies with your own kernel and initramfs">Floppy set web builder</a> |
   18.26 +	<a href="builder/bootloader" title="Build your floppy sets without Internet">Shell builder</a>
   18.27 +</div>   
   18.28 +	<a href="http://www.slitaz.org/"><img id="logo" 
   18.29 +	   src="../css/pics/website/logo.png" title="www.slitaz.org" 
   18.30 +	   alt="www.slitaz.org" 
   18.31 +	   style="border: 0px solid ; width: 200px; height: 74px;" /></a>
   18.32 +	<p id="titre">#!/boot/floppies</p>
   18.33 +</div>
   18.34 +
   18.35 +<!-- Navigation menu -->
   18.36 +<div id="nav">
   18.37 +
   18.38 +<div class="nav_box">
   18.39 +<h4>Download images 3.0</h4>
   18.40 +<ul>
   18.41 +	<li><a href="3.0/fd001.img">fd001.img 1.44Mb</a></li>
   18.42 +	<li><a href="3.0/fd002.img">fd002.img 1.44Mb</a></li>
   18.43 +	<li><a href="3.0/fd003.img">fd003.img 1.44Mb</a></li>
   18.44 +	<li><a href="3.0/fd004.img">fd004.img 1.44Mb</a></li>
   18.45 +	<li><a href="3.0/fd005.img">fd005.img 1.44Mb</a><br /></li>
   18.46 +	<li><a href="3.0/fd100.img">fd100.img 1.44Mb</a></li>
   18.47 +	<li><a href="3.0/fd101.img">fd101.img 1.44Mb</a></li>
   18.48 +	<li><a href="3.0/fd102.img">fd102.img 1.44Mb</a></li>
   18.49 +	<li><a href="3.0/fd103.img">fd103.img 1.44Mb</a></li>
   18.50 +	<li><a href="3.0/fd104.img">fd104.img 1.44Mb</a></li>
   18.51 +	<li><a href="3.0/fd105.img">fd105.img 1.44Mb</a><br /></li>
   18.52 +	<li><a href="3.0/fd200.img">fd200.img 1.44Mb</a></li>
   18.53 +	<li><a href="3.0/fd201.img">fd201.img 1.44Mb</a></li>
   18.54 +	<li><a href="3.0/fd202.img">fd202.img 1.44Mb</a></li>
   18.55 +	<li><a href="3.0/fd203.img">fd203.img 1.44Mb</a></li>
   18.56 +	<li><a href="3.0/fd204.img">fd204.img 1.44Mb</a></li>
   18.57 +	<li><a href="3.0/fd205.img">fd205.img 1.44Mb</a></li>
   18.58 +	<li><a href="3.0/fd206.img">fd206.img 1.44Mb</a></li>
   18.59 +	<li><a href="3.0/fd207.img">fd207.img 1.44Mb</a></li>
   18.60 +	<li><a href="3.0/fd208.img">fd208.img 1.44Mb</a></li>
   18.61 +	<li><a href="3.0/fd209.img">fd209.img 1.44Mb</a></li>
   18.62 +	<li><a href="3.0/fd210.img">fd210.img 1.44Mb</a><br /></li>
   18.63 +	<li><a href="3.0/md5sum">md5sum</a></li>
   18.64 +</ul>
   18.65 +</div>
   18.66 +
   18.67 +<div class="nav_box">
   18.68 +<h4>Download images 2.0</h4>
   18.69 +<ul>
   18.70 +	<li><a href="2.0/fd001.img">fd001.img 1.44Mb</a></li>
   18.71 +	<li><a href="2.0/fd002.img">fd002.img 1.44Mb</a></li>
   18.72 +	<li><a href="2.0/fd003.img">fd003.img 1.44Mb</a></li>
   18.73 +	<li><a href="2.0/fd004.img">fd004.img 1.44Mb</a></li>
   18.74 +	<li><a href="2.0/fd005.img">fd005.img 1.44Mb</a><br /></li>
   18.75 +	<li><a href="2.0/fd100.img">fd100.img 1.44Mb</a></li>
   18.76 +	<li><a href="2.0/fd101.img">fd101.img 1.44Mb</a></li>
   18.77 +	<li><a href="2.0/fd102.img">fd102.img 1.44Mb</a></li>
   18.78 +	<li><a href="2.0/fd103.img">fd103.img 1.44Mb</a></li>
   18.79 +	<li><a href="2.0/fd104.img">fd104.img 1.44Mb</a></li>
   18.80 +	<li><a href="2.0/fd105.img">fd105.img 1.44Mb</a><br /></li>
   18.81 +	<li><a href="2.0/fd200.img">fd200.img 1.44Mb</a></li>
   18.82 +	<li><a href="2.0/fd201.img">fd201.img 1.44Mb</a></li>
   18.83 +	<li><a href="2.0/fd202.img">fd202.img 1.44Mb</a></li>
   18.84 +	<li><a href="2.0/fd203.img">fd203.img 1.44Mb</a></li>
   18.85 +	<li><a href="2.0/fd204.img">fd204.img 1.44Mb</a></li>
   18.86 +	<li><a href="2.0/fd205.img">fd205.img 1.44Mb</a></li>
   18.87 +	<li><a href="2.0/fd206.img">fd206.img 1.44Mb</a></li>
   18.88 +	<li><a href="2.0/fd207.img">fd207.img 1.44Mb</a></li>
   18.89 +	<li><a href="2.0/fd208.img">fd208.img 1.44Mb</a></li>
   18.90 +	<li><a href="2.0/fd209.img">fd209.img 1.44Mb</a></li>
   18.91 +	<li><a href="2.0/fd210.img">fd210.img 1.44Mb</a><br /></li>
   18.92 +	<li><a href="2.0/md5sum">md5sum</a></li>
   18.93 +</ul>
   18.94 +</div>
   18.95 +
   18.96 +<div class="nav_box">
   18.97 +<h4>Download images 1.0</h4>
   18.98 +<ul>
   18.99 +	<li><a href="1.0/fd001.img">fd001.img 1.44Mb</a></li>
  18.100 +	<li><a href="1.0/fd002.img">fd002.img 1.44Mb</a><br /></li>
  18.101 +	<li><a href="1.0/fd100.img">fd100.img 1.44Mb</a></li>
  18.102 +	<li><a href="1.0/fd101.img">fd101.img 1.44Mb</a></li>
  18.103 +	<li><a href="1.0/fd102.img">fd102.img 1.44Mb</a></li>
  18.104 +	<li><a href="1.0/fd103.img">fd103.img 1.44Mb</a></li>
  18.105 +	<li><a href="1.0/fd104.img">fd104.img 1.44Mb</a></li>
  18.106 +	<li><a href="1.0/fd105.img">fd105.img 1.44Mb</a></li>
  18.107 +	<li><a href="1.0/fd106.img">fd106.img 1.44Mb</a></li>
  18.108 +	<li><a href="1.0/fd107.img">fd107.img 1.44Mb</a></li>
  18.109 +	<li><a href="1.0/fd108.img">fd108.img 1.44Mb</a></li>
  18.110 +	<li><a href="1.0/fd109.img">fd109.img 1.44Mb</a></li>
  18.111 +	<li><a href="1.0/fd110.img">fd110.img 1.44Mb</a></li>
  18.112 +	<li><a href="1.0/fd111.img">fd111.img 1.44Mb</a></li>
  18.113 +	<li><a href="1.0/fd112.img">fd112.img 1.44Mb</a></li>
  18.114 +	<li><a href="1.0/fd113.img">fd113.img 1.44Mb</a></li>
  18.115 +	<li><a href="1.0/fd114.img">fd114.img 1.44Mb</a></li>
  18.116 +	<li><a href="1.0/fd115.img">fd115.img 1.44Mb</a><br /></li>
  18.117 +	<li><a href="1.0/md5sum">md5sum</a></li>
  18.118 +</ul>
  18.119 +</div>
  18.120 +
  18.121 +<!-- End navigation menu -->
  18.122 +</div>
  18.123 +
  18.124 +<!-- Content top. -->
  18.125 +<div id="content_top">
  18.126 +<div class="top_left"></div>
  18.127 +<div class="top_right"></div>
  18.128 +</div>
  18.129 +
  18.130 +<!-- Content -->
  18.131 +<div id="content">
  18.132 +
  18.133 +<h1><font color="#3e1220">Boot</font></h1>
  18.134 +<h2><font color="#df8f06">Floppy image set</font></h2>
  18.135 +
  18.136 +<p>
  18.137 +This floppy set will boot a Slitaz stable version. You can write floppies
  18.138 +with SliTaz <i>bootfloppybox</i>, 
  18.139 +<a href="http://en.wikipedia.org/wiki/RaWrite">Windows rawrite</a> or simply dd:
  18.140 +</p><pre># dd if=fd001.img of=/dev/fd0
  18.141 +</pre>
  18.142 +
  18.143 +<p>
  18.144 +If you have a CD-ROM, an USB port and an USB key or a network card, but you
  18.145 +can't boot these devices directly, then try
  18.146 +<a href="http://mirror.slitaz.org/boot/floppy-grub4dos">floppy-grub4dos</a> 
  18.147 +first. This 1.44Mb floppy provides tiny programs to boot these devices without BIOS
  18.148 +support and some other tools.
  18.149 +</p>
  18.150 +<p>
  18.151 +You can start with one of the 3 following flavors :
  18.152 +</p><ul>
  18.153 +  <li>
  18.154 +  <b>base</b> needs 32Mb of RAM and 5 floppies: <i>fd001.img</i> to <i>fd005.img</i>.<br />
  18.155 +  base provides the minimum slitaz distribution subset in text mode. 
  18.156 +  </li>
  18.157 +  <li>
  18.158 +  <b>justx</b> needs 96M of RAM and 11 floppies: <i>fd001.img</i> to <i>fd105.img</i>.<br />
  18.159 +  justx provides the minimum slitaz distribution subset with X11 support. 
  18.160 +  </li>
  18.161 +  <li>
  18.162 +  <b>core</b> needs 160M of RAM and 22 floppies: <i>fd001.img</i> to <i>fd210.img</i>.<br />
  18.163 +  core provides the default slitaz distribution. 
  18.164 +  </li>
  18.165 +</ul>
  18.166 +
  18.167 +Start your computer with <i>fd001.img</i>. It will show the kernel version string and
  18.168 +the kernel cmdline line. You can edit the cmdline. Most users can just press Enter.
  18.169 +
  18.170 +<p>
  18.171 +The floppy is then loaded into memory (one dot each 64k) and you will be prompted to
  18.172 +insert the next floppy, <i>fd002.img</i>. And so on up to <i>fd005.img</i>.
  18.173 +</p>
  18.174 +<p>
  18.175 +The base flavor will then start and you will be prompted to insert extra floppies
  18.176 +for justx and core flavors. You can bypass this by using Q and Enter.
  18.177 +</p>
  18.178 +<p>
  18.179 +Each floppy set detects disk swaps and can be used without a keyboard.
  18.180 +</p>
  18.181 +<p>
  18.182 +Good luck.
  18.183 +</p>
  18.184 +
  18.185 +<!-- End of content with round corner -->
  18.186 +</div>
  18.187 +<div id="content_bottom">
  18.188 +<div class="bottom_left"></div>
  18.189 +<div class="bottom_right"></div>
  18.190 +</div>
  18.191 +
  18.192 +<!-- Start of footer and copy notice -->
  18.193 +<div id="copy">
  18.194 +<p>
  18.195 +Copyright &copy; <span class="year"></span> <a href="http://www.slitaz.org/">SliTaz</a> -
  18.196 +<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
  18.197 +</p>
  18.198 +<!-- End of copy -->
  18.199 +</div>
  18.200 +
  18.201 +<!-- Bottom and logo's -->
  18.202 +<div id="bottom">
  18.203 +<p>
  18.204 +<a href="http://validator.w3.org/check?uri=referer"><img src="../css/pics/website/xhtml10.png" alt="Valid XHTML 1.0" title="Code validé XHTML 1.0" style="width: 80px; height: 15px;" /></a>
  18.205 +</p>
  18.206 +</div>
  18.207 +
  18.208 +</body>
  18.209 +</html>
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/mirror-tools/stuff/var/www/slitaz/mirror/floppies/loram/index.html	Fri Jan 21 11:58:56 2011 +0100
    19.3 @@ -0,0 +1,155 @@
    19.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    19.5 +	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    19.6 +<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
    19.7 +<head>
    19.8 +	<title>SliTaz Boot Floppies</title>
    19.9 +	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
   19.10 +	<meta name="description" content="slitaz loram boot floppies" />
   19.11 +	<meta name="robots" content="index, nofollow" />
   19.12 +	<meta name="author" content="SliTaz Contributors" />
   19.13 +	<link rel="shortcut icon" href="../../css/favicon.ico" />
   19.14 +	<link rel="stylesheet" type="text/css" href="../../css/slitaz.css" />
   19.15 +</head>
   19.16 +<body bgcolor="#ffffff">
   19.17 +<!-- Header -->
   19.18 +<div id="header">
   19.19 +    <a name="top"></a>
   19.20 +<!-- Access -->
   19.21 +<div id="access">
   19.22 +	<a href="../../boot/floppy-grub4dos" title="Boot tools">Generic boot floppy</a> |
   19.23 +	<a href="http://pizza.slitaz.org/tiny/" title="SliTaz for (very) old PC">Tiny SliTaz</a> |
   19.24 +	<a href="../builder/index.php" title="Build floppies with your own kernel and initramfs">Floppy set web builder</a> |
   19.25 +	<a href="../builder/bootloader" title="Build your floppy sets without Internet">Shell builder</a>
   19.26 +</div>   
   19.27 +	<a href="http://www.slitaz.org/"><img id="logo" 
   19.28 +	   src="../../css/pics/website/logo.png" title="www.slitaz.org" 
   19.29 +	   alt="www.slitaz.org" 
   19.30 +	   style="border: 0px solid ; width: 200px; height: 74px;" /></a>
   19.31 +	<p id="titre">#!/boot/floppies/loram</p>
   19.32 +</div>
   19.33 +
   19.34 +<!-- Navigation menu -->
   19.35 +<div id="nav">
   19.36 +
   19.37 +<div class="nav_box">
   19.38 +<h4>Images loram 3.0</h4>
   19.39 +<ul>
   19.40 +	<li><a href="fd001.img">fd001.img 1.44Mb</a></li>
   19.41 +	<li><a href="fd002.img">fd002.img 1.44Mb</a></li>
   19.42 +	<li><a href="fd003.img">fd003.img 1.44Mb</a><br /></li>
   19.43 +	<li><a href="fd100.img">fd100.img 1.44Mb</a></li>
   19.44 +	<li><a href="fd101.img">fd101.img 1.44Mb</a></li>
   19.45 +	<li><a href="fd102.img">fd102.img 1.44Mb</a></li>
   19.46 +	<li><a href="fd103.img">fd103.img 1.44Mb</a><br /></li>
   19.47 +	<li><a href="fd200.img">fd200.img 1.44Mb</a></li>
   19.48 +	<li><a href="fd201.img">fd201.img 1.44Mb</a></li>
   19.49 +	<li><a href="fd202.img">fd202.img 1.44Mb</a></li>
   19.50 +	<li><a href="fd203.img">fd203.img 1.44Mb</a></li>
   19.51 +	<li><a href="fd204.img">fd204.img 1.44Mb</a></li>
   19.52 +	<li><a href="fd205.img">fd205.img 1.44Mb</a></li>
   19.53 +	<li><a href="fd206.img">fd206.img 1.44Mb</a><br /></li>
   19.54 +	<li><a href="fd300.img">fd300.img 1.44Mb</a></li>
   19.55 +	<li><a href="fd301.img">fd301.img 1.44Mb</a></li>
   19.56 +	<li><a href="fd302.img">fd302.img 1.44Mb</a></li>
   19.57 +	<li><a href="fd303.img">fd303.img 1.44Mb</a></li>
   19.58 +	<li><a href="fd304.img">fd304.img 1.44Mb</a></li>
   19.59 +	<li><a href="fd305.img">fd305.img 1.44Mb</a></li>
   19.60 +	<li><a href="fd306.img">fd306.img 1.44Mb</a></li>
   19.61 +	<li><a href="fd307.img">fd307.img 1.44Mb</a></li>
   19.62 +	<li><a href="fd308.img">fd308.img 1.44Mb</a></li>
   19.63 +	<li><a href="fd309.img">fd309.img 1.44Mb</a></li>
   19.64 +	<li><a href="fd310.img">fd310.img 1.44Mb</a></li>
   19.65 +	<li><a href="fd311.img">fd311.img 1.44Mb</a><br /></li>
   19.66 +	<li><a href="md5sum">md5sum</a></li>
   19.67 +</ul>
   19.68 +</div>
   19.69 +
   19.70 +<!-- End navigation menu -->
   19.71 +</div>
   19.72 +
   19.73 +<!-- Content top. -->
   19.74 +<div id="content_top">
   19.75 +<div class="top_left"></div>
   19.76 +<div class="top_right"></div>
   19.77 +</div>
   19.78 +
   19.79 +<!-- Content -->
   19.80 +<div id="content">
   19.81 +
   19.82 +<h1><font color="#3e1220">Boot</font></h1>
   19.83 +<h2><font color="#df8f06">Floppy image set</font></h2>
   19.84 +
   19.85 +<p>
   19.86 +This floppy set will boot a Slitaz stable loram version. You can write floppies
   19.87 +with SliTaz <i>bootfloppybox</i>, 
   19.88 +<a href="http://en.wikipedia.org/wiki/RaWrite">Windows rawrite</a> or simply dd:
   19.89 +</p><pre># dd if=fd001.img of=/dev/fd0
   19.90 +</pre>
   19.91 +
   19.92 +<p>
   19.93 +If you have a CD-ROM, an USB port and an USB key or a network card, but you
   19.94 +can't boot these devices directly, then try
   19.95 +<a href="http://mirror.slitaz.org/boot/floppy-grub4dos">floppy-grub4dos</a> 
   19.96 +first. This 1.44Mb floppy provides tiny programs to boot these devices without BIOS
   19.97 +support and some other tools.
   19.98 +</p>
   19.99 +<p>
  19.100 +You can start with one of the 3 following flavors :
  19.101 +</p><ul>
  19.102 +  <li>
  19.103 +  <b>base</b> needs 22Mb of RAM and 7 floppies: <i>fd001.img</i> to <i>fd103.img</i>.<br />
  19.104 +  base provides the minimum slitaz distribution subset in text mode. 
  19.105 +  </li>
  19.106 +  <li>
  19.107 +  <b>justx</b> needs 64M of RAM and 14 floppies: <i>fd001.img</i> to <i>fd206.img</i>.<br />
  19.108 +  justx provides the minimum slitaz distribution subset with X11 support. 
  19.109 +  </li>
  19.110 +  <li>
  19.111 +  <b>core</b> needs 92M of RAM and 26 floppies: <i>fd001.img</i> to <i>fd311.img</i>.<br />
  19.112 +  core provides the default slitaz distribution. 
  19.113 +  </li>
  19.114 +</ul>
  19.115 +
  19.116 +Start your computer with <i>fd001.img</i>. It will show the kernel version string and
  19.117 +the kernel cmdline line. You can edit the cmdline. Most users can just press Enter.
  19.118 +
  19.119 +<p>
  19.120 +The floppy is then loaded into memory (one dot each 64k) and you will be prompted to
  19.121 +insert the next floppy, <i>fd002.img</i>. And so on up to <i>fd003.img</i>.
  19.122 +</p>
  19.123 +<p>
  19.124 +The loram bootstrap will then start and you will be prompted to insert extra floppies
  19.125 +for base, justx and core flavors. You can bypass this by using Q and Enter.
  19.126 +</p>
  19.127 +<p>
  19.128 +Each floppy set detects disk swaps and can be used without a keyboard.
  19.129 +</p>
  19.130 +<p>
  19.131 +Good luck.
  19.132 +</p>
  19.133 +
  19.134 +<!-- End of content with round corner -->
  19.135 +</div>
  19.136 +<div id="content_bottom">
  19.137 +<div class="bottom_left"></div>
  19.138 +<div class="bottom_right"></div>
  19.139 +</div>
  19.140 +
  19.141 +<!-- Start of footer and copy notice -->
  19.142 +<div id="copy">
  19.143 +<p>
  19.144 +Copyright &copy; <span class="year"></span> <a href="http://www.slitaz.org/">SliTaz</a> -
  19.145 +<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
  19.146 +</p>
  19.147 +<!-- End of copy -->
  19.148 +</div>
  19.149 +
  19.150 +<!-- Bottom and logo's -->
  19.151 +<div id="bottom">
  19.152 +<p>
  19.153 +<a href="http://validator.w3.org/check?uri=referer"><img src="../../css/pics/website/xhtml10.png" alt="Valid XHTML 1.0" title="Code validé XHTML 1.0" style="width: 80px; height: 15px;" /></a>
  19.154 +</p>
  19.155 +</div>
  19.156 +
  19.157 +</body>
  19.158 +</html>