Skip to main content

Thread: how to reduce number of entries in grub screen menu??


#
# not edit file
#
# automatically generated /usr/sbin/grub-mkconfig using templates
# /etc/grub.d , settings /etc/default/grub
#

### begin /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd1,8)
search --no-floppy --fs-uuid --set 4431ee45-3d7a-482f-807e-1294efa8f0db
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; true ; else
# backward compatibility versions of terminal.mod don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=20
fi
### end /etc/grub.d/00_header ###

### begin /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd1,8)
search --no-floppy --fs-uuid --set 4431ee45-3d7a-482f-807e-1294efa8f0db
insmod tga
if background_image /usr/share/images/grub/plasma-lamp.tga ; then
set color_normal=white/black
set color_highlight=yellow/red
else
set menu_color_normal=white/black
set menu_color_highlight=yellow/red
fi
### end /etc/grub.d/05_debian_theme ###

### begin /etc/grub.d/10_linux ###
menuentry "ubuntu, linux 2.6.31-19-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd1,8)
search --no-floppy --fs-uuid --set 4431ee45-3d7a-482f-807e-1294efa8f0db
linux /boot/vmlinuz-2.6.31-19-generic root=uuid=4431ee45-3d7a-482f-807e-1294efa8f0db ro quiet splash
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "ubuntu, linux 2.6.31-19-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; save_env recordfail; fi
insmod ext2
set root=(hd1,8)
search --no-floppy --fs-uuid --set 4431ee45-3d7a-482f-807e-1294efa8f0db
linux /boot/vmlinuz-2.6.31-19-generic root=uuid=4431ee45-3d7a-482f-807e-1294efa8f0db ro single
initrd /boot/initrd.img-2.6.31-19-generic
}
menuentry "ubuntu, linux 2.6.31-18-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd1,8)
search --no-floppy --fs-uuid --set 4431ee45-3d7a-482f-807e-1294efa8f0db
linux /boot/vmlinuz-2.6.31-18-generic root=uuid=4431ee45-3d7a-482f-807e-1294efa8f0db ro quiet splash
initrd /boot/initrd.img-2.6.31-18-generic
}
menuentry "ubuntu, linux 2.6.31-18-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; save_env recordfail; fi
insmod ext2
set root=(hd1,8)
search --no-floppy --fs-uuid --set 4431ee45-3d7a-482f-807e-1294efa8f0db
linux /boot/vmlinuz-2.6.31-18-generic root=uuid=4431ee45-3d7a-482f-807e-1294efa8f0db ro single
initrd /boot/initrd.img-2.6.31-18-generic
}
menuentry "ubuntu, linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd1,8)
search --no-floppy --fs-uuid --set 4431ee45-3d7a-482f-807e-1294efa8f0db
linux /boot/vmlinuz-2.6.31-14-generic root=uuid=4431ee45-3d7a-482f-807e-1294efa8f0db ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "ubuntu, linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; save_env recordfail; fi
insmod ext2
set root=(hd1,8)
search --no-floppy --fs-uuid --set 4431ee45-3d7a-482f-807e-1294efa8f0db
linux /boot/vmlinuz-2.6.31-14-generic root=uuid=4431ee45-3d7a-482f-807e-1294efa8f0db ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### end /etc/grub.d/10_linux ###

### begin /etc/grub.d/20_memtest86+ ###
menuentry "memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttys0,115200n8
}
### end /etc/grub.d/20_memtest86+ ###

