You are not logged in.

#1 2017-04-02 10:14:40

MystKid
Member
Registered: 2011-01-24
Posts: 55

When pressing f11 at boot i get 5 different grub installs entries

hello guys, when i press f11 at boot... and see my disks it looks like i have 3 or 4 different grub installed. id like to remove them. here is the result of bootinfoscript

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/arch/grubx64.efi /efi/Boot/bkpbootx64.efi 
                       /efi/Boot/bootx64.efi

sda3: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: unknown filesystem type ''

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Windows/System32/winload.exe

sda6: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda7: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:   This is .()
    Boot files:        /etc/fstab

sda8: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Arch Linux ()
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   500,118,191   500,118,191  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       923,647       921,600 Windows Recovery Environment (Windows)
/dev/sda2         923,648     1,126,399       202,752 EFI System partition
/dev/sda3       1,126,400     1,159,167        32,768 Microsoft Reserved Partition (Windows)
/dev/sda4       1,159,168   378,296,319   377,137,152 Data partition (Windows/Linux)
/dev/sda6     378,296,320   384,442,367     6,146,048 Swap partition (Linux)
/dev/sda7     384,442,368   448,063,487    63,621,120 Data partition (Linux)
/dev/sda8     448,063,488   500,117,503    52,054,016 Data partition (Linux)

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sdb1           2,048 1,953,523,711 1,953,521,664 Data partition (Windows/Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        9E1EB2C21EB292AF                       ntfs       Recovery
/dev/sda2        F2B3-410A                              vfat       
/dev/sda3                                                          
/dev/sda4        BCC6BB2BC6BAE534                       ntfs       
/dev/sda6        2a171a5e-0ef7-4d26-9203-3dea4cda6945   swap       
/dev/sda7        7da026c7-d470-427c-a6ff-9e545a847997   ext4       
/dev/sda8        789bfc1d-777d-491f-ad36-ed96f75a8152   ext4       
/dev/sdb1        AAF60DECF60DB999                       ntfs       Data

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda2        /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda8        /                        ext4       (rw,relatime,data=ordered)


=============================== sda7/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed); notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>			<mountpoint>	<type>		<opts>		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
#       filesystems.  This just tells the kernel to use the ext4 driver.
#
# NOTE: You can use full paths to devices like /dev/sda3, but it is often
#       more reliable to use filesystem labels or UUIDs. See your filesystem
#       documentation for details on setting a label. To obtain the UUID, use
#       the blkid(8) command.

#LABEL=boot		/boot		ext4		noauto,noatime	1 2
UUID=7da026c7-d470-427c-a6ff-9e545a847997		/		ext4		noatime		0 1
#LABEL=swap		none		swap		sw		0 0
#/dev/cdrom		/mnt/cdrom	auto		noauto,ro	0 0
/dev/sda6               none		swap		defaults	0 0
--------------------------------------------------------------------------------

=================== sda7: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


=========================== sda8/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# 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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  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 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
}

set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8  789bfc1d-777d-491f-ad36-ed96f75a8152
else
  search --no-floppy --fs-uuid --set=root 789bfc1d-777d-491f-ad36-ed96f75a8152
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_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_grub-customizer_menu_color_helper ###
### END /etc/grub.d/01_grub-customizer_menu_color_helper ###

### BEGIN /etc/grub.d/10_linux_proxy ###




menuentry "Arch Linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-789bfc1d-777d-491f-ad36-ed96f75a8152' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt8'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8  789bfc1d-777d-491f-ad36-ed96f75a8152
	else
	  search --no-floppy --fs-uuid --set=root 789bfc1d-777d-491f-ad36-ed96f75a8152
	fi
	echo	'Loading Linux linux ...'
	linux	/boot/vmlinuz-linux root=UUID=789bfc1d-777d-491f-ad36-ed96f75a8152 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd  /boot/initramfs-linux.img
}
### END /etc/grub.d/10_linux_proxy ###

### BEGIN /etc/grub.d/25_custom_proxy ###
menuentry "Windows 10" {
	search --fs-uuid --no-floppy --set=root F2B3-410A
	chainloader (${root})/EFI/Boot/bkpbootx64.efi
}
### END /etc/grub.d/25_custom_proxy ###

### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Gentoo Base System release 2.3 (on /dev/sda7)" --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-7da026c7-d470-427c-a6ff-9e545a847997' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  7da026c7-d470-427c-a6ff-9e545a847997
	else
	  search --no-floppy --fs-uuid --set=root 7da026c7-d470-427c-a6ff-9e545a847997
	fi
	linux /boot/kernel-genkernel-x86_64-4.9.16-gentoo root=/dev/sda7
	initrd /boot/initramfs-genkernel-x86_64-4.9.16-gentoo
}
### END /etc/grub.d/30_os-prober_proxy ###

