Voici 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
# 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.
#
#-*
LABEL archbang1
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=UUID=12d94075-e376-4a8f-9552-aa84d2de77fe ro
INITRD ../initramfs-linux.img
LABEL archbang2
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=UUID=963c762b-5a6b-40ad-a5a6-247894020fc7 ro
INITRD ../initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=UUID=963c762b-5a6b-40ad-a5a6-247894020fc7 ro
INITRD ../initramfs-linux-fallback.img
#LABEL windows
# MENU LABEL Windows
# COM32 chain.c32
# APPEND hd0 1
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
LABEL archbang
com32 chain.c32
append hd0 2
J'ai rajouté ce label:
Code : Tout sélectionner
LABEL archbang1
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=UUID=12d94075-e376-4a8f-9552-aa84d2de77fe ro
INITRD ../initramfs-linux.img
Le label ci dessous étant natif de l'installation:
Code : Tout sélectionner
LABEL archbang2
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=UUID=963c762b-5a6b-40ad-a5a6-247894020fc7 ro
INITRD ../initramfs-linux.img
Voici aussi ma sortie blkid:
Code : Tout sélectionner
[root@archbang rroo]# blkid
/dev/sda5: UUID="12d94075-e376-4a8f-9552-aa84d2de77fe" TYPE="ext4"
/dev/sda6: UUID="295a4a28-2c74-455c-b6ec-6c146e6e3877" TYPE="ext4"
/dev/sda7: UUID="963c762b-5a6b-40ad-a5a6-247894020fc7" TYPE="ext4"
[root@archbang rroo]#
Pouvez-vous me dire si je doit utiliser cette partie du tuto "Chaîner GNU Linux":
http://wiki.archlinux.fr/Syslinux
Code : Tout sélectionner
Chaîner GNU Linux
Syslinux ne peut que charger des fichiers qui résident sur la même partition que le fichier de configuration syslinux.cfg ou des chargeurs d'amorces, tels que celui de Windows. Par conséquent, si vous avez une autre version de Linux sur une partition boot séparée (c'est-à-dire que vous n'avez pas un /boot qui serait partagé avec Arch), démarrer les autres systèmes peut se faire au moyen de extlinux. extlinux peut être installé sur le secteur d'amorçage d'une partition et être appelé comme un chargeur de démarrage distinct du MBR dévolu à syslinux.
Note: Extlinux fait partie du projet syslinux et est inclu dans le paquetage syslinux.
Pour la suite et comme exemple, on va supposer que le Linux que l'on souhaite démarrer a un /boot séparé sur sda2 (sa racine sur sda3) et que syslinux est installé et configuré côté Arch pour démarrer correctement.
Côté de l'autre système: installer extlinux
Depuis Arch, on va monter la partition boot du Linux à chaîner:
mount /dev/sda2 /mnt
S'il n'existe pas de répertoire extlinux (ou syslinux), le créer:
mkdir -p /mnt/extlinux
Pour installer extlinux sur le secteur d'amorçage de la partition:
extlinux -i /mnt/extlinux
Pensez à copier les modules nécessaires pour le chaînage et le menu:
cp /usr/lib/syslinux/{chain,menu}.c32 /mnt/extlinux
Finalement, il reste à créer et remplir correctement un extlinux.conf (ou syslinux.cfg) pour ce démarrage:
Fichier: /mnt/extlinux/extlinux.conf
timeout 10
ui menu.c32
label Autre Linux
linux ../vmlinuz
append root=/dev/sda3 ro quiet
initrd ../initramfs.img
Mon entrée apparait bien dans syslinux mais le chargement se bloque a "failed to start save random seed"
PS:Mon sda7 est la racine native de l'installation;sda5 ma racine a récuperer (chargeur syslinux)
et sda6 ma partition boot.