### begin /etc/grub.d/30_os-prober ###
menuentry "microsoft windows xp professional (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set f6e2efcce2ef8ee5
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "opensuse 11.2 (on /dev/sdb10)" {
insmod ext2
set root=(hd1,10)
search --no-floppy --fs-uuid --set f5d07f90-b459-4722-a965-49f5ee110535
linux /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part10 resume=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part6 splash=silent quiet showopts vga=0x314
initrd /boot/initrd-2.6.31.5-0.1-default
}
menuentry "failsafe -- opensuse 11.2 (on /dev/sdb10)" {
insmod ext2
set root=(hd1,10)
search --no-floppy --fs-uuid --set f5d07f90-b459-4722-a965-49f5ee110535
linux /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part10 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
initrd /boot/initrd-2.6.31.5-0.1-default
}
menuentry "linux (on /dev/sdb11)" {
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 9134bdab-080a-4cae-8ba3-b42ef0beb2f1
linux /boot/vmlinuz boot_image=linux root=uuid=9134bdab-080a-4cae-8ba3-b42ef0beb2f1 acpi=on resume=uuid=2f0514d1-e8e3-4742-8380-ba7ed2e1420e splash=silent vga=788
initrd (hd0,11)/boot/initrd.img
}
menuentry "linux-nonfb (on /dev/sdb11)" {
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 9134bdab-080a-4cae-8ba3-b42ef0beb2f1
linux /boot/vmlinuz boot_image=linux-nonfb root=uuid=9134bdab-080a-4cae-8ba3-b42ef0beb2f1 acpi=on resume=uuid=2f0514d1-e8e3-4742-8380-ba7ed2e1420e
initrd (hd0,11)/boot/initrd.img
}
menuentry "failsafe (on /dev/sdb11)" {
insmod ext2
set root=(hd0,11)
search --no-floppy --fs-uuid --set 9134bdab-080a-4cae-8ba3-b42ef0beb2f1
linux /boot/vmlinuz boot_image=failsafe root=uuid=9134bdab-080a-4cae-8ba3-b42ef0beb2f1 failsafe acpi=on
initrd (hd0,11)/boot/initrd.img
}
menuentry "ubuntu 9.04 (on /dev/sdb5)" {
insmod ext2
set root=(hd1,5)
search --no-floppy --fs-uuid --set dce4d5f5-422e-4603-adb3-059adb84f507
linux /boot/vmlinuz-2.6.28-17-generic root=uuid=dce4d5f5-422e-4603-adb3-059adb84f507 ro xforcevesa quiet splash mem=430m
initrd /boot/initrd.img-2.6.28-17-generic
}
menuentry "ubuntu 9.04(recovery mode) (on /dev/sdb5)" {
insmod ext2
set root=(hd1,5)
search --no-floppy --fs-uuid --set dce4d5f5-422e-4603-adb3-059adb84f507
linux /boot/vmlinuz-2.6.28-17-generic root=uuid=dce4d5f5-422e-4603-adb3-059adb84f507 ro xforcevesa single
initrd /boot/initrd.img-2.6.28-17-generic
}
menuentry "gentoo linux (on /dev/sdb7)" {
insmod ext2
set root=(hd1,7)
search --no-floppy --fs-uuid --set bf779907-4f31-4005-ab9d-c9413765aafe
linux /boot/kernel-2.6.31-gentoo-r6 root=/dev/sdb7 mem=430m
}
menuentry "opensuse 11.2 - 2.6.31.12-2 (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.12-2-default root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part8 resume=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part6 splash=silent quiet showopts mem=430m vga=0x314
initrd /boot/initrd-2.6.31.12-2-default
}
menuentry "failsafe -- opensuse 11.2 - 2.6.31.12-2 (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.12-2-default root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part8 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
initrd /boot/initrd-2.6.31.12-2-default
}
menuentry "debug -- opensuse 11.2 - 2.6.31.8-0.1 (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.8-0.1-debug root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part9 resume=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part6 splash=silent quiet showopts mem=430m vga=0x314
initrd /boot/initrd-2.6.31.8-0.1-debug
}
menuentry "opensuse 11.2 - 2.6.31.8-0.1 (pae) (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.8-0.1-pae root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part9 resume=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part6 splash=silent quiet showopts mem=430m vga=0x314
initrd /boot/initrd-2.6.31.8-0.1-pae
}
menuentry "failsafe -- opensuse 11.2 - 2.6.31.8-0.1 (pae) (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.8-0.1-pae root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part9 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
initrd /boot/initrd-2.6.31.8-0.1-pae
}
menuentry "desktop -- opensuse 11.2 - 2.6.31.8-0.1 (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.8-0.1-desktop root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part9 resume=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part6 splash=silent quiet showopts mem=430m vga=0x314
initrd /boot/initrd-2.6.31.8-0.1-desktop
}
menuentry "failsafe -- opensuse 11.2 - 2.6.31.8-0.1 (desktop) (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.8-0.1-desktop root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part9 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
initrd /boot/initrd-2.6.31.8-0.1-desktop
}
menuentry "opensuse 11.2 - 2.6.31.8-0.1 (default) (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.8-0.1-default root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part9 resume=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part6 splash=silent quiet showopts vga=0x314
initrd /boot/initrd-2.6.31.8-0.1-default
}
menuentry "failsafe -- opensuse 11.2 - 2.6.31.8-0.1 (default) (on /dev/sdb9)" {
insmod ext2
set root=(hd1,9)
search --no-floppy --fs-uuid --set 6ed59fa9-9dd3-431f-92a8-78720f6ee06d
linux /boot/vmlinuz-2.6.31.8-0.1-default root=/dev/disk/by-id/ata-st3250823a_3nd2fpds-part9 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
initrd /boot/initrd-2.6.31.8-0.1-default
}
### end /etc/grub.d/30_os-prober ###

### begin /etc/grub.d/40_custom ###
# file provides easy way add custom menu entries. type the
# menu entries want add after comment. careful not change
# 'exec tail' line above.
### end /etc/grub.d/40_custom ###
every time update-grub run these put back.
editing grub.cfg not help.

you're not supposed edit it.

# not edit file
to remove kernel grub menu, uninstall corresponding linux-image package in package manager.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] how to reduce number of entries in grub screen menu??


Ubuntu

Comments

Popular posts from this blog

Installation database is corrupt

Nogen der kender et simpelt hvidt template med topmenu kun - Joomla! Forum - community, help and support

Error compiling for board Arduino/Genuino Uno.