ArchLinux:Boot
From Wiki.cyring.fr
(Difference between revisions)
(Created page with "==== Syslinux ==== <br /> <syntaxhighlight lang="bash"> # nano /boot/syslinux/syslinux.cfg </syntaxhighlight><br /> <syntaxhighlight lang="ini" line start="1"> # /boot/syslinu...") |
(→Syslinux) |
||
Line 10: | Line 10: | ||
PROMPT 0 | PROMPT 0 | ||
TIMEOUT 300 | TIMEOUT 300 | ||
- | + | KBDMAP fr.ktl | |
# UI menu.c32 | # UI menu.c32 | ||
UI vesamenu.c32 | UI vesamenu.c32 | ||
- | + | # | |
- | + | ||
MENU TITLE Arch Linux | MENU TITLE Arch Linux | ||
- | |||
# MENU RESOLUTION 1152 864 | # MENU RESOLUTION 1152 864 | ||
- | MENU RESOLUTION 1920 1440 | + | # MENU RESOLUTION 1920 1440 |
- | + | MENU RESOLUTION 1600 1200 | |
- | MENU BACKGROUND | + | MENU BACKGROUND SPLASH_1600x1200.png |
- | + | MENU ROWS 15 | |
MENU WIDTH 50 | MENU WIDTH 50 | ||
- | MENU HSHIFT | + | MENU HSHIFT 156 |
MENU VSHIFT 1 | MENU VSHIFT 1 | ||
- | MENU TABMSGROW | + | MENU TABMSGROW 70 |
- | MENU CMDLINEROW | + | MENU CMDLINEROW 70 |
- | MENU TIMEOUTROW | + | MENU TIMEOUTROW 71 |
- | + | # MENU COLOR screen 1;36;44 #9033ccff #a0000000 std | |
- | # MENU COLOR screen | + | |
# MENU COLOR border 30;43 #40ff0f0f #a0000000 std | # MENU COLOR border 30;43 #40ff0f0f #a0000000 std | ||
MENU COLOR title 1;36;44 #9033ccff #a0000000 std | MENU COLOR title 1;36;44 #9033ccff #a0000000 std | ||
Line 40: | Line 37: | ||
MENU COLOR msg07 37;40 #90ffffff #a0000000 std | MENU COLOR msg07 37;40 #90ffffff #a0000000 std | ||
# MENU COLOR tabmsg 31;40 #3080fafa #00000000 std | # MENU COLOR tabmsg 31;40 #3080fafa #00000000 std | ||
- | MENU COLOR screen | + | MENU COLOR screen 30;44 #40ff0f0f #00000000 std |
- | MENU COLOR border | + | MENU COLOR border 30;44 #40ff0f0f #00000000 std |
- | + | ||
# MENU CLEAR | # MENU CLEAR | ||
MENU IMMEDIATE | MENU IMMEDIATE | ||
- | # vga=0xf01 || vga=997 | + | # vga=0xf01 || vga=997 || vga=current || vga=0x34a || radeon.pcie_gen2=1 || radeon.modeset=1 |
LABEL arch | LABEL arch | ||
- | + | MENU LABEL Arch ^Linux | |
- | + | LINUX ../vmlinuz-linux | |
- | + | APPEND root=/dev/sda2 ro rootdelay=0 quiet agp=off logo.nologo elevator=noop nmi_watchdog=0 disable_ipv6=1 nr_uarts=0 i8042.noaux hibernate=noresume consoleblank=0 vga=current usbhid.mousepoll=2 init=/bin/systemd systemd.unit=graphical.target plymouth.enable=0 | |
- | + | INITRD ../initramfs-linux.img | |
LABEL single | LABEL single | ||
- | + | MENU LABEL Arch Linux [^Single] | |
- | + | LINUX ../vmlinuz-linux | |
- | + | APPEND root=/dev/sda2 ro rootdelay=0 quiet elevator=noop nmi_watchdog=0 systemd.unit=rescue.target systemd.show_status=1 plymouth.enable=0 | |
- | + | INITRD ../initramfs-linux.img | |
LABEL fallback | LABEL fallback | ||
- | + | MENU LABEL Arch Linux [^Fallback] | |
- | + | LINUX ../vmlinuz-linux | |
- | + | APPEND root=/dev/sda2 ro systemd.unit=multi-user.target systemd.show_status=1 plymouth.enable=0 systemd.confirm_spawn=0 | |
- | + | INITRD ../initramfs-linux-fallback.img | |
+ | |||
+ | LABEL debian | ||
+ | MENU LABEL De^bian Linux | ||
+ | LINUX ../Debian/vmlinuz | ||
+ | APPEND root=/dev/sda3 ro quiet elevator=noop nmi_watchdog=0 vga=0 | ||
+ | INITRD ../Debian/initrd.img | ||
+ | |||
+ | LABEL xen | ||
+ | MENU LABEL Debian ^Xen | ||
+ | KERNEL mboot.c32 | ||
+ | APPEND ../Debian/xen.gz --- ../Debian/vmlinuz root=/dev/sda3 ro quiet elevator=noop nmi_watchdog=0 vga=0 --- ../Debian/initrd.img | ||
LABEL windows | LABEL windows | ||
- | + | MENU LABEL ^Windows Seven | |
- | + | COM32 chain.c32 | |
- | + | APPEND hd0 1 | |
LABEL hdt | LABEL hdt | ||
- | + | MENU LABEL ^Hardware Detection Tool | |
- | + | COM32 hdt_0_5_0.c32 | |
- | + | APPEND modules_alias=modules.alias pciids=pci.ids quiet | |
LABEL memtest | LABEL memtest | ||
- | + | MENU LABEL Memory ^Test | |
- | + | LINUX ../memtest86+/memtest.bin | |
LABEL menuetos | LABEL menuetos | ||
- | + | MENU LABEL Menuet^OS | |
- | + | LINUX memdisk | |
- | + | INITRD ../OS/M6409883.IMG | |
LABEL freedos | LABEL freedos | ||
- | + | MENU LABEL Free^DOS | |
- | + | LINUX memdisk | |
- | + | INITRD ../OS/freedos.img.gz | |
- | + | APPEND raw | |
LABEL lab | LABEL lab | ||
- | + | MENU LABEL Lab ^ISO | |
- | + | LINUX memdisk | |
- | + | INITRD ../OS/isotestbed.iso | |
- | + | APPEND iso raw | |
LABEL reboot | LABEL reboot | ||
- | + | MENU LABEL ^Reboot | |
- | + | COM32 reboot.c32 | |
LABEL off | LABEL off | ||
- | + | MENU LABEL ^Power Off | |
- | + | COMBOOT poweroff.com | |
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 11:00, 20 October 2012
Syslinux
# nano /boot/syslinux/syslinux.cfg
# /boot/syslinux/syslinux.cfg
DEFAULT arch
PROMPT 0
TIMEOUT 300
KBDMAP fr.ktl
# UI menu.c32
UI vesamenu.c32
#
MENU TITLE Arch Linux
# MENU RESOLUTION 1152 864
# MENU RESOLUTION 1920 1440
MENU RESOLUTION 1600 1200
MENU BACKGROUND SPLASH_1600x1200.png
MENU ROWS 15
MENU WIDTH 50
MENU HSHIFT 156
MENU VSHIFT 1
MENU TABMSGROW 70
MENU CMDLINEROW 70
MENU TIMEOUTROW 71
# MENU COLOR screen 1;36;44 #9033ccff #a0000000 std
# MENU COLOR border 30;43 #40ff0f0f #a0000000 std
MENU COLOR title 1;36;44 #9033ccff #a0000000 std
MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel 37;44 #50ffffff #a0000000 std
MENU COLOR help 37;40 #c0ffffff #a0000000 std
MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07 37;40 #90ffffff #a0000000 std
# MENU COLOR tabmsg 31;40 #3080fafa #00000000 std
MENU COLOR screen 30;44 #40ff0f0f #00000000 std
MENU COLOR border 30;44 #40ff0f0f #00000000 std
# MENU CLEAR
MENU IMMEDIATE
# vga=0xf01 || vga=997 || vga=current || vga=0x34a || radeon.pcie_gen2=1 || radeon.modeset=1
LABEL arch
MENU LABEL Arch ^Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sda2 ro rootdelay=0 quiet agp=off logo.nologo elevator=noop nmi_watchdog=0 disable_ipv6=1 nr_uarts=0 i8042.noaux hibernate=noresume consoleblank=0 vga=current usbhid.mousepoll=2 init=/bin/systemd systemd.unit=graphical.target plymouth.enable=0
INITRD ../initramfs-linux.img
LABEL single
MENU LABEL Arch Linux [^Single]
LINUX ../vmlinuz-linux
APPEND root=/dev/sda2 ro rootdelay=0 quiet elevator=noop nmi_watchdog=0 systemd.unit=rescue.target systemd.show_status=1 plymouth.enable=0
INITRD ../initramfs-linux.img
LABEL fallback
MENU LABEL Arch Linux [^Fallback]
LINUX ../vmlinuz-linux
APPEND root=/dev/sda2 ro systemd.unit=multi-user.target systemd.show_status=1 plymouth.enable=0 systemd.confirm_spawn=0
INITRD ../initramfs-linux-fallback.img
LABEL debian
MENU LABEL De^bian Linux
LINUX ../Debian/vmlinuz
APPEND root=/dev/sda3 ro quiet elevator=noop nmi_watchdog=0 vga=0
INITRD ../Debian/initrd.img
LABEL xen
MENU LABEL Debian ^Xen
KERNEL mboot.c32
APPEND ../Debian/xen.gz --- ../Debian/vmlinuz root=/dev/sda3 ro quiet elevator=noop nmi_watchdog=0 vga=0 --- ../Debian/initrd.img
LABEL windows
MENU LABEL ^Windows Seven
COM32 chain.c32
APPEND hd0 1
LABEL hdt
MENU LABEL ^Hardware Detection Tool
COM32 hdt_0_5_0.c32
APPEND modules_alias=modules.alias pciids=pci.ids quiet
LABEL memtest
MENU LABEL Memory ^Test
LINUX ../memtest86+/memtest.bin
LABEL menuetos
MENU LABEL Menuet^OS
LINUX memdisk
INITRD ../OS/M6409883.IMG
LABEL freedos
MENU LABEL Free^DOS
LINUX memdisk
INITRD ../OS/freedos.img.gz
APPEND raw
LABEL lab
MENU LABEL Lab ^ISO
LINUX memdisk
INITRD ../OS/isotestbed.iso
APPEND iso raw
LABEL reboot
MENU LABEL ^Reboot
COM32 reboot.c32
LABEL off
MENU LABEL ^Power Off
COMBOOT poweroff.com