Difference between pages "Package:Lilo" and "CPU FLAGS"

(Difference between pages)
 
 
Line 1: Line 1:
{{Ebuild
+
This page lists processor instruction sets that can be enabled on Funtoo Linux systems using the {{c|CPU_FLAGS_*}} variables.
|Summary=Standard Linux boot loader
+
|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>
+
  
=Configure=
+
==CPU_FLAGS_X86 ==
  
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>
+
{{TableStart}}
 
+
<tr><th>Flag</th><th>Introduced</th><th>Name</th><th></th></tr>
==Default OS==
+
<tr><td>{{c|mmx}}</td><td>1997 (Pentium MMX)</td><td>MMX</td><td>See [[Wikipedia:MMX (instruction set)]] </td></tr>
 
+
<tr><td>{{c|mmxext}}</td><td>1999</td><td>AMD MMX Extensions</td><td>See [[Wikipedia:Extended MMX]]</td></tr>
To change default booting os.
+
<tr><td>{{c|sse}}</td><td>1999 (Pentium III)</td><td>Streaming SIMD Extensions (SSE)</td><td>See [[Wikipedia:Streaming SIMD Extensions]]</td></tr>
 
+
<tr><td>{{c|sse2}}</td><td>2001 (Pentium 4)</td><td>Streaming SIMD Extensions 2 (SSE2)</td><td>See [[Wikipedia:SSE2]]</td></tr>
{{file|name=/etc/lilo.conf|desc=|body=
+
<tr><td>{{c|sse3}}</td><td>2004 (Pentium 4 Prescott)</td><td>Streaming SIMD Extensions 3 (SSE3/PNI)</td><td>See [[Wikipedia:SSE3]]</td></tr>
# MBR to install LILO to:
+
<tr><td>{{c|ssse3}}</td><td>2006 (Core 2 Woodcrest)</td><td>Supplemental Streaming SIMD Extensions 3 (SSSE3)</td><td>See [[Wikipedia:SSSE3]]</td></tr>
boot = /dev/sda
+
<tr><td>{{c|popcnt}}</td><td>2007</td><td>POPCNT and LZCNT</td><td>See [[Wikipedia:SSE4#POPCNT_and_LZCNT]]</td></tr>
map = /boot/.map
+
{{TableEnd}}
default = Funtoo
+
}}
+
 
+
==Timeout==
+
 
+
To have lilo auto start after a set time.
+
 
+
{{file|name=/etc/lilo.conf|desc=|body=
+
# If you always want to see the prompt with a 15 second timeout:
+
timeout=150}}
+
 
+
==Silence==
+
 
+
For silent kernel decompression at boot:
+
 
+
{{file|name=/etc/lilo.conf|desc=|body=
+
label = Funtoo
+
read-only # read-only for checking
+
append = "quiet"}}
+
 
+
==alternate init systems==
+
 
+
to load an alternate init system, example systemd instead of openrc:
+
 
+
{{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 18:55, March 26, 2015

This page lists processor instruction sets that can be enabled on Funtoo Linux systems using the CPU_FLAGS_* variables.

CPU_FLAGS_X86

FlagIntroducedName
mmx1997 (Pentium MMX)MMXSee Wikipedia:MMX (instruction set)
mmxext1999AMD MMX ExtensionsSee Wikipedia:Extended MMX
sse1999 (Pentium III)Streaming SIMD Extensions (SSE)See Wikipedia:Streaming SIMD Extensions
sse22001 (Pentium 4)Streaming SIMD Extensions 2 (SSE2)See Wikipedia:SSE2
sse32004 (Pentium 4 Prescott)Streaming SIMD Extensions 3 (SSE3/PNI)See Wikipedia:SSE3
ssse32006 (Core 2 Woodcrest)Supplemental Streaming SIMD Extensions 3 (SSSE3)See Wikipedia:SSSE3
popcnt2007POPCNT and LZCNTSee Wikipedia:SSE4#POPCNT_and_LZCNT