==========================================UBUNTU
 /boot/grub/grub.conf文件==========================================

==========================================UBUNTU
 /boot/grub/grub.conf文件==========================================

ubuntu_linux /boot/grub/grub.conf,bootgrubgrub.conf

==========================================UBUNTU
 /boot/grub/grub.conf文件==========================================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ “${next_entry}” ] ; then
set default=”${next_entry}”
set next_entry=
save_env next_entry
set boot_once=true
else
set default=”0″
fi

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 recordfail {
set recordfail=1
if [ -n “${have_grubenv}” ]; then if [ -z “${boot_once}” ]; then
save_env recordfail; fi; 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 ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
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=en_US
insmod gettext
fi
terminal_output gfxterm
if [ “${recordfail}” = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep –interruptible 0 ; then
set timeout=0
fi
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 ###
function gfxmode {
set gfxpayload=”${1}”
if [ “${1}” = “keep” ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ “${recordfail}” != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry ‘Ubuntu’ –class ubuntu –class gnu-linux –class gnu –class
os $menuentry_id_option
‘gnulinux-simple-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’ {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
initrd /boot/initrd.img-4.4.0-72-generic
}
submenu ‘Advanced options for Ubuntu’ $menuentry_id_option
‘gnulinux-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’ {
menuentry ‘Ubuntu, with Linux 4.4.0-72-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-72-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-72-generic …’
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-72-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-72-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-72-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-72-generic …’
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-72-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-66-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-66-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-66-generic …’
linux /boot/vmlinuz-4.4.0-66-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-66-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-66-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-66-generic …’
linux /boot/vmlinuz-4.4.0-66-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-64-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-64-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-64-generic …’
linux /boot/vmlinuz-4.4.0-64-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-64-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-64-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-64-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-64-generic …’
linux /boot/vmlinuz-4.4.0-64-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-64-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-59-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-59-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-59-generic …’
linux /boot/vmlinuz-4.4.0-59-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-59-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-59-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-59-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-59-generic …’
linux /boot/vmlinuz-4.4.0-59-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-59-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-57-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-57-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-57-generic …’
linux /boot/vmlinuz-4.4.0-57-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-57-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-57-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-57-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-57-generic …’
linux /boot/vmlinuz-4.4.0-57-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-57-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-53-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-53-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-53-generic …’
linux /boot/vmlinuz-4.4.0-53-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-53-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-53-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-53-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-53-generic …’
linux /boot/vmlinuz-4.4.0-53-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-53-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-45-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-45-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-45-generic …’
linux /boot/vmlinuz-4.4.0-45-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-45-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-45-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-45-generic …’
linux /boot/vmlinuz-4.4.0-45-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-42-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-42-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-42-generic …’
linux /boot/vmlinuz-4.4.0-42-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-42-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-42-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-42-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-42-generic …’
linux /boot/vmlinuz-4.4.0-42-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-42-generic
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry ‘Memory test (memtest86+)’ {
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
knetbsd /boot/memtest86+.elf
}
menuentry ‘Memory test (memtest86+, serial console 115200)’ {
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply
type the
# 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z “${config_directory}” -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

双系统运营项管理及安插情势。 

============================================================================================

default=数字:暗许运维的操作系统,数字0表示第二个题目,1意味着第1个,以此类推;

timeout=数字:一般选项界面出现的光阴,单位秒;

root(装置):钦定内核或操作系统所在的磁盘与分区,格式为(hdx,y),在那之中x表示第x个磁盘,y表示第y个分区,如root(hd0,1);

initrd
文件:制定系统加载时所急需的内部存款和储蓄器磁盘以印象,同样的,文件所在的职责必须在root所定义的磁盘之下;

============================================================================================

run level

Linux的运作层级(run level)共四个,

0:关机;

1:单人情势;

2/四分之三/5:因分歧的批发商而异;Feroda:2–>缺乏部分网络功用的文字界面形式,3–>完整意义的文字界面方式,4–>保留,可自定义;5–>完整意义的图形界面方式;

6:重新起动系统;

=====================================================================================================

经过解析

BIOS—》stage1—》stage1.5—》stage2—》vmlinuxz—》initrd—》读取/etc/event.d/rc-default—–未定义/etc/inittab>运营runlevel2——————|—-》运行画面

                                       GRUB                 内核    
                                   
 |_____定义/etc/inittab(默许)>依据/etc/inittab定义的runlevel实行运维—|

=====================================================================================

/boot/grub/grub.conf,bootgrubgrub.conf
==========================================UBUNTU
/boot/grub/grub.conf文件========================================== # #
DO N…

近期装了Ubuntu
10.10,因为前边有Windows
7等种类,所以Ubuntu装上后出现运转菜单,暗中同意Ubuntu运营。网上找了无数改动运营选项的点子,个抒几见,未来计算如下:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

  壹 、能上网境况下的最佳方式:安装startupmanager——图形运维项管理器

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ “${next_entry}” ] ; then
set default=”${next_entry}”
set next_entry=
save_env next_entry
set boot_once=true
else
set default=”0″
fi

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ “${next_entry}” ] ; then
set default=”${next_entry}”
set next_entry=
save_env next_entry
set boot_once=true
else
set default=”0″
fi

  打开终端输入:sudo apt-get install startupmanager

if [ x”${feature_menuentry_id}” = xy ]; then
menuentry_id_option=”–id”
else
menuentry_id_option=””
fi

if [ x”${feature_menuentry_id}” = xy ]; then
menuentry_id_option=”–id”
else
menuentry_id_option=””
fi

  安装运转管理器

export menuentry_id_option

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

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

  ② 、最便利的章程:调整Windows系统的暗中同意运行顺序(不须要修改grub.cfg)

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; 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
}

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; 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
}

  /etc/grub.d
目录中的脚本文件的文件名都以以数字开端,那鲜明了在执行update-grub
时各文件内容被实施的顺序。

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
font=”/usr/share/grub/unicode.pf2″
fi

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
font=”/usr/share/grub/unicode.pf2″
fi

   1. 用 sudo nautilus
命令,以root权限打开文件浏览器。然后找到30_os-prober这么些文件,把
30_os-prober那一个文件名的数字30改为05到10里头的数字即可(没多少可选0⑥ 、0柒 、0⑧ 、09),比如改为08_os-prober,
那样创造出来的grub.cfg内的菜单项,windows的排序就会活动在ubuntu在此以前;

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ “${recordfail}” = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep –interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ “${recordfail}” = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep –interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###

  2. 运营 sudo update-grub 命令。就能够见到,windows7
已经排在了第三个的地方上。

### 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/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

  三 、网上介绍最多的办法(修改grub.cfg)

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload=”${1}”
if [ “${1}” = “keep” ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ “${recordfail}” != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry ‘Ubuntu’ –class ubuntu –class gnu-linux –class gnu –class
os $menuentry_id_option
‘gnulinux-simple-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’ {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
initrd /boot/initrd.img-4.4.0-72-generic
}
submenu ‘Advanced options for Ubuntu’ $menuentry_id_option
‘gnulinux-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’ {
menuentry ‘Ubuntu, with Linux 4.4.0-72-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-72-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-72-generic …’
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-72-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-72-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-72-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-72-generic …’
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-72-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-66-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-66-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-66-generic …’
linux /boot/vmlinuz-4.4.0-66-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-66-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-66-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-66-generic …’
linux /boot/vmlinuz-4.4.0-66-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-64-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-64-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-64-generic …’
linux /boot/vmlinuz-4.4.0-64-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-64-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-64-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-64-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-64-generic …’
linux /boot/vmlinuz-4.4.0-64-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-64-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-59-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-59-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-59-generic …’
linux /boot/vmlinuz-4.4.0-59-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-59-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-59-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-59-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-59-generic …’
linux /boot/vmlinuz-4.4.0-59-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-59-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-57-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-57-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-57-generic …’
linux /boot/vmlinuz-4.4.0-57-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-57-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-57-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-57-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-57-generic …’
linux /boot/vmlinuz-4.4.0-57-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-57-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-53-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-53-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-53-generic …’
linux /boot/vmlinuz-4.4.0-53-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-53-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-53-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-53-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-53-generic …’
linux /boot/vmlinuz-4.4.0-53-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-53-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-45-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-45-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-45-generic …’
linux /boot/vmlinuz-4.4.0-45-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-45-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-45-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-45-generic …’
linux /boot/vmlinuz-4.4.0-45-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-42-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-42-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-42-generic …’
linux /boot/vmlinuz-4.4.0-42-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-42-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-42-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-42-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-42-generic …’
linux /boot/vmlinuz-4.4.0-42-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-42-generic
}
}

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload=”${1}”
if [ “${1}” = “keep” ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ “${recordfail}” != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry ‘Ubuntu’ –class ubuntu –class gnu-linux –class gnu –class
os $menuentry_id_option
‘gnulinux-simple-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’ {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
initrd /boot/initrd.img-4.4.0-72-generic
}
submenu ‘Advanced options for Ubuntu’ $menuentry_id_option
‘gnulinux-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’ {
menuentry ‘Ubuntu, with Linux 4.4.0-72-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-72-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-72-generic …’
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-72-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-72-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-72-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-72-generic …’
linux /boot/vmlinuz-4.4.0-72-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-72-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-66-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-66-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-66-generic …’
linux /boot/vmlinuz-4.4.0-66-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-66-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-66-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-66-generic …’
linux /boot/vmlinuz-4.4.0-66-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-66-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-64-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-64-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-64-generic …’
linux /boot/vmlinuz-4.4.0-64-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-64-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-64-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-64-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-64-generic …’
linux /boot/vmlinuz-4.4.0-64-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-64-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-59-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-59-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-59-generic …’
linux /boot/vmlinuz-4.4.0-59-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-59-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-59-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-59-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-59-generic …’
linux /boot/vmlinuz-4.4.0-59-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-59-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-57-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-57-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-57-generic …’
linux /boot/vmlinuz-4.4.0-57-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-57-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-57-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-57-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-57-generic …’
linux /boot/vmlinuz-4.4.0-57-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-57-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-53-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-53-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-53-generic …’
linux /boot/vmlinuz-4.4.0-53-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-53-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-53-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-53-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-53-generic …’
linux /boot/vmlinuz-4.4.0-53-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-53-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-45-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-45-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-45-generic …’
linux /boot/vmlinuz-4.4.0-45-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-45-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-45-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-45-generic …’
linux /boot/vmlinuz-4.4.0-45-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-45-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-42-generic’ –class ubuntu –class
gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-42-generic-advanced-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-42-generic …’
linux /boot/vmlinuz-4.4.0-42-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro
find_preseed=/preseed.cfg auto noprompt priority=critical locale=en_US
quiet
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-42-generic
}
menuentry ‘Ubuntu, with Linux 4.4.0-42-generic (recovery mode)’ –class
ubuntu –class gnu-linux –class gnu –class os $menuentry_id_option
‘gnulinux-4.4.0-42-generic-recovery-87f8333a-b6dc-49f7-89f9-ef6a91eb756b’
{
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
echo ‘Loading Linux 4.4.0-42-generic …’
linux /boot/vmlinuz-4.4.0-42-generic
root=UUID=87f8333a-b6dc-49f7-89f9-ef6a91eb756b ro recovery nomodeset
find_preseed=/preseed.cfg auto noprompt priority=critical
locale=en_US
echo ‘Loading initial ramdisk …’
initrd /boot/initrd.img-4.4.0-42-generic
}
}

  用 sudo gedit /boot/grub/grub.cfg 命令打开grub.cfg 这么些文件,

### END /etc/grub.d/10_linux ###

### END /etc/grub.d/10_linux ###

  一种格局是并将文件中的 set default=”0″ 中的 0
改成对应欲私下认可运行的操作系统的序号(从0开首) 。然后保留;

### BEGIN /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_linux_xen ###

  另一种方法是把Windows对应的起步表达那一段剪切到起步表达段最前头;

### END /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

  用这2种艺术都能暗许运维Windows,但用修改grub.cfg
文件来落到实处修改默许运维项应注意:当使用update-grub
命令可能系统升级、grub升级等,grub.cfg文件将被还原。须求再行修改。

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry ‘Memory test (memtest86+)’ {
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
knetbsd /boot/memtest86+.elf
}
menuentry ‘Memory test (memtest86+, serial console 115200)’ {
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry ‘Memory test (memtest86+)’ {
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
knetbsd /boot/memtest86+.elf
}
menuentry ‘Memory test (memtest86+, serial console 115200)’ {
insmod part_msdos
insmod ext2
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
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
else
search –no-floppy –fs-uuid –set=root
87f8333a-b6dc-49f7-89f9-ef6a91eb756b
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

  假使懒于每趟update-grub 之后都要修改grub.cfg
文件,则足以开始展览如下操作:

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

   用 sudo gedit /etc/grub.b/00_header 命令打开00_header
这些文件,找到 ser default =”${GRUB_DEFAULT}” 一行,将${GRUB_DEFAULT}
换到欲默许运营的操作系统的序号(从0开首),保存,再update-grub。那样每一遍update-grub之后变动的grub.cfg将自行改成自身们想要的指南。

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

    
肆 、假如你在硬盘中还要设置了分裂的类别,只怕出于Ubuntu更新/安装软件而发出了多少个运转项,为了排除每一次开机都要挑选的劳碌,能够把部分低版本的也许不需求的运行项注释掉,那样开机看起来就没那么乱了。

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply
type the
# 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 ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply
type the
# 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 ###

     具体做法:sudo gedit /boot/grub/grub.cfg

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z “${config_directory}” -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z “${config_directory}” -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

     然后找到 menuentry 
…,看准了要去掉的系统运营项,在menuentry那么些单词前边加上”#”就然后保留就足以了。注意:至少要留3个,提议保留七个ubuntu的选
项,留下最高版本的四个不等类别的,其次再审查批准类型是还是不是分别二个:二个是不荒谬的(没有评释“苏醒情势”或:“recovery”),另二个是复苏方式的
(评释“恢复生机情势”或:“recovery”)。别的含有Window的项是不能够加“#”实行表明的,不然你的就会找不到相关的系统入口了。还有内部存储器测试
(menuentry “Memory test
…..“ ),要是希望采纳此成效留下一项,www.linuxidc.com个人认为留下选项多的丰裕入口代表愈来愈多效益,但是内部存款和储蓄器测试的快慢也会花更长的小时。

 

 

     以下贴上本身机器运行项的配置情状,windows是最终一项,装的XP。

============================================================================================

============================================================================================


default=数字:暗中认可运行的操作系统,数字0表示第二个标题,1象征第3个,以此类推;

default=数字:私下认可运行的操作系统,数字0表示第三个标题,1表示第3个,以此类推;

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

timeout=数字:一般选项界面出现的时光,单位秒;

timeout=数字:一般选项界面出现的年月,单位秒;

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default=”2″
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

root(装置):钦点内核或操作系统所在的磁盘与分区,格式为(hdx,y),个中x表示第x个磁盘,y表示第y个分区,如root(hd0,1);

root(装置):内定内核或操作系统所在的磁盘与分区,格式为(hdx,y),个中x表示第x个磁盘,y表示第y个分区,如root(hd0,1);

function savedefault {
  if [ -z “${boot_once}” ]; then
    saved_entry=”${chosen}”
    save_env saved_entry
  fi
}

initrd
文件:制定系统加载时所须要的内部存款和储蓄器磁盘以影像,同样的,文件所在的任务必须在root所定义的磁盘之下;

initrd
文件:制定系统加载时所急需的内部存款和储蓄器磁盘以影象,同样的,文件所在的职位必须在root所定义的磁盘之下;

function recordfail {
  set recordfail=1
  if [ -n “${have_grubenv}” ]; then if [ -z “${boot_once}” ]; then
save_env recordfail; fi; fi
}

============================================================================================

============================================================================================

function load_video {
  insmod vbe
  insmod vga
}

run level

run level

insmod part_msdos
insmod ext2
set root='(hd1,msdos8)’
search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1280×1024
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd1,msdos8)’
search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
set locale_dir=($root)/boot/grub/locale
set lang=zh
insmod gettext
if [ “${recordfail}” = 1 ]; then
  set timeout=-1
else
  set timeout=3
fi
### END /etc/grub.d/00_header ###

Linux的周转层级(run level)共多少个,

Linux的运作层级(run level)共七个,

### 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 ###

0:关机;

0:关机;

### BEGIN /etc/grub.d/10_linux ###
#menuentry ‘Ubuntu, with Linux
2.6.35-22-generic’ –class ubuntu –class gnu-linux –class gnu –class
os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    linux    /boot/vmlinuz-2.6.35-22-generic
root=UUID=c825786c-e42c-4fed-8cc2-fd2a610a183b ro  vga=775  quiet
splash
    initrd    /boot/initrd.img-2.6.35-22-generic
}
#menuentry ‘Ubuntu, with Linux
2.6.35-22-generic (recovery mode)’ –class ubuntu –class gnu-linux
–class gnu –class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    echo    ‘Loading Linux 2.6.35-22-generic …’
    linux    /boot/vmlinuz-2.6.35-22-generic
root=UUID=c825786c-e42c-4fed-8cc2-fd2a610a183b ro single  vga=775
    echo    ‘Loading initial ramdisk …’
    initrd    /boot/initrd.img-2.6.35-22-generic
}
menuentry ‘Ubuntu, with Linux
2.6.32-25-server’ –class ubuntu –class gnu-linux –class gnu –class
os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    linux    /boot/vmlinuz-2.6.32-25-server
root=UUID=c825786c-e42c-4fed-8cc2-fd2a610a183b ro  vga=775  quiet
splash
    initrd    /boot/initrd.img-2.6.32-25-server
}
menuentry ‘Ubuntu, with Linux
2.6.32-25-server (recovery mode)’ –class ubuntu –class gnu-linux
–class gnu –class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    echo    ‘Loading Linux 2.6.32-25-server …’
    linux    /boot/vmlinuz-2.6.32-25-server
