All of the following is still under the Centos 7 KDE Live CD: If I mount /dev/sda2 on /media and have a look, this is the valid EFI filesystem, including the Fedora and Centos entries. If I try to mount /dev/sda6 on /media it looks to be a valid /boot filesystem. If I mount /dev/sda6 as /boot and mount /dev/sda2 as /boot/efi before running Jim's efibootmgr command will I fix the problem or will I stuff it beyond all recognition? [root at localhost /]# mount /dev/sda2 /media/ [root at localhost /]# cd /media/ [root at localhost media]# ll total 12 drwxr-xr-x. 7 root root 4096 Sep 14 12:20 EFI drwxr-xr-x. 2 root root 4096 Aug 15 10:24 System Volume Information drwxr-xr-x. 2 root root 4096 Jul 14 2015 Temp [root at localhost media]# cd EFI/ [root at localhost EFI]# ll total 20 drwxr-xr-x. 2 root root 4096 Dec 10 2015 BOOT drwxr-xr-x. 3 root root 4096 Sep 12 12:04 centos drwxr-xr-x. 4 root root 4096 Nov 23 2015 fedora drwxr-xr-x. 5 root root 4096 Sep 14 12:20 HP drwxr-xr-x. 3 root root 4096 Jul 3 2015 Microsoft [root at localhost EFI]# cd [root at localhost ~]# umount /media/ [root at localhost ~]# mount /dev/sda6 /media/ [root at localhost ~]# cd /media/ [root at localhost media]# ll total 243120 -rw-r--r--. 1 root root 126431 Aug 3 12:21 config-3.10.0-327.28.2.el7.x86_64 -rw-r--r--. 1 root root 126431 Aug 18 20:15 config-3.10.0-327.28.3.el7.x86_64 -rw-r--r--. 1 root root 126426 Nov 19 2015 config-3.10.0-327.el7.x86_64 drwxr-xr-x. 2 root root 6 Aug 15 07:34 efi drwxr-xr-x. 2 root root 26 Dec 10 2015 grub drwx------. 3 root root 33 Aug 15 11:27 grub2 -rw-rw-r--. 1 root root 57630181 Aug 15 07:46 initramfs-0-rescue-94f9d612ea4e4d2497d367334416d88b.img -rw-r--r--. 1 root root 30853341 Aug 15 16:48 initramfs-3.10.0-327.28.2.el7.x86_64.img -rw-r--r--. 1 root root 19329078 Aug 15 11:55 initramfs-3.10.0-327.28.2.el7.x86_64kdump.img -rw-r--r--. 1 root root 30855404 Sep 12 11:04 initramfs-3.10.0-327.28.3.el7.x86_64.img -rw-r--r--. 1 root root 19329625 Sep 12 11:06 initramfs-3.10.0-327.28.3.el7.x86_64kdump.img -rw-r--r--. 1 root root 30852186 Aug 15 16:48 initramfs-3.10.0-327.el7.x86_64.img -rw-r--r--. 1 root root 19217036 Aug 15 11:12 initramfs-3.10.0-327.el7.x86_64kdump.img -rw-r--r--. 1 root root 10193251 Dec 10 2015 initrd-plymouth.img -rw-r--r--. 1 root root 252632 Aug 3 12:23 symvers-3.10.0-327.28.2.el7.x86_64.gz -rw-r--r--. 1 root root 252632 Aug 18 20:17 symvers-3.10.0-327.28.3.el7.x86_64.gz -rw-r--r--. 1 root root 252612 Nov 19 2015 symvers-3.10.0-327.el7.x86_64.gz -rw-------. 1 root root 2964683 Aug 3 12:21 System.map-3.10.0-327.28.2.el7.x86_64 -rw-------. 1 root root 2964731 Aug 18 20:15 System.map-3.10.0-327.28.3.el7.x86_64 -rw-------. 1 root root 2963044 Nov 19 2015 System.map-3.10.0-327.el7.x86_64 -rwxr-xr-x. 1 root root 5156528 Aug 15 07:46 vmlinuz-0-rescue-94f9d612ea4e4d2497d367334416d88b -rwxr-xr-x. 1 root root 5159792 Aug 3 12:21 vmlinuz-3.10.0-327.28.2.el7.x86_64 -rwxr-xr-x. 1 root root 5159792 Aug 18 20:15 vmlinuz-3.10.0-327.28.3.el7.x86_64 -rwxr-xr-x. 1 root root 5156528 Nov 19 2015 vmlinuz-3.10.0-327.el7.x86_64 [root at localhost media]#
I have managed to boot into the installed Centos system, without using the KDE live CD. By pressing F9 when turning on the laptop, I got the choose boot menu. When the menu appeared, it had the old Fedora install, the current Centos install as well as the Windows install. When I chose the Centos install it showed the GRUB menu and booted into Centos without error. This confirms that the Centos entry in the EFI data is still valid. Once booted I then tried going through the process of running efibootmgr again. Once again, it looked to work perfectly, but for some reason the changes are not permenant, and if left alone, the laptop boots into Win8. I'm out of ideas now. Gary [root at gary ~]# efibootmgr -v BootCurrent: 0003 Timeout: 0 seconds BootOrder: 0002,3002,0000,0003,2001,2002,2003 Boot0000* Fedora HD(2,145800,64000,14c4ac1d-abd8-4121-84ee-c05a825920de)File(\EFI\fedora\shim.efi)RC Boot0002* Windows Boot Manager HD(2,145800,64000,14c4ac1d-abd8-4121-84ee-c05a825920de)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=. {.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}.................... Boot0003* CentOS Linux HD(2,145800,64000,14c4ac1d-abd8-4121-84ee-c05a825920de)File(\EFI\centos\shim.efi) Boot2001* USB Drive (UEFI) RC Boot2002* Internal CD/DVD ROM Drive (UEFI) RC Boot3000* Internal Hard Disk or Solid State Disk RC Boot3002* Internal Hard Disk or Solid State Disk RC [root at gary ~]# efibootmgr -b 0000 -B BootCurrent: 0003 Timeout: 0 seconds BootOrder: 0002,3002,0003,2001,2002,2003 Boot0002* Windows Boot Manager Boot0003* CentOS Linux Boot2001* USB Drive (UEFI) Boot2002* Internal CD/DVD ROM Drive (UEFI) Boot3000* Internal Hard Disk or Solid State Disk Boot3002* Internal Hard Disk or Solid State Disk [root at gary ~]# echo $? 0 [root at gary ~]# efibootmgr -o 2002,2001,0003,0002 BootCurrent: 0003 Timeout: 0 seconds BootOrder: 2002,2001,0003,0002 Boot0002* Windows Boot Manager Boot0003* CentOS Linux Boot2001* USB Drive (UEFI) Boot2002* Internal CD/DVD ROM Drive (UEFI) Boot3000* Internal Hard Disk or Solid State Disk Boot3002* Internal Hard Disk or Solid State Disk [root at gary ~]#[root at gary ~]# efibootmgr -v BootCurrent: 0003 Timeout: 0 seconds BootOrder: 0002,3002,0000,0003,2001,2002,2003 Boot0000* Fedora HD(2,145800,64000,14c4ac1d-abd8-4121-84ee-c05a825920de)File(\EFI\fedora\shim.efi)RC Boot0002* Windows Boot Manager HD(2,145800,64000,14c4ac1d-abd8-4121-84ee-c05a825920de)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=. {.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}.................... Boot0003* CentOS Linux HD(2,145800,64000,14c4ac1d-abd8-4121-84ee-c05a825920de)File(\EFI\centos\shim.efi) Boot2001* USB Drive (UEFI) RC Boot2002* Internal CD/DVD ROM Drive (UEFI) RC Boot3000* Internal Hard Disk or Solid State Disk RC Boot3002* Internal Hard Disk or Solid State Disk RC [root at gary ~]# efibootmgr -b 0000 -B BootCurrent: 0003 Timeout: 0 seconds BootOrder: 0002,3002,0003,2001,2002,2003 Boot0002* Windows Boot Manager Boot0003* CentOS Linux Boot2001* USB Drive (UEFI) Boot2002* Internal CD/DVD ROM Drive (UEFI) Boot3000* Internal Hard Disk or Solid State Disk Boot3002* Internal Hard Disk or Solid State Disk [root at gary ~]# echo $? 0 [root at gary ~]# efibootmgr -o 2002,2001,0003,0002 BootCurrent: 0003 Timeout: 0 seconds BootOrder: 2002,2001,0003,0002 Boot0002* Windows Boot Manager Boot0003* CentOS Linux Boot2001* USB Drive (UEFI) Boot2002* Internal CD/DVD ROM Drive (UEFI) Boot3000* Internal Hard Disk or Solid State Disk Boot3002* Internal Hard Disk or Solid State Disk [root at gary ~]#
Exactly what efibootmgr command are you using? Chris Murphy
> [root at gary ~]# efibootmgr -o 2002,2001,0003,0002Try efibootmgr -v -O -T ## capital O, to delete the entire boot order and timeout efibootmgr -v -o 3,2 -t 3 I think making the DVD or USB the default boot options is a bad idea, I wouldn't do that. Use the boot manager on demand if you need to boot DVD or USB. The things that should be listed first are the things you want booted by default and then the next fallback. The other thing to do is check HP's web site directly for an even newer version of the firmware. It may be the one you have fixes a particular bug Microsoft is bothered by but may have an NVRAM garbage collection bug that they don't care about or don't know about (yet). -- Chris Murphy