Users Guide

Exemple de /boot/grub/grub.conf d'origine dans RHEL 5 :
______________________________________________________________
#grub.confgeneratedbyanaconda(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)
# OTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/,
eg.(AVIS:Vousavezunepartition/boot.Celasignifieque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(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)
# Note that you do not have to return grub after making changes
to this (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
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.