Difference between pages "MediaWiki:Common.css" and "Package:Lilo"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
@font-face {
{{Ebuild
  font-family: 'Linux Libertine';
|Summary=Standard Linux boot loader
  src: url('/fonts/LinLibertine_R.woff');
|CatPkg=sys-boot/lilo
}
|Maintainer=
}}
__TOC__
'''Lilo''' linux loader is a boot loader to load linux, and other operating systems.  Lilo is called by default when running make install in kernel source directories.
=Installation=
==Emerge==
<console>##i### emerge lilo</console>


@font-face {
=Configure=
  font-family: 'Linux Libertine';
  font-weight: bold;
  src: url('/fonts/LinLibertine_RB.woff');
}


.shell,pre,.mw-code,code,tt,div.mw-geshi {
Lilo's default configuration example has hda references, lets change those to sda recursively using sed.<console>##i### sed -i -e 's/hda/sda/' /etc/lilo.conf.example</console>Now we copy the example configuration to the running configuration.<console>##i### cp /etc/lilo.conf.example /etc/lilo.conf</console>
font-size:12px;
font-family:'andale mono','lucida console', monospace;
}


.shell,pre,.mw-code,div.mw-geshi {
==Default OS==
overflow-x:auto;
overflow-y:hidden;
border:1.5px solid #ccc;
border-radius:5px;
line-height:1.2em;
margin:0;
margin-bottom: 0.5em;
padding:10px;
}


.code {
To change default booting os.
font-family:'andale mono', 'lucida console', monospace;
font-size:12px;
border:none;
border-radius:10px;
background-color:#073642;
color:#aaa;
overflow-x:auto;
overflow-y:hidden;
line-height:1.5em;
}


.code b {
{{file|name=/etc/lilo.conf|desc=|body=
color:#fff;
# MBR to install LILO to:
font-weight:700;
boot = /dev/sda
}
map = /boot/.map
default = Funtoo
}}


.code_input {
==Timeout==
color:#ff8040;
font-weight:700;
}


.code_red {
To have lilo auto start after a set time.
color:red;
}


.code_blue {
{{file|name=/etc/lilo.conf|desc=|body=
color:#88f;
# If you always want to see the prompt with a 15 second timeout:
}
timeout=150}}


.code_green {
==Silence==
color:#0f0;
}


.code_yellow {
For silent kernel decompression at boot:
color:#ff0;
}


/* Ebuild/Package CSS */
{{file|name=/etc/lilo.conf|desc=|body=
label = Funtoo
read-only # read-only for checking
append = "quiet"}}


.ns-502 #firstHeading {
==alternate init systems==
  font-family: 'Linux Libertine', Georgia, Times, serif;
  margin-bottom: 0.25em;
  font-size: 1.6em;
}


ns-502 #content-spacer {
to load an alternate init system, example systemd instead of openrc:
  display: block;
 
  line-height: 1em;
{{file|name=/etc/lilo.conf|desc=|body=
}
label = Funtoo-systemd
read-only # read-only for checking
append = "quiet init=/usr/lib/systemd/systemd"}}
 
==Old Configs==
 
It is a good idea to keep an old image around in case problems crop up in new kernel builds.
 
{{file|name=/etc/lilo.conf|desc=|body=
#image = /boot/bzImage.old
        root = /dev/sda3
        #root = /devices/discs/disc0/part3
        label = funtoo.old
        read-only # read-only for checking#}}
 
=Kernel Linking=
 
Using symlinks is a good idea to be able to determine if the loader is loading the correct image, and enable tab auto completion to ensure we are loading what we intend to.  symlinks remove an easy area to fumble when adjusting configurations.
 
<console>##i### ln -s /boot/vmlinuz-version /boot/bzImage</console>
<console>##i### ln -s /boot/vmlinuz-version.old /boot/bzImage.old</console>
 
{{fancynote|if you do not use make install to copy your kernel to /boot, you must run lilo to load the new kernel images & install lilo to the hard drives mbr}}
 
==Install==
Install lilo to the MBR.<console>##i### lilo</console>[[Category:Bootloaders]]
{{EbuildFooter}}

Revision as of 07:07, June 27, 2014

Lilo

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


Lilo linux loader is a boot loader to load linux, and other operating systems. Lilo is called by default when running make install in kernel source directories.

Installation

Emerge

root ##i### emerge lilo

Configure

Lilo's default configuration example has hda references, lets change those to sda recursively using sed.
root ##i### sed -i -e 's/hda/sda/' /etc/lilo.conf.example
Now we copy the example configuration to the running configuration.
root ##i### cp /etc/lilo.conf.example /etc/lilo.conf

Default OS

To change default booting os.

   /etc/lilo.conf
# MBR to install LILO to:
boot = /dev/sda
map = /boot/.map
default = Funtoo

Timeout

To have lilo auto start after a set time.

   /etc/lilo.conf
# If you always want to see the prompt with a 15 second timeout:
timeout=150

Silence

For silent kernel decompression at boot:

   /etc/lilo.conf
label = Funtoo
	read-only # read-only for checking
	append = "quiet"

alternate init systems

to load an alternate init system, example systemd instead of openrc:

   /etc/lilo.conf
label = Funtoo-systemd
	read-only # read-only for checking
	append = "quiet init=/usr/lib/systemd/systemd"

Old Configs

It is a good idea to keep an old image around in case problems crop up in new kernel builds.

   /etc/lilo.conf
#image = /boot/bzImage.old
        root = /dev/sda3
        #root = /devices/discs/disc0/part3
        label = funtoo.old
        read-only # read-only for checking#

Kernel Linking

Using symlinks is a good idea to be able to determine if the loader is loading the correct image, and enable tab auto completion to ensure we are loading what we intend to. symlinks remove an easy area to fumble when adjusting configurations.

root ##i### ln -s /boot/vmlinuz-version /boot/bzImage
root ##i### ln -s /boot/vmlinuz-version.old /boot/bzImage.old
   Note

if you do not use make install to copy your kernel to /boot, you must run lilo to load the new kernel images & install lilo to the hard drives mbr

Install

Install lilo to the MBR.
root ##i### lilo