/etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Fedora"
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="quiet LANG=en_US.UTF-8 rhgb rd.luks=0 KEYTABLE=fr-latin9"
le grub.cfg :
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod lvm
insmod ext2
set root='lvm/vg_edstation-lv_root'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvm/vg_edstation-lv_root' 441cafdc-e690-4b84-a19c-f33066e8a062
else
search --no-floppy --fs-uuid --set=root 441cafdc-e690-4b84-a19c-f33066e8a062
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-441cafdc-e690-4b84-a19c-f33066e8a062' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' bdef4a40-bae0-4e25-88fc-4392c544a240
else
search --no-floppy --fs-uuid --set=root bdef4a40-bae0-4e25-88fc-4392c544a240
fi
echo 'Chargement de Linux 3.6.8-2.fc17.x86_64…'
linux /vmlinuz-3.6.8-2.fc17.x86_64 root=/dev/mapper/vg_edstation-lv_root ro quiet LANG=en_US.UTF-8 rhgb rd.luks=0 KEYTABLE=fr-latin9
echo 'Chargement du disque mémoire initial…'
initrd /initramfs-3.6.8-2.fc17.x86_64.img
}
submenu 'Options avancées pour Fedora' $menuentry_id_option 'gnulinux-advanced-441cafdc-e690-4b84-a19c-f33066e8a062' {
menuentry 'Fedora, avec Linux 3.6.8-2.fc17.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.8-2.fc17.x86_64-advanced-441cafdc-e690-4b84-a19c-f33066e8a062' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' bdef4a40-bae0-4e25-88fc-4392c544a240
else
search --no-floppy --fs-uuid --set=root bdef4a40-bae0-4e25-88fc-4392c544a240
fi
echo 'Chargement de Linux 3.6.8-2.fc17.x86_64…'
linux /vmlinuz-3.6.8-2.fc17.x86_64 root=/dev/mapper/vg_edstation-lv_root ro quiet LANG=en_US.UTF-8 rhgb rd.luks=0 KEYTABLE=fr-latin9
echo 'Chargement du disque mémoire initial…'
initrd /initramfs-3.6.8-2.fc17.x86_64.img
}
menuentry 'Fedora, avec Linux 3.6.8-2.fc17.x86_64 (mode de dépannage)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.8-2.fc17.x86_64-recovery-441cafdc-e690-4b84-a19c-f33066e8a062' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' bdef4a40-bae0-4e25-88fc-4392c544a240
else
search --no-floppy --fs-uuid --set=root bdef4a40-bae0-4e25-88fc-4392c544a240
fi
echo 'Chargement de Linux 3.6.8-2.fc17.x86_64…'
linux /vmlinuz-3.6.8-2.fc17.x86_64 root=/dev/mapper/vg_edstation-lv_root ro single quiet LANG=en_US.UTF-8 rhgb rd.luks=0 KEYTABLE=fr-latin9
echo 'Chargement du disque mémoire initial…'
initrd /initramfs-3.6.8-2.fc17.x86_64.img
}
menuentry 'Fedora, avec Linux 3.6.7-4.fc17.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.7-4.fc17.x86_64-advanced-441cafdc-e690-4b84-a19c-f33066e8a062' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' bdef4a40-bae0-4e25-88fc-4392c544a240
else
search --no-floppy --fs-uuid --set=root bdef4a40-bae0-4e25-88fc-4392c544a240
fi
echo 'Chargement de Linux 3.6.7-4.fc17.x86_64…'
linux /vmlinuz-3.6.7-4.fc17.x86_64 root=/dev/mapper/vg_edstation-lv_root ro quiet LANG=en_US.UTF-8 rhgb rd.luks=0 KEYTABLE=fr-latin9
echo 'Chargement du disque mémoire initial…'
initrd /initramfs-3.6.7-4.fc17.x86_64.img
}
menuentry 'Fedora, avec Linux 3.6.7-4.fc17.x86_64 (mode de dépannage)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.7-4.fc17.x86_64-recovery-441cafdc-e690-4b84-a19c-f33066e8a062' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' bdef4a40-bae0-4e25-88fc-4392c544a240
else
search --no-floppy --fs-uuid --set=root bdef4a40-bae0-4e25-88fc-4392c544a240
fi
echo 'Chargement de Linux 3.6.7-4.fc17.x86_64…'
linux /vmlinuz-3.6.7-4.fc17.x86_64 root=/dev/mapper/vg_edstation-lv_root ro single quiet LANG=en_US.UTF-8 rhgb rd.luks=0 KEYTABLE=fr-latin9
echo 'Chargement du disque mémoire initial…'
initrd /initramfs-3.6.7-4.fc17.x86_64.img
}
menuentry 'Fedora, avec Linux 3.6.6-1.fc17.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.6-1.fc17.x86_64-advanced-441cafdc-e690-4b84-a19c-f33066e8a062' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' bdef4a40-bae0-4e25-88fc-4392c544a240
else
search --no-floppy --fs-uuid --set=root bdef4a40-bae0-4e25-88fc-4392c544a240
fi
echo 'Chargement de Linux 3.6.6-1.fc17.x86_64…'
linux /vmlinuz-3.6.6-1.fc17.x86_64 root=/dev/mapper/vg_edstation-lv_root ro quiet LANG=en_US.UTF-8 rhgb rd.luks=0 KEYTABLE=fr-latin9
echo 'Chargement du disque mémoire initial…'
initrd /initramfs-3.6.6-1.fc17.x86_64.img
}
menuentry 'Fedora, avec Linux 3.6.6-1.fc17.x86_64 (mode de dépannage)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.6-1.fc17.x86_64-recovery-441cafdc-e690-4b84-a19c-f33066e8a062' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' bdef4a40-bae0-4e25-88fc-4392c544a240
else
search --no-floppy --fs-uuid --set=root bdef4a40-bae0-4e25-88fc-4392c544a240
fi
echo 'Chargement de Linux 3.6.6-1.fc17.x86_64…'
linux /vmlinuz-3.6.6-1.fc17.x86_64 root=/dev/mapper/vg_edstation-lv_root ro single quiet LANG=en_US.UTF-8 rhgb rd.luks=0 KEYTABLE=fr-latin9
echo 'Chargement du disque mémoire initial…'
initrd /initramfs-3.6.6-1.fc17.x86_64.img
}
}
menuentry 'Windows 7 (loader) (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-1E4CF33F032E1757' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 1E4CF33F032E1757
else
search --no-floppy --fs-uuid --set=root 1E4CF33F032E1757
fi
chainloader +1
}