Added responsive version of the website, based on 'skeleton' (http://getskeleton.com).

This commit is contained in:
Ivan Davidov 2015-02-15 18:16:23 +02:00
parent e14dca3600
commit 461b39b1d0
4 changed files with 1189 additions and 447 deletions

427
www/css/normalize.css vendored Normal file
View File

@ -0,0 +1,427 @@
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}

420
www/css/skeleton.css vendored Normal file
View File

@ -0,0 +1,420 @@
/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/
/* Table of contents
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/
/* Grid
*/
.container {
position: relative;
width: 100%;
max-width: 960px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
box-sizing: border-box; }
/* For devices larger than 400px */
@media (min-width: 400px) {
.container {
width: 85%;
padding: 0; }
}
/* For devices larger than 550px */
@media (min-width: 550px) {
.container {
width: 80%; }
.column,
.columns {
margin-left: 4%; }
.column:first-child,
.columns:first-child {
margin-left: 0; }
.one.column,
.one.columns { width: 4.66666666667%; }
.two.columns { width: 13.3333333333%; }
.three.columns { width: 22%; }
.four.columns { width: 30.6666666667%; }
.five.columns { width: 39.3333333333%; }
.six.columns { width: 48%; }
.seven.columns { width: 56.6666666667%; }
.eight.columns { width: 65.3333333333%; }
.nine.columns { width: 74.0%; }
.ten.columns { width: 82.6666666667%; }
.eleven.columns { width: 91.3333333333%; }
.twelve.columns { width: 100%; margin-left: 0; }
.one-third.column { width: 30.6666666667%; }
.two-thirds.column { width: 65.3333333333%; }
.one-half.column { width: 48%; }
/* Offsets */
.offset-by-one.column,
.offset-by-one.columns { margin-left: 8.66666666667%; }
.offset-by-two.column,
.offset-by-two.columns { margin-left: 17.3333333333%; }
.offset-by-three.column,
.offset-by-three.columns { margin-left: 26%; }
.offset-by-four.column,
.offset-by-four.columns { margin-left: 34.6666666667%; }
.offset-by-five.column,
.offset-by-five.columns { margin-left: 43.3333333333%; }
.offset-by-six.column,
.offset-by-six.columns { margin-left: 52%; }
.offset-by-seven.column,
.offset-by-seven.columns { margin-left: 60.6666666667%; }
.offset-by-eight.column,
.offset-by-eight.columns { margin-left: 69.3333333333%; }
.offset-by-nine.column,
.offset-by-nine.columns { margin-left: 78.0%; }
.offset-by-ten.column,
.offset-by-ten.columns { margin-left: 86.6666666667%; }
.offset-by-eleven.column,
.offset-by-eleven.columns { margin-left: 95.3333333333%; }
.offset-by-one-third.column,
.offset-by-one-third.columns { margin-left: 34.6666666667%; }
.offset-by-two-thirds.column,
.offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
.offset-by-one-half.column,
.offset-by-one-half.columns { margin-left: 52%; }
}
/* Base Styles
*/
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
font-size: 62.5%;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll; }
body {
font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
line-height: 1.6;
font-weight: 400;
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #222; }
/* Typography
*/
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 2rem;
font-weight: 300; }
h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
/* Larger than phablet */
@media (min-width: 550px) {
h1 { font-size: 5.0rem; }
h2 { font-size: 4.2rem; }
h3 { font-size: 3.6rem; }
h4 { font-size: 3.0rem; }
h5 { font-size: 2.4rem; }
h6 { font-size: 1.5rem; }
}
p {
margin-top: 0; }
/* Links
*/
a {
color: #1EAEDB; }
a:hover {
color: #0FA0CE; }
/* Buttons
*/
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
display: inline-block;
height: 26px;
padding: 0 20px;
color: #555;
text-align: center;
font-size: 12px;
font-weight: 600;
line-height: 26px;
letter-spacing: .1rem;
text-transform: none;
text-decoration: none;
white-space: nowrap;
background-color: transparent;
border-radius: 10px;
border: 1px solid #bbb;
cursor: pointer;
box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
color: #333;
border-color: #888;
outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
color: #FFF;
background-color: #33C3F0;
border-color: #33C3F0; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
color: #FFF;
background-color: #1EAEDB;
border-color: #1EAEDB; }
/* Forms
*/
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
height: 38px;
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
background-color: #fff;
border: 1px solid #D1D1D1;
border-radius: 4px;
box-shadow: none;
box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none; }
textarea {
min-height: 65px;
padding-top: 6px;
padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
border: 1px solid #33C3F0;
outline: 0; }
label,
legend {
display: block;
margin-bottom: .5rem;
font-weight: 600; }
fieldset {
padding: 0;
border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
display: inline; }
label > .label-body {
display: inline-block;
margin-left: .5rem;
font-weight: normal; }
/* Lists
*/
ul {
list-style: circle inside; }
ol {
list-style: decimal inside; }
ol, ul {
padding-left: 0;
margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
margin: 1.5rem 0 1.5rem 3rem;
font-size: 90%; }
li {
margin-bottom: 1rem; }
/* Code
*/
code {
padding: .2rem .5rem;
margin: 0 .2rem;
font-size: 90%;
white-space: nowrap;
background: #F1F1F1;
border: 1px solid #E1E1E1;
border-radius: 4px; }
pre > code {
display: block;
padding: 1rem 1.5rem;
white-space: pre; }
/* Tables
*/
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
padding-left: 0; }
th:last-child,
td:last-child {
padding-right: 0; }
/* Spacing
*/
button,
.button {
margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
margin-bottom: 2.5rem; }
/* Utilities
*/
.u-full-width {
width: 100%;
box-sizing: border-box; }
.u-max-full-width {
max-width: 100%;
box-sizing: border-box; }
.u-pull-right {
float: right; }
.u-pull-left {
float: left; }
/* Misc
*/
hr {
margin-top: 3rem;
margin-bottom: 3.5rem;
border-width: 0;
border-top: 1px solid #E1E1E1; }
/* Clearing
*/
/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
content: "";
display: table;
clear: both; }
/* Media Queries
*/
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/
/* Larger than mobile */
@media (min-width: 400px) {}
/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}
/* Larger than tablet */
@media (min-width: 750px) {}
/* Larger than desktop */
@media (min-width: 1000px) {}
/* Larger than Desktop HD */
@media (min-width: 1200px) {}

