Users Guide

SOL redirection
h. Ajoutezletextesuivantàlalignekernel/...delapremièrelignetitle=...:
console=tty1 console=ttyS0,115200
Exempledeparamètre/boot/grub/grub.conforiginaldansRHEL5:
______________________________________________________________
#grub.confgeneratedbyanaconda(grub.confgénéréparanaconda)
#
#Notethatyoudonothavetoreturngrubaftermakingchangestothis(Notezquevousn'avezpasbesoinderéexécuterlegrubaprès
avoirapportédesmodificationsàce)
# file (fichier)
#NOTICE:Youhavea/bootpartition.Thismeansthat(AVIS:Vousavezunepartition/boot.Celasignifieque)
#allkernelandinitrdpathsarerelativeto/boot/,eg.(touslescheminsdunoyauetinitrdsontrelatifsà/boot/,parexemple)
# root (hd0,0)
# kernel /vmlinux-version ro root=/dev/VolGroup00/LogVol00
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm/gz
hiddenmenu
title Red Hat Enterprise Linux 5
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img
______________________________________________________________
Exemple de /boot/grub/grub.confmodifié:
______________________________________________________________
#grub.confgeneratedbyanaconda(grub.confgénéréparanaconda)
#
#Notethatyoudonothavetoreturngrubaftermakingchangestothis(Notezquevousn'avezpasbesoinderéexécuterlegrubaprès
avoirapportédesmodificationsàce)
# file (fichier)
#NOTICE:Youhavea/bootpartition.Thismeansthat(AVIS:Vousavezunepartition/boot.Celasignifieque)
#allkernelandinitrdpathsarerelativeto/boot/,eg.(touslescheminsdunoyauetinitrdsontrelatifsà/boot/,parexemple)
# root (hd0,0)
# kernel /vmlinux-version ro root=/dev/VolGroup00/LogVol00
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm/gz
REMARQUE:/boot/grub/grub.conf dans Red Hat Enterprise Linux 5 est un lien symbolique vers /boot/grub/menu.list. Vous pouvez modifier les
paramètresdansl'und'eux.