双系统运维项管理及铺排格局

By admin in 美高梅手机版4858 on 2019年3月25日

==========================================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代表第三个,以此类推;

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

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

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

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

run level

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

美高梅手机版4858 ,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那几个单词后边加上”#”就然后保留就足以了。注意:至少要留二个,提出保留四个ubuntu的选
项,留下最高版本的多个不等种类的,其次再审核类型是或不是个别三个:贰个是正规的(没有注解“恢复生机形式”或:“recovery”),另2个是复苏情势的
(表明“复苏形式”或:“recovery”)。此外含有Window的项是不可能加“#”实行注明的,不然你的就会找不到相关的系统入口了。还有内部存款和储蓄器测试
(menuentry “Memory test
…..“ ),假诺指望利用此功效留下一项,www.linuxidc.com个人认为留下选项多的不得了入口代表越多职能,不过内部存款和储蓄器测试的速度也会花更长的岁月。

 

 

     以下贴上自己机器运行项的布署情状,windows是终极一项,装的XP。

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

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


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

default=数字:默许运转的操作系统,数字0表示第三个题目,1代表第②个,以此类推;

#
# 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/四分之三/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   #供给能上网哦

  安装运转管理器

  系统——系统一管理理——运行管理器,选中私下认可开机操作系统即可。

美高梅手机版4858 1

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图
Copyright @ 2010-2019 美高梅手机版4858 版权所有