root=UUID=c825786c-e42c-4fed-8cc2-fd2a610a183b ro single  vga=775
    echo    ‘Loading initial ramdisk …’
    initrd    /boot/initrd.img-2.6.32-25-server
}
#menuentry ‘Ubuntu, with Linux
2.6.32-25-generic’ –class ubuntu –class gnu-linux –class gnu –class
os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    linux    /boot/vmlinuz-2.6.32-25-generic
root=UUID=c825786c-e42c-4fed-8cc2-fd2a610a183b ro  vga=775  quiet
splash
    initrd    /boot/initrd.img-2.6.32-25-generic
}
#menuentry ‘Ubuntu, with Linux
2.6.32-25-generic (recovery mode)’ –class ubuntu –class gnu-linux
–class gnu –class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    echo    ‘Loading Linux 2.6.32-25-generic …’
    linux    /boot/vmlinuz-2.6.32-25-generic
root=UUID=c825786c-e42c-4fed-8cc2-fd2a610a183b ro single  vga=775
    echo    ‘Loading initial ramdisk …’
    initrd    /boot/initrd.img-2.6.32-25-generic
}
#menuentry ‘Ubuntu, with Linux
2.6.32-25-preempt’ –class ubuntu –class gnu-linux –class gnu –class
os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    linux    /boot/vmlinuz-2.6.32-25-preempt
root=UUID=c825786c-e42c-4fed-8cc2-fd2a610a183b ro  vga=775  quiet
splash
    initrd    /boot/initrd.img-2.6.32-25-preempt
}
#menuentry ‘Ubuntu, with Linux
2.6.32-25-preempt (recovery mode)’ –class ubuntu –class gnu-linux
–class gnu –class os {
    recordfail
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    echo    ‘Loading Linux 2.6.32-25-preempt …’
    linux    /boot/vmlinuz-2.6.32-25-preempt
root=UUID=c825786c-e42c-4fed-8cc2-fd2a610a183b ro single  vga=775
    echo    ‘Loading initial ramdisk …’
    initrd    /boot/initrd.img-2.6.32-25-preempt
}
### END /etc/grub.d/10_linux ###澳门金沙国际,

