# DONOTEDITTHISFILE # Itisautomaticallygeneratedby/usr/sbin/grub-mkconfigusingtemplates # from/etc/grub. dandsettingsfrom/etc/default/grub # Read by/usr/sbin/grub-mkconfig & nb
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated/Usr/sbin/grub-mkconfigUsing templates
# From/Etc/grub. dAnd settings from/Etc/default/grub
#/Usr/sbin/grub-mkconfig read The configuration information in/etc/default/grub, andUse/Etc/grub. d is automatically generated as a template.
### BEGIN/etc/grub. d/00_header ###
If [-s$ Prefix/grubenv]; Then
Load_env
Fi
Set default = "0"
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 recordfail {
Set recordfail = 1
If [-n $ {have_grubenv}]; then if [-z $ {boot_once}]; then save_env recordfail; fi
}
Insmod ext2
Set root = '(hd0, 1 )'
Search -- no-floppy -- fs-uuid -- set d98561c1-62af-4753-b6f0-fbcfcb6a7541
IfLoadfont/usr/share/grub/unicode. pf2; ThenThe font file to load.
Set gfxmode = 640x480 gfx mode is 640*480
Insmod gfxterm
Insmod vbe
IfTerminal_output gfxterm; Then true; else
# For backward compatibility with versions of terminal. mod that don't
# Understand terminal_output
Terminal gfxterm
Fi
Fi
Insmod ext2
Set root = '(hd0, 1 )'
Search -- no-floppy -- fs-uuid -- set d98561c1-62af-4753-b6f0-fbcfcb6a7541
Set locale_dir = ($ root)/boot/grub/localeLocalized file directory
Set lang = The en language is english
Insmod gettext
If [$ {recordfail} = 1]; then
Set timeout =-1
Else
Set timeout = 10
Fi
### END/etc/grub. d/00_header ###
### BEGIN/etc/grub. d/05_debian_theme ###
Set menu_color_normal = white/black
Set menu_color_highlight = black/light-gray
### END/etc/grub. d/05_debian_theme ###
### BEGIN/etc/grub. d/10_linux ###
Menu item
Menuentry'Ubuntu, with Linux 2.6.32-21-generic' -- class Ubuntu -- class gnu-linux -- class gnu -- class OS {
Recordfail
Insmod ext2
Set root = '(hd0, 1 )'
Search -- no-floppy -- fs-uuid -- set d98561c1-62af-4753-b6f0-fbcfcb6a7541
Linux /Boot/vmlinuz-2.6.32-21-generic root = UUID = d98561c1-62af-4753-b6f0-fbcfcb6a7541Ro quiet
I will remove the splash here. In this way, the start information is displayed.
Initrd /Boot/initrd. img-2.6.32-21-generic
}
Menuentry 'ubuntu, with Linux 2.6.32-21-generic (recovery mode) '-- class Ubuntu -- class gnu-linux -- class gnu -- class OS {
Recordfail
Insmod ext2
Set root = '(hd0, 1 )'
Search -- no-floppy -- fs-uuid -- set d98561c1-62af-4753-b6f0-fbcfcb6a7541
Echo 'Loading Linux 2.6.32-21-generic ...'
Linux /Boot/vmlinuz-2.6.32-21-generic root = UUID = d98561c1-62af-4753-b6f0-fbcfcb6a7541 roSingle
Recovery mode: single-user mode.
Echo 'Loading initial ramdisk... 'ramdisk? What is output?
Initrd /Boot/initrd. The img-2.6.32-21-generic is the same file as when it is started normally.
}
### END/etc/grub. d/10_linux###
EndEtc/grub. d/10_linux
Enable/Etc/grub. d/20_memtest86 +
### BEGIN/etc/grub. d/20_memtest86 +###
Menuentry "Memory test (memtest86 + )"{
Insmod ext2
Set root = '(hd0, 1 )'
Search -- no-floppy-- Fs-uuid -- set d98561c1-62af-4753-b6f0-fbcfcb6a7541
Linux16 /Boot/memtest86 +. bin
}
Menuentry "Memory test (memtest86 +, serial console 115200 )"{
Insmod ext2
Set root = '(hd0, 1 )'
Search -- no-floppy -- fs-uuid -- set d98561c1-62af-4753-b6f0-fbcfcb6a7541
Linux16 /Boot/memtest86 +. bin console = ttyS0, 115200n8
}
### END/etc/grub. d/20_memtest86 + ###
### BEGIN/etc/grub. d/30_os-prober ###
If [$ {timeout }! =-1]; then
If keystatus; then
If keystatus -- shift; then
Set timeout =-1
Else
Set timeout = 0
Fi
Else
If sleep -- interruptible 3; then
Set timeout = 0
Fi
Fi
Fi
### END/etc/grub. d/30_os-prober ###
### BEGIN/etc/grub. d/40_custom ###You can add menu items as needed.
# This file provides an easy way toDd custom menu entries.Simply type
# Menu entries you want to add after this comment. Be careful not to change
#The 'exec tail' line above.
### END/etc/grub. d/40_custom ###