View File

@ -1,317 +1,352 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Minimal Linux Live" />
<meta name="keywords" content="minimal minimalistic tiny linux live tutorial howto kernel busybox cd usb iso image" />
<meta name="author" content="Ivan Davidov - davidov (dot) i [at] gmail {dot} com" />
<title>Minimal Linux Live</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<script language="JavaScript" type="text/javascript">
function menuSwap(itemIndex) {
for(var i = 1; i <= 5; i++) {
var strItem = "item" + i;
var objItem = document.getElementById(strItem);
objItem.style.display = (i == itemIndex) ? "block" : "none";
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Minimal Linux Live</title>
<meta name="description" content="Minimal Linux Live">
<meta name="keywords" content="minimal minimalistic tiny linux live tutorial howto kernel busybox cd usb iso image" />
<meta name="author" content="Ivan Davidov - davidov (dot) i [at] gmail {dot} com">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="icon" type="image/x-icon" href="./images/favicon.ico" />
<script language="JavaScript" type="text/javascript">
function menuSwap(itemIndex) {
for(var i = 1; i <= 5; i++) {
var strItem = "item" + i;
var objItem = document.getElementById(strItem);
objItem.style.display = (i == itemIndex) ? "block" : "none";
}
}
function logSwap(itemIndex, show) {
for(var i = 1; i <= 3; i++) {
var showObj = document.getElementById("show" + i);
var hideObj = document.getElementById("hide" + i);
var textObj = document.getElementById("text" + i);
if(i == itemIndex) {
if(show == true) {
showObj.style.display = "none";
hideObj.style.display = "block";
textObj.style.display = "block";
} else {
showObj.style.display = "block";
hideObj.style.display = "none";
textObj.style.display = "none";
}
} else if(show == true) {
showObj.style.display = "block";
hideObj.style.display = "none";
textObj.style.display = "none";
}
}
function logSwap(itemIndex, show) {
for(var i = 1; i <= 3; i++) {
var showObj = document.getElementById("show" + i);
var hideObj = document.getElementById("hide" + i);
var textObj = document.getElementById("text" + i);
if(i == itemIndex) {
if(show == true) {
showObj.style.display = "none";
hideObj.style.display = "block";
textObj.style.display = "block";
} else {
showObj.style.display = "block";
hideObj.style.display = "none";
textObj.style.display = "none";
}
} else if(show == true) {
showObj.style.display = "block";
hideObj.style.display = "none";
textObj.style.display = "none";
}
}
}
</script>
</head>
<body>
<div id="container">
<div id="header">
<a href="/">Minimal Linux Live</a>
}
</script>
</head>
<body>
<div class="container">
<div class="row">
<div class="twelve columns" style="text-align: center;">
<h2><a href="/" style="text-decoration: none; color: #000;">Minimal Linux Live</a></h2>
</div>
<div id="menu">
<a href="#" onclick="javascript:menuSwap(1); return false;">Home</a> &nbsp;&nbsp;&nbsp;
<a href="#" onclick="javascript:menuSwap(2); return false;">Changes</a> &nbsp;&nbsp;&nbsp;
<a href="#" onclick="javascript:menuSwap(3); return false;">About</a> &nbsp;&nbsp;&nbsp;
<a href="#" onclick="javascript:menuSwap(4); return false;">Tutorial</a> &nbsp;&nbsp;&nbsp;
<a href="#" onclick="javascript:menuSwap(5); return false;">Download</a>
<div class="twelve columns" style="text-align: center;">
<a class="button button-primary" href="#" onclick="javascript:menuSwap(1); return false;">Home</a>
<a class="button button-primary" href="#" onclick="javascript:menuSwap(2); return false;">Changes</a>
<a class="button button-primary" href="#" onclick="javascript:menuSwap(3); return false;">About</a>
<a class="button button-primary" href="#" onclick="javascript:menuSwap(4); return false;">Tutorial</a>
<a class="button button-primary" href="#" onclick="javascript:menuSwap(5); return false;">Download</a>
<hr />
</div>
<div id="main">
<div id="item1" style="display:block;">
<div id="text">
<h2>Home Page</h2>
<p>
<b>Minimal Linux Live</b> is a set of Linux shell scripts which automatically build minimal Live
Linux OS based on <a target="_blank" href="http://kernel.org">Linux kernel</a>
and <a target="_blank" href="http://busybox.net">BusyBox</a>. All necessary source codes are automatically
downloaded and all build operations are fully encapsulated in the scripts.
</p>
<p>
If you want to build your own Minimal Linux Live ISO image file, all you need to do is the following:
</p>
<p>
<ul>
<li>
Get the latest scripts from the <a href="#" onclick="javascript:menuSwap(5); return false;">download</a> section.
</li>
<li>
Extract the scripts to some folder.
</li>
<li>
Just for convenience, make sure that all scripts are executable (chmod +x *.sh). If you decide to skip this step you
can still run the scripts like this (example): <i>sh build_minimal_linux_live.sh</i>
</li>
<li>
Depending on which Linux OS you are using, there might be one or more (or none, or even more) build dependencies that you
need to resolve before you start the build process. If you work with <a target="_blank" href="http://ubuntu.com">Ubuntu</a>,
the following commands should resolve all necessary build dependencies:
<ul>
<li>
sudo apt-get install wget
</li>
<li>
sudo apt-get install make
</li>
<li>
sudo apt-get install gcc
</li>
<li>
sudo apt-get install bc
</li>
<li>
sudo apt-get install syslinux
</li>
<li>
sudo apt-get install genisoimage
</li>
</ul>
<br />
</li>
<li>
Execute the script <b>build_minimal_linux_live.sh</b> and wait. If you have resolved all build dependencies, the whole
process should take less than 30 minutes on a modern computer. If the build fails for some reason, most probably there
are unresolved build dependencies. Several users reported that the <i>build-essential</i> package resolves all unexpected
build dependencies for Ubuntu. If you are using <a target="_blank" href="http://linuxmint.com">Linux Mint</a> try to
install the package <i>g++</i> and if you still have troubles then try the <i>build-essential</i> package. On
<a target="_blank" href="http://fedoraproject.org">Fedora</a> you might need the static 'glibc' package <i>glibc-static</i>.
On <a target="_blank" href="http://www.archlinux.org/">Arch Linux</a> you might need to locate <i>isolinux.bin</i> and copy
it to <i>/usr/lib/syslinux/isolinux.bin</i>.
<p />
Please have in mind that the build dependencies can vary a lot depending on the Linux OS which you use and the software
which you have already installed.
<p />
If you still have troubles then examine the failure message and google it. If you are unable to find solution, then you
can ask someone more experienced Linux guru (if you know any) or as alternative you can contact me. Please, make sure that
you have researched your problem in advance before you send me your question.
</li>
<li>
When the scripts finish their job you will find newly created <b>minimal_linux_live.iso</b> in the same folder where you
executed the scripts. You can burn the ISO image file on CD/DVD, install it on USB flash drive via
<a target="_blank" href="http://www.pendrivelinux.com">Universal USB Installer</a>,
or run it directly via PC emulator like <a target="_blank" href="http://virtualbox.org">VirtualBox</a>.
</li>
</ul>
</p>
<p>
The produced ISO image file contains Linux kernel compiled with default options, BusyBox compiled with default options and very simple
initramfs. This means that you don't get Windows support out of the box, nor you get any fancy desktop environment. All you
get is a simple shell console which supports all BusyBox applets and... well, that's all. This is why it's called "minimal".
</p>
<p>
The good news is that even though the OS is small and simple, the build scripts are also very small and very simple. You can
quite easily learn from the scripts and later modify them to include more stuff (I encourage you to do so). After you learn
the basics you will have all the necessary tools and skills to create your own fully functional Linux based operating system!
Entirely from scratch! Isn't it great?! :)
</p>
<p>
The <a href="#" onclick="javascript:menuSwap(4); return false;">tutorial</a> provides more details about the inner structure
of the scripts and the overall build process. I encourage you to go through this document when you have the time.
</p>
<p>
Below you can find several screenshots which show what the environment looks like when you boot your newly generated
Minimal Linux Live OS.
</p>
<p>
<img alt="Minimal Linux Live" id="screenshot1" width="100%" height="100%" border="0" src="./images/screen1.png" />
</p>
<p>
<img alt="Minimal Linux Live" id="screenshot2" width="100%" height="100%" border="0" src="./images/screen2.png" />
</p>
<p>
<img alt="Minimal Linux Live" id="screenshot3" width="100%" height="100%" border="0" src="./images/screen3.png" />
</p>
<div id="item1" style="display:block;" class="row">
<div class="twelve columns">
<h4>Home</h4>
</div>
<div class="twelve columns">
<strong>Minimal Linux Live</strong> is a set of Linux shell scripts which automatically build minimal Live
Linux OS based on <a target="_blank" href="http://kernel.org">Linux kernel</a>
and <a target="_blank" href="http://busybox.net">BusyBox</a>. All necessary source codes are automatically
downloaded and all build operations are fully encapsulated in the scripts.
</div>
<div class="twelve columns">
If you want to build your own Minimal Linux Live ISO image file, all you need to do is the following:
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
<ul>
<li>
Get the latest scripts from the <a href="#" onclick="javascript:menuSwap(5); return false;">download</a> section.
</li>
<li>
Extract the scripts to some folder.
</li>
<li>
Just for convenience, make sure that all scripts are executable (<code>chmod +x *.sh</code>). If you decide to skip this step you
can still run the scripts like this (example): <code>sh build_minimal_linux_live.sh</code>
</li>
<li>
Depending on which Linux OS you are using, there might be one or more (or none, or even more) build dependencies that you
need to resolve before you start the build process. If you work with <a target="_blank" href="http://ubuntu.com">Ubuntu</a>,
the following commands should resolve all necessary build dependencies:
<ul>
<li>
<code>sudo apt-get install wget</code>
</li>
<li>
<code>sudo apt-get install make</code>
</li>
<li>
<code>sudo apt-get install gcc</code>
</li>
<li>
<code>sudo apt-get install bc</code>
</li>
<li>
<code>sudo apt-get install syslinux</code>
</li>
<li>
<code>sudo apt-get install genisoimage</code>
</li>
</ul>
</li>
<li>
Execute the script <code>build_minimal_linux_live.sh</code> and wait. If you have resolved all build dependencies, the whole
process should take less than 30 minutes on a modern computer. If the build fails for some reason, most probably there
are unresolved build dependencies. Several users reported that the <code>build-essential</code> package resolves all unexpected
build dependencies for Ubuntu. If you are using <a target="_blank" href="http://linuxmint.com">Linux Mint</a> try to
install the package <code>g++</code> and if you still have troubles then try the <code>build-essential</code> package. On
<a target="_blank" href="http://fedoraproject.org">Fedora</a> you might need the static 'glibc' package <code>glibc-static</code>.
On <a target="_blank" href="http://www.archlinux.org/">Arch Linux</a> you might need to locate <code>isolinux.bin</code> and copy
it to <code>/usr/lib/syslinux/isolinux.bin</code>.
<div style="font-size: 10%;">&nbsp;</div>
Please have in mind that the build dependencies can vary a lot depending on the Linux OS which you use and the software
which you have already installed.
<div style="font-size: 10%;">&nbsp;</div>
If you still have troubles then examine the failure message and google it. If you are unable to find solution, then you
can ask someone more experienced Linux guru (if you know any) or as alternative you can contact me. Please, make sure that
you have researched your problem in advance before you send me your question.
</li>
<li>
When the scripts finish their job you will find newly created <strong>minimal_linux_live.iso</strong> in the same folder where you
executed the scripts. You can burn the ISO image file on CD/DVD, install it on USB flash drive via
<a target="_blank" href="http://www.pendrivelinux.com">Universal USB Installer</a>,
or run it directly via PC emulator like <a target="_blank" href="http://virtualbox.org">VirtualBox</a>.
</li>
</ul>
</div>
<div class="twelve columns">
The produced ISO image file contains Linux kernel compiled with default options, BusyBox compiled with default options and very simple
initramfs. This means that you don't get Windows support out of the box, nor you get any fancy desktop environment. All you
get is a simple shell console which supports all BusyBox applets and... well, that's all. This is why it's called "minimal".
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
The good news is that even though the OS is small and simple, the build scripts are also very small and very simple. You can
quite easily learn from the scripts and later modify them to include more stuff (I encourage you to do so). After you learn
the basics you will have all the necessary tools and skills to create your own fully functional Linux based operating system!
Entirely from scratch! Isn't it great?! :)
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
The <a href="#" onclick="javascript:menuSwap(4); return false;">tutorial</a> provides more details about the inner structure
of the scripts and the overall build process. I encourage you to go through this document when you have the time.
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
Below you can find several screenshots which show what the environment looks like when you boot your newly generated
Minimal Linux Live OS.
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="row">
<div class="four columns">
<a href="./images/screen1.png" target="_blank" title="Minimal Linux Live - screenshot 1">
<img alt="Minimal Linux Live" id="screenshot1" width="100%" height="100%" border="0" src="./images/screen1.png" />
</a>
</div>
<div class="four columns">
<a href="./images/screen2.png" target="_blank" title="Minimal Linux Live - screenshot 2">
<img alt="Minimal Linux Live" id="screenshot1" width="100%" height="100%" border="0" src="./images/screen2.png" />
</a>
</div>
<div class="four columns">
<a href="./images/screen3.png" target="_blank" title="Minimal Linux Live - screenshot 3">
<img alt="Minimal Linux Live" id="screenshot1" width="100%" height="100%" border="0" src="./images/screen3.png" />
</a>
</div>
</div>
</div>
<div id="item2" style="display:none;" class="row">
<div class="twelve columns">
<h4>Change Log</h4>
</div>
<div class="twelve columns">
<div id="show3" style="display:none;">
<strong>07-Feb-2015</strong>
<a href="#" onclick="javascript:logSwap(3, true); return false;">show</a>
</div>
<div id="hide3" style="display:block;">
<strong>07-Feb-2015</strong>
<a href="#" onclick="javascript:logSwap(3, false); return false;">hide</a>
</div>
<div id="text3" style="display:block;">
<ul>
<div style="font-size: 10%;">&nbsp;</div>
<li>
<strong>Minimal Linux Live</strong> is now based on <strong>Linux kernel 3.18.6</strong> and <strong>BusyBox 1.23.1</strong>.
</li>
</ul>
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div id="show2" style="display:block;">
<strong>25-Aug-2014</strong>
<a href="#" onclick="javascript:logSwap(2, true); return false;">show</a>
</div>
<div id="hide2" style="display:none;">
<strong>25-Aug-2014</strong>
<a href="#" onclick="javascript:logSwap(2, false); return false;">hide</a>
</div>
<div id="text2" style="display:none;">
<div style="font-size: 10%;">&nbsp;</div>
<ul>
<li>
<strong>Minimal Linux Live</strong> is now based on <strong>Linux kernel 3.16.1</strong> and <strong>BusyBox 1.22.1</strong>.
</li>
<li>
The boot process is now based on <strong>/sbin/init</strong> and <strong>/etc/inittab</strong>. There are four
available consoles. You can switch between them with <strong>Alt + F1</strong> up to <strong>Alt + F4</strong>.
</li>
<li>
Shell scripts have been updated. Now the downloaded source bundles are stored in separate folder.
If the download process is interrupted, it will continue the next time the scripts are executed.
The most notable change is in <strong>5_generate_rootfs.sh</strong> which now generates root file system with
structure compatible with <strong>/sbin/init</strong> and <strong>/etc/inittab</strong>.
</li>
</ul>
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div id="show1" style="display:block;">
<strong>28-Jul-2014</strong>
<a href="#" onclick="javascript:logSwap(1, true); return false;">show</a>
</div>
<div id="hide1" style="display:none;">
<strong>28-Jul-2014</strong>
<a href="#" onclick="javascript:logSwap(1, false); return false;">hide</a>
</div>
<div id="text1" style="display:none;">
<div style="font-size: 10%;">&nbsp;</div>
<ul>
<li>
<strong>Minimal Linux Live</strong> is now based on <strong>Linux kernel 3.15.6</strong> and <strong>BusyBox 1.22.1</strong>.
</li>
<li>
The boot process is based on simple <strong>/init</strong> script.
</li>
</ul>
</div>
</div>
<div id="item2" style="display:none;">
<div id="text">
<h2>Change Log</h2>
<p>
<div id="show3" style="display:none;">
<b>07-Feb-2015</b>
<a href="#" onclick="javascript:logSwap(3, true); return false;">show</a>
</div>
<div id="hide3" style="display:block;">
<b>07-Feb-2015</b>
<a href="#" onclick="javascript:logSwap(3, false); return false;">hide</a>
</div>
<div id="text3" style="display:block;">
<ul>
<li>
<b>Minimal Linux Live</b> is now based on <b>Linux kernel 3.18.6</b> and <b>BusyBox 1.23.1</b>.
</li>
</ul>
</div>
</p>
<p>
<div id="show2" style="display:block;">
<b>25-Aug-2014</b>
<a href="#" onclick="javascript:logSwap(2, true); return false;">show</a>
</div>
<div id="hide2" style="display:none;">
<b>25-Aug-2014</b>
<a href="#" onclick="javascript:logSwap(2, false); return false;">hide</a>
</div>
<div id="text2" style="display:none;">
<ul>
<li>
<b>Minimal Linux Live</b> is now based on <b>Linux kernel 3.16.1</b> and <b>BusyBox 1.22.1</b>.
</li>
<li>
The boot process is now based on <b>/sbin/init</b> and <b>/etc/inittab</b>. There are four
available consoles which can be switched with <b>Alt + F1</b> up to <b>Alt + F4</b>.
</li>
<li>
Shell scripts have been updated. Now the downloaded source bundles are stored in separate folder.
If the download process is interrupted, it will continue the next time the scripts are executed.
The most notable change is in <b>5_generate_rootfs.sh</b> which now generates root file system with
structure compatible with <b>/sbin/init</b> and <b>/etc/inittab</b>.
</li>
</ul>
</div>
</p>
<p>
<div id="show1" style="display:block;">
<b>28-Jul-2014</b>
<a href="#" onclick="javascript:logSwap(1, true); return false;">show</a>
</div>
<div id="hide1" style="display:none;">
<b>28-Jul-2014</b>
<a href="#" onclick="javascript:logSwap(1, false); return false;">hide</a>
</div>
<div id="text1" style="display:none;">
<ul>
<li>
<b>Minimal Linux Live</b> is now based on <b>Linux kernel 3.15.6</b> and <b>BusyBox 1.22.1</b>.
</li>
<li>
The boot process is based on simple <b>/init</b> script.
</li>
</ul>
</div>
</p>
</div>
</div>
<div id="item3" style="display:none;">
<div id="text">
<h2>About This Project</h2>
<p>
My name is <a target="_blank" href="http://linkedin.com/in/ivandavidov">Ivan Davidov</a> and I currently
live and work in
<a target="_blank" href="http://en.wikipedia.org/wiki/Sofia">Sofia</a>,
<a target="_blank" href="http://en.wikipedia.org/wiki/Bulgaria">Bulgaria</a>.
</p>
<p>
I am professional Java software engineer (yes, Java developers tend to know some Linux stuff) and I've
been trying to create my own Linux OS for a very long time. There are some good tutorials which you
can find online but almost none of them are simple to follow and almost none of them explain in details
what has been done and why it's done in this particular way. In most cases the tutorials are incomplete and
there is high chance that you end up with something broken.
</p>
<p>
Don't get me wrong, you can learn a lot from these tutorials, as I did. In fact the scripts which I created
(did you take a look at them?) are based on the same information resources which you might have already found.
The difference is that this site provides you not only with detailed tutorial, but also with fully functional
set of shell scripts which automatically build fully functional live Linux OS. And the tutorial explains it
all for you!
</p>
<p>
If you'd like to contact me, my e-mail is: <b>davidov [dot] i (at) gmail {dot} com</b>
</p>
<p>
My LinkedIn profile is here: <a target="_blank" href="http://linkedin.com/in/ivandavidov">http://linkedin.com/in/ivandavidov</a>
</p>
</div>
</div>
<div id="item4" style="display:none;">
<div id="text">
<h2>Minimal Linux Live Tutorial</h2>
<p>
Would you like to learn how to build your own minimal live Linux OS?
</p>
<p>
<a target="_blank" href="./the_dao_of_minimal_linux_live.txt">The Dao of Minimal Linux Live</a> explains in details
what steps are involved in creating simple live Linux OS entirely from scratch, the inner structure of the
build scripts (I assume you have already downloaded them) and provides you with more information on how to
improve/upgrade the generated OS with other generic stuff (e.g. users &amp; groups, /etc/inittab).
</p>
</div>
</div>
<div id="item5" style="display:none;">
<div id="text">
<h2>Download Section</h2>
<p>
The latest stable scripts (07-Feb-2015) can be downloaded as ZIP archive
<a href="./download/minimal_linux_live_07-Feb-2015_src.zip" title="Minimal Linux Live - shell scripts">here</a>.
</p>
<p>
Pre-built ISO image files generated with the latest stable scripts are available for
<a href="./download/minimal_linux_live_07-Feb-2015_32-bit.iso" title="Minimal Linux Live - ISO image file for 32-bit CPUs">32-bit</a>
and
<a href="./download/minimal_linux_live_07-Feb-2015_64-bit.iso" title="Minimal Linux Live - ISO image file for 64-bit CPUs">64-bit</a>
CPUs.
</p>
<p>
You can also <a target="_blank" href="./download">browse the download directory</a>.
</p>
<p>
You can take a look at the latest development sources in
<a target="_blank" href="http://github.com/ivandavidov/minimal">GitHub</a>.
</p>
</div>
</div>
<div class="clear"></div>
</div>
<div id="footer">
Copyright &copy;2015
<span class="separator">|</span>
<a href="/" title="Minimal Linux Live">Minimal Linux Live</a>
<div id="item3" style="display:none;" class="row">
<div class="twelve columns">
<h4>About This Project</h4>
</div>
<div class="twelve columns">
My name is <a target="_blank" href="http://linkedin.com/in/ivandavidov">Ivan Davidov</a> and I currently
live and work in <a target="_blank" href="http://en.wikipedia.org/wiki/Sofia">Sofia</a>,
<a target="_blank" href="http://en.wikipedia.org/wiki/Bulgaria">Bulgaria</a>.
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
I am professional Java software engineer (yes, Java developers tend to know some Linux stuff) and I've
been trying to create my own Linux OS for a very long time. There are some good tutorials which you
can find online but almost none of them are simple to follow and almost none of them explain in details
what has been done and why it's done in this particular way. In most cases the tutorials are incomplete and
there is high chance that you end up with something broken.
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
Don't get me wrong, you can learn a lot from these tutorials, as I did. In fact the scripts which I created
(did you take a look at them?) are based on the same information resources which you might have already found.
The difference is that this site provides you not only with detailed tutorial, but also with fully functional
set of shell scripts which automatically build fully functional live Linux OS. And the tutorial explains it
all for you!
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
If you'd like to contact me, my e-mail is: <strong>davidov [dot] i (at) gmail {dot} com</strong>
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
My LinkedIn profile is here: <a target="_blank" href="http://linkedin.com/in/ivandavidov">http://linkedin.com/in/ivandavidov</a>
</div>
</div>
<div id="item4" style="display:none;" class="row">
<div class="twelve columns">
<h4>Minimal Linux Live Tutorial</h4>
</div>
<div class="twelve columns">
Would you like to learn how to build your own minimal live Linux OS?
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
<a target="_blank" href="./the_dao_of_minimal_linux_live.txt">The Dao of Minimal Linux Live</a> explains in details
what steps are involved in creating simple live Linux OS entirely from scratch, the inner structure of the
build scripts (I assume you have already downloaded them) and provides you with more information on how to
improve/upgrade the generated OS with other generic stuff (e.g. users &amp; groups, /etc/inittab).
</div>
</div>
<div id="item5" style="display:none;" class="row">
<div class="twelve columns">
<h4>Download Section</h4>
</div>
<div class="twelve columns">
The latest stable scripts (07-Feb-2015) can be downloaded as ZIP archive
<a href="./download/minimal_linux_live_07-Feb-2015_src.zip" title="Minimal Linux Live - shell scripts">here</a>.
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
Pre-built ISO image files generated with the latest stable scripts are available for
<a href="./download/minimal_linux_live_07-Feb-2015_32-bit.iso" title="Minimal Linux Live - ISO image file for 32-bit CPUs">32-bit</a>
and
<a href="./download/minimal_linux_live_07-Feb-2015_64-bit.iso" title="Minimal Linux Live - ISO image file for 64-bit CPUs">64-bit</a>
CPUs.
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
You can also <a target="_blank" href="./download">browse the download directory</a>.
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="twelve columns">
You can take a look at the latest development sources in
<a target="_blank" href="http://github.com/ivandavidov/minimal">GitHub</a>.
</div>
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="row">
<div class="twelve columns" style="text-align: center;">
<a class="button" href="#">Go to top</a>
</div>
</div>
<div style="font-size: 10%;">&nbsp;</div>
<div class="row" style="text-align: center;">
<div class="twelve columns">
Copyright &copy;2015
<span class="separator">|</span>
<a href="/" title="Minimal Linux Live">Minimal Linux Live</a>
</div>
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-53254151-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-53254151-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

View File

@ -1,140 +0,0 @@
html {
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}
body {
background: #f0f0f0;
margin: 0;
}
#container {
width: 100%;
max-width: 780px;
margin: 0 auto;
}
#header {
padding: 5px 0px 0px 0px;
text-align: center;
background: #3b7687;
}
#header a {
color: #fefefe;
text-decoration: none;
font-size: 25px;
font-family: "Verdana";
}
#menu {
background-color: #3b7687;
padding: 5px 0px 5px 0px;
text-align: center;
}
#menu a {
color: #d5e6eb;
text-decoration: none;
font-size: 12px;
font-family: "Verdana";
}
#menu a:hover {
color: #ecf2f3;
}
#sidebar {
float: right;
width: 160px;
padding: 20px 10px 40px 10px;
margin: 0;
color: #444444;
text-align: left;
background: #e6e6e6;
}
#sidebar a {
text-decoration: none;
color: #262626;
font-family: "Verdana";
font-size: 12px;
}
#sidebar a:hover {
color: #666666;
}
h1 {
margin: 0px;
color: #869843;
font-size:24px;
font-family: "Verdana";
font-weight: normal;
}
h2 {
color: #3b7687;
font-size: 14px;
font-family: "Verdana";
margin: 0px;
}
ul {
margin: 10px 0px 0px 0px;
line-height: 16px;
}
#main {
background-color: #fefefe;
}
#text {
margin: 0px 0px 0px 0px;
padding: 20px 20px 20px 20px;
color: #444444;
font-family: "Verdana";
font-size: 12px;
line-height: 16px;
text-align: justify;
}
#text a {
color: #3b7687;
text-decoration: underline;
}
#text a:hover {
color: #444444;
}
#footer {
padding: 10px 0px 5px 0px;
background: #d6d6d6;
font-family: "Verdana";
color: #444444;
font-size: 11px;
text-align: center;
}
#footer a {
text-decoration: none;
color: #262626;
}
#footer a:hover {
color: #666666;
}
.separator {
font-size:11px;
color:#FFFFFF;
}
.center {
text-align: center;
}
.clear {
clear:both;
}