Difference between pages "Lilo" and "Talk:SSH"

From Funtoo
(Difference between pages)
Jump to: navigation, search
m (funtooisms)
 
(Created page with "== keys == i ~~~ approve re-licensing to what ever funtoo's license is this information. https://wiki.gentoo.org/index.php?title=SSH&diff=13129&oldid=11477 <3 take it easy fr...")
 
Line 1: Line 1:
'''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.
+
== keys ==
=Installation=
+
i [[User:666threesixes666|666threesixes666]] ([[User talk:666threesixes666|talk]]) approve re-licensing to what ever funtoo's license is this information.
==Emerge==
+
https://wiki.gentoo.org/index.php?title=SSH&diff=13129&oldid=11477
<console>##r### ##b## emerge -av lilo</console><br />
+
  
=Configure=
+
<3 take it easy friends [[User:666threesixes666|666threesixes666]] ([[User talk:666threesixes666|talk]]) 17:24, 18 March 2014 (UTC)
 
+
Lilo's default configuration example has hda references, lets change those to sda recursively using sed.<console>##r### ##b## sed -i -e 's/hda/sda/' /etc/lilo.conf.example</console>Now we copy the example configuration to the running configuration.<console>##r### ##b## cp /etc/lilo.conf.example /etc/lilo.conf</console>
+
 
+
==Default OS==
+
 
+
To change default booting os.
+
 
+
/etc/lilo.conf
+
 
+
<pre># MBR to install LILO to:
+
boot = /dev/sda
+
map = /boot/.map
+
default = Funtoo</pre>
+
 
+
==Timeout==
+
 
+
To have lilo auto start after a set time.
+
 
+
/etc/lilo.conf
+
 
+
<pre># If you always want to see the prompt with a 15 second timeout:
+
timeout=150</pre>
+
 
+
==Silence==
+
 
+
For silent kernel decompression at boot:
+
 
+
/etc/lilo.conf
+
 
+
<pre> label = Funtoo
+
read-only # read-only for checking
+
append = "quiet"</pre>
+
 
+
==alternate init systems==
+
 
+
to load an alternate init system, example systemd instead of openrc:
+
 
+
/etc/lilo.conf
+
<pre> label = Funtoo-systemd
+
read-only # read-only for checking
+
append = "quiet init=/usr/lib/systemd/systemd"</pre>
+
 
+
==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
+
<pre>#image = /boot/bzImage.old
+
        root = /dev/sda3
+
        #root = /devices/discs/disc0/part3
+
        label = funtoo.old
+
        read-only # read-only for checking#</pre>
+
 
+
=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>##r### ##b## ln -s /boot/vmlinuz-version /boot/bzImage</console>
+
<console>##r### ##b## 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>##r### ##b## lilo</console>[[Category:Bootloaders]]
+

Latest revision as of 17:24, 18 March 2014

keys

i 666threesixes666 (talk) approve re-licensing to what ever funtoo's license is this information. https://wiki.gentoo.org/index.php?title=SSH&diff=13129&oldid=11477

<3 take it easy friends 666threesixes666 (talk) 17:24, 18 March 2014 (UTC)