1:单人格局;

1:单人格局;

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

2/75%/5:因分歧的发行商而异;Feroda:2–>贫乏部分网络效能的文字界面方式,3–>完整意义的文字界面格局,4–>保留,可自定义;5–>完整意义的图形界面格局;

2/四分三/5:因差别的发行商而异;Feroda:2–>贫乏部分互连网功效的文字界面方式,3–>完整意义的文字界面方式,4–>保留,可自定义;5–>完整意义的图形界面情势;

### BEGIN /etc/grub.d/20_memtest86+ ###
#menuentry “Memory test
(memtest86+)” {
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    linux16    /boot/memtest86+.bin
}
menuentry “Memory test (memtest86+,
serial console 115200)” {
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos8)’
    search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

6:重新开动系统;

6:重新启航系统;

### BEGIN /etc/grub.d/30_os-prober ###
menuentry “Microsoft Windows XP Professional (on /dev/sda1)” {
    insmod part_msdos
    insmod ntfs
    set root='(hd1,msdos1)’
    search –no-floppy –fs-uuid –set 22a89599a8956bd3
    drivemap -s (hd0) ${root}
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

=====================================================================================================

=====================================================================================================

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply
type the
# 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 ###

进度解析

经过解析

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

BIOS—》stage1—》stage1.5—》stage2—》vmlinuxz—》initrd—》读取/etc/event.d/rc-default—–未定义/etc/inittab>运维runlevel2——————|—-》运转画面

BIOS—》stage1—》stage1.5—》stage2—》vmlinuxz—》initrd—》读取/etc/event.d/rc-default—–未定义/etc/inittab>运转runlevel2——————|—-》运维画面

 

                                       GRUB                 内核    
                                   
 |_____定义/etc/inittab(暗中认可)>依照/etc/inittab定义的runlevel实行运维—|

                                       GRUB                 内核    
                                   
 |_____定义/etc/inittab(暗许)>依照/etc/inittab定义的runlevel进行运营—|


=====================================================================================

=====================================================================================

对上述运行项配置修改的归纳表达:

赤褐语句后边都以加了”#“正是不再显得的运行项,要是之后要求再一次重新启用,那么一旦能够进入编辑/boot
/grub/grub.cfg那几个文件,把”#“号去掉就足以了。铅色的门类是保存的运维项,在系统运转时候会显得。万一您对分辨那红和绿那两种颜色有困
难的话,能够数一下,运维代码中浅紫蓝的言辞共7句,宝蓝的3句。

 

      五 、关于系统运行时默许等待时间的设置:

     
Ubuntu暗许是体现运行列表10秒将来自动进入第三个显示的运营项。要修改那些运维等待时间也是足以在/boot/grub/grub.cfg那几个文件之中期维修改的,找到以下代码段:


search –no-floppy –fs-uuid –set
c825786c-e42c-4fed-8cc2-fd2a610a183b
set locale_dir=($root)/boot/grub/locale
set lang=zh
insmod gettext
if [ “${recordfail}” = 1 ]; then
  set timeout=-1
else
  set timeout=3
fi


      
修改else语句前面这几个”timeout“的值,比如那里是3代表等待3秒后自行进入系统。改为别的值比如5就等候5秒。

只要您不熟悉代码的意趣也许怕改错,那么提出你安装一个开发银行政管理理器在其间进行可视化设置。那样相比较保证。

主意见上述第”一“部分。再帖一下: 

  打开终端输入:sudo apt-get install startupmanager   #亟待能上网哦

  安装运行管理器

  系统——系统一管理理——运营管理器,选中暗中同意开机操作系统即可。

澳门金沙国际 1

相关文章