Page 1 sur 1
[Kernel] Installer et utiliser Kernel Linux-CK (résolu)
Publié : dim. 21 oct. 2012, 16:57
par tos69400
Bonjour à tous,
Suite à un échange par MP avec Youpi (membre de ce forum), je me permet de venir vers vous.
Je souhaite installer le kernel linux-ck-corex, qui est optimisé pour les processeurs intel core.
J'ai un intel core i5.
A cet effet, j'ai suivi le wiki
Repo-ck=> mise en place de la source et installation des paquets suivants : linux-ck-corex et linux-ck-corex-headers.
Je souhaite désormais l'utiliser mais je ne trouve pas comment modifier le /boot/syslinux/syslinux.cfg afin de lui demander de boot sur ce kernel.
Voici le contenu de mon /boot/syslinux/syslinux.cfg :
Code : Tout sélectionner
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
# * menu.c32 - provides a text menu
# * vesamenu.c32 - provides a graphical menu
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
# * hdt.c32 - hardware detection tool
# * reboot.c32 - reboots the system
# * poweroff.com - shutdown the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
[ Lecture de 81 lignes (En lecture seule !) ]
Re: [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 17:07
par benjarobin
Wiki Syslinux ?
De plus tu n'as donné que le début du fichier... Donne aussi le contenu de /boot
Re: [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 17:41
par tos69400
Merci de ta réponse.
Je n'ai pas donné le début du fichier mais bien le contenu intégral : j'ai loupé quelque chose ?
Voici le contenu de /boot :
Copie d'écran
Je m'attaque en ce moment à l'hibernation avec systemd et c'est la misère (je ferai un nouveau sujet le cas échéant).
Re: [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 17:45
par benjarobin
Euh attend, je te demande le contenu de /boot tu me donne une image !!! En plus du mauvais dossier... Ce n'est pas plus simple de faire un copié collé de la sortie de "ls" ?
Et je t'assure que si tu utilises Syslinux ce que tu donnes n'est pas le contenu complet de /boot/syslinux/syslinux.cfg tu as donnée exactement les 19 premières lignes du fichier !!!
Re: [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 17:49
par tuxce
/boot et non /boot/syslinux
Pourquoi donner une copie d'écran quand tu peux donner du texte ?
Pour le contenu du fichier, faire un copie coller d'une page sous nano ne donne pas l'intégralité du fichier !
Sinon, le principe de syslinux est pas compliqué, il faut lui donner le chemin vers le noyau et le chemin vers l'initramfs, prend exemple sur le cas linux-lts dans le wiki.
Re: [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 17:54
par tos69400
Merci de m'aider. J'avoue que je fais plein de choses en même temps (du coup je m'y perd complet).
Bon voici le contenu demandé :
Code : Tout sélectionner
[tos69400@PCTos69400 ~]$ ls /boot
initramfs-linux-ck-fallback.img initramfs-linux.img vmlinuz-linux
initramfs-linux-ck.img lost+found vmlinuz-linux-ck
initramfs-linux-fallback.img syslinux
Code : Tout sélectionner
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
# * menu.c32 - provides a text menu
# * vesamenu.c32 - provides a graphical menu
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
# * hdt.c32 - hardware detection tool
# * reboot.c32 - reboots the system
# * poweroff.com - shutdown the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples
DEFAULT arch
PROMPT 0 # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl
# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32
# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border 30;44 #40ffffff #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 #30ffffff #00000000 std
# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/disk/by-uuid/cda97d1d-b332-4065-9612-aa406e12f117 ro quiet splash resume=/dev/disk/by-uuid/594f1101-4f22-43e0-bd69-d261b566a799
INITRD ../initramfs-linux.img
# (1) Arch Linux Fallback
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=/dev/disk/by-uuid/cda97d1d-b332-4065-9612-aa406e12f117 ro quiet
INITRD ../initramfs-linux-fallback.img
# (2) Windows
#LABEL windows
#COM32 chain.c32
#APPEND hd0 0
LABEL hdt
MENU LABEL HDT (Hardware Detection Tool)
COM32 hdt.c32
LABEL reboot
MENU LABEL Reboot
COM32 reboot.c32
LABEL off
MENU LABEL Power Off
COMBOOT poweroff.com
En effet ça change ...
Re: [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 18:01
par benjarobin
Il suffit de rajouter ceci
Code : Tout sélectionner
# (2) Arch Linux CK
LABEL archck
MENU LABEL Arch Linux CK
LINUX ../vmlinuz-linux-ck
APPEND root=/dev/disk/by-uuid/cda97d1d-b332-4065-9612-aa406e12f117 ro quiet splash resume=/dev/disk/by-uuid/594f1101-4f22-43e0-bd69-d261b566a799
INITRD ../initramfs-linux-ck.img
# (3) Arch Linux CK Fallback
LABEL archckfallback
MENU LABEL Arch Linux CK Fallback
LINUX ../vmlinuz-linux-ck
APPEND root=/dev/disk/by-uuid/cda97d1d-b332-4065-9612-aa406e12f117 ro quiet
INITRD ../initramfs-linux-ck-fallback.img
Re: [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 18:10
par tos69400
OK merci de la réponse, je teste de suite.
En fait, pour bien comprendre :
ls /boot => liste des kernels dispo sur la machine
HS : désolé pour le coup de l'image, je suis élu boulet du jour ...
Re: [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 18:25
par tos69400
Test infructueux => le kernel ne boot pas ?!?
Je vais reprendre la config dans le wiki.
Edit : décidémment ce n'est pas mon jour. J'ai fait un copier/coller des lignes que tu m'as donné et le kernel boot sans souci. J'avais d'oublier de modifier une ligne.
Re: (Résolu) [Kernel] Installer et utiliser Kernel Linux-CK
Publié : dim. 21 oct. 2012, 18:39
par benjarobin