### BEGIN /etc/grub.d/31_linux_proxy ###
submenu "Advanced options for Arch Linux"{
menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-789bfc1d-777d-491f-ad36-ed96f75a8152' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8  789bfc1d-777d-491f-ad36-ed96f75a8152
		else
		  search --no-floppy --fs-uuid --set=root 789bfc1d-777d-491f-ad36-ed96f75a8152
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=789bfc1d-777d-491f-ad36-ed96f75a8152 rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /boot/initramfs-linux.img
}
menuentry "Arch Linux, with Linux linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-789bfc1d-777d-491f-ad36-ed96f75a8152' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8  789bfc1d-777d-491f-ad36-ed96f75a8152
		else
		  search --no-floppy --fs-uuid --set=root 789bfc1d-777d-491f-ad36-ed96f75a8152
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=789bfc1d-777d-491f-ad36-ed96f75a8152 rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /boot/initramfs-linux-fallback.img
}
menuentry "Arch Linux, with Linux linux (recovery mode)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-recovery-789bfc1d-777d-491f-ad36-ed96f75a8152' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8  789bfc1d-777d-491f-ad36-ed96f75a8152
		else
		  search --no-floppy --fs-uuid --set=root 789bfc1d-777d-491f-ad36-ed96f75a8152
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=789bfc1d-777d-491f-ad36-ed96f75a8152 rw single 
		echo	'Loading initial ramdisk ...'
		initrd  /boot/initramfs-linux-fallback.img
}
}
### END /etc/grub.d/31_linux_proxy ###

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

### BEGIN /etc/grub.d/33_custom_proxy ###









### END /etc/grub.d/33_custom_proxy ###

### BEGIN /etc/grub.d/34_os-prober_proxy ###





submenu "Advanced options for Gentoo Base System release 2.3 (on /dev/sda7)"{
menuentry "Gentoo Base System release 2.3 (on /dev/sda7)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/kernel-genkernel-x86_64-4.9.16-gentoo--7da026c7-d470-427c-a6ff-9e545a847997' {
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  7da026c7-d470-427c-a6ff-9e545a847997
		else
		  search --no-floppy --fs-uuid --set=root 7da026c7-d470-427c-a6ff-9e545a847997
		fi
		linux /boot/kernel-genkernel-x86_64-4.9.16-gentoo root=/dev/sda7
		initrd /boot/initramfs-genkernel-x86_64-4.9.16-gentoo
}
}
### END /etc/grub.d/34_os-prober_proxy ###

### BEGIN /etc/grub.d/37_custom_proxy ###
menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root F2B3-410A
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root F2B3-410A
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}
menuentry "EFI/ubuntu/MokManager.efi" {
search --fs-uuid --no-floppy --set=root F2B3-410A
chainloader (${root})/EFI/ubuntu/MokManager.efi
}
### END /etc/grub.d/37_custom_proxy ###

### BEGIN /etc/grub.d/38_os-prober_proxy ###
menuentry "Windows Boot Manager (on /dev/sda2)" --class windows --class os $menuentry_id_option 'osprober-efi-F2B3-410A' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  F2B3-410A
	else
	  search --no-floppy --fs-uuid --set=root F2B3-410A
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
### END /etc/grub.d/38_os-prober_proxy ###

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

=============================== sda8/etc/fstab: ================================

--------------------------------------------------------------------------------
#
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda8
/dev/sda8           	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda6
/dev/sda6           	none      	swap      	defaults  	0 0

UUID=F2B3-410A	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

=================== sda8: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda2

00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 0e 1a  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 18 0e 00  |........?.......|
00000020  00 18 03 00 f9 02 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 0a 41 b3 f2 4e  4f 20 4e 41 4d 45 20 20  |..).A..NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200


=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-y7aJJmE7/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-y7aJJmE7/Tmp_Log: No such file or directory
mdadm: No arrays found in config file or automatically
    

Offline

#2 2017-04-12 16:29:45

boban_dj
Member
Registered: 2015-03-17
Posts: 150

Re: When pressing f11 at boot i get 5 different grub installs entries

if your change anything in your partitions you have to regenerate grub.cfg. see the grub arch wiki.

Offline

#3 2017-04-12 16:38:42

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: When pressing f11 at boot i get 5 different grub installs entries

paste the output of:

efibootmgr -v

Offline

Board footer

Powered by FluxBB