Re: efibootmgr help

2015-08-30 Thread Chris Murphy
Just as a matter of trivia and amusement, Fedora EFI System partitions are FAT16. Windows and OS X create them as FAT32. https://bugzilla.redhat.com/show_bug.cgi?id=1046577 I think since the EFI file system is actually a frozen in time FAT implementation that shouldn't ever change (for compatibil

Re: efibootmgr help

2015-08-30 Thread Gordon Messmer
On 08/30/2015 10:18 AM, Paul Cartwright wrote: On 08/30/2015 12:17 PM, Gordon Messmer wrote: Boot0005* Fedora HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\FEDORA\shim.efi) Boot0009* UEFI OS HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EF

Re: efibootmgr help

2015-08-30 Thread Chris Murphy
On Sun, Aug 30, 2015 at 11:20 AM, Paul Cartwright wrote: > do I need to delete duplicates, so there is only 1 fedora, 1 ubuntu, and > 1 windows entry? Only if you want to clean up the built-in boot manager listing. -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubsc

Re: efibootmgr help

2015-08-30 Thread Chris Murphy
On Sun, Aug 30, 2015 at 7:21 AM, Paul Cartwright wrote: > On 08/30/2015 08:28 AM, Tom H wrote: >> Doesn't the firmware boot screen correspond to the output of "efibootmgr"? > it looks that way.. > so, tell me what the difference is between Fedora, 0005, and UEFI OS: > > Boot0005* Fedora > HD(8,G

Re: efibootmgr help

2015-08-30 Thread Chris Murphy
On Sun, Aug 30, 2015 at 4:58 AM, Paul Cartwright wrote: > ok, so I rebooted, and hit F12 when I saw the Dell logo.. > it gets me to a screen where I see: > > UEFI Boot > Fedora > UEFI OS > UEFI OS > ubuntu > Windows... > Fedora > ubuntu > > > not very descriptive to tell me what kernel or why dup

Re: efibootmgr help

2015-08-30 Thread Paul Cartwright
On 08/30/2015 12:14 PM, Gordon Messmer wrote: > I'm really trying to explain this in the simplest terms possible. So, > again, the UEFI firmware loads boot loaders. The boot loaders load > kernels. > > You hit F12 to get a list of UEFI boot targets. What are those > targets? They're boot loaders

Re: efibootmgr help

2015-08-30 Thread Paul Cartwright
On 08/30/2015 12:17 PM, Gordon Messmer wrote: > >> so, tell me what the difference is between Fedora, 0005, and UEFI OS: >> >> Boot0005* Fedora >> HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\FEDORA\shim.efi) >> >> Boot0009* UEFI OS >> HD(8,GPT,ac2fc695-5de9-47d0-a19b

Re: efibootmgr help

2015-08-30 Thread Gordon Messmer
On 08/30/2015 06:21 AM, Paul Cartwright wrote: so, tell me what the difference is between Fedora, 0005, and UEFI OS: Boot0005* Fedora HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\FEDORA\shim.efi) Boot0009* UEFI OS HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae

Re: efibootmgr help

2015-08-30 Thread Gordon Messmer
On 08/30/2015 03:58 AM, Paul Cartwright wrote: not very descriptive to tell me what kernel or why duplicate Fedora & ubuntu entries.. I'm really trying to explain this in the simplest terms possible. So, again, the UEFI firmware loads boot loaders. The boot loaders load kernels. You hit F1

Re: efibootmgr help

2015-08-30 Thread Paul Cartwright
On 08/30/2015 08:28 AM, Tom H wrote: >> > it gets me to a screen where I see: >> > >> > UEFI Boot >> > Fedora >> > UEFI OS >> > UEFI OS >> > ubuntu >> > Windows... >> > Fedora >> > ubuntu >> > >> > not very descriptive to tell me what kernel or why duplicate Fedora & >> > ubuntu entries.. >> > I se

Re: efibootmgr help

2015-08-30 Thread Tom H
On Sun, Aug 30, 2015 at 6:58 AM, Paul Cartwright wrote: > On 08/29/2015 11:30 PM, Chris Murphy wrote: >> >> Practically, the user needs to use the UEFI firmware's built-in boot >> manager (one time boot menu) to choose which OS to boot. In effect >> this overrides the NVRAM BootOrder, and causes t

Re: efibootmgr help

2015-08-30 Thread Paul Cartwright
On 08/29/2015 11:30 PM, Chris Murphy wrote: > Practically, the user needs to use the UEFI firmware's built-in boot > manager (one time boot menu) to choose which OS to boot. In effect > this overrides the NVRAM BootOrder, and causes the firmware to execute > the OS specific OSLoader (the particular

Re: efibootmgr help

2015-08-30 Thread Paul Cartwright
On 08/29/2015 11:20 PM, Chris Murphy wrote: > The one consequence of enabling Secure Boot is the GRUB menu entry for > Windows will not work. And although I haven't tried this, I actually > suspect that the os-prober menu entries for other OS's won't work > either because, e.g. the Fedora GRUB cont

Re: efibootmgr help

2015-08-30 Thread Paul Cartwright
On 08/29/2015 11:30 PM, Chris Murphy wrote: >> > And while it'd be fantastic if it weren't that way, it really can't be >> > unless grub is "stable" in the sense that the configuration file syntax is >> > finished, no new features will be added, grub2-mkconfig produces a >> > predictable output, an

Re: efibootmgr help

2015-08-29 Thread Chris Murphy
On Sat, Aug 29, 2015 at 1:47 PM, Gordon Messmer wrote: > On 08/29/2015 04:42 AM, Paul Cartwright wrote: >> >> then if I update ubuntu I have to either do the efibootmgr -o to change >> to ubuntu OR from fedora run grub-2mkconfig.. with 2 ESPs it is a manual >> process to keep grub updated for 2 OS

Re: efibootmgr help

2015-08-29 Thread Chris Murphy
On Sat, Aug 29, 2015 at 5:20 AM, Paul Cartwright wrote: > On 08/29/2015 01:25 AM, Chris Murphy wrote: >>> > Then it is necessary to deactivate the Secureboot. This tool was >>> > implemented in Windows 8 with the new UEFI Bios, as a safety mechanism >>> > to prevent malicious software from booting

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 04:29 PM, Gordon Messmer wrote: >> that I can deal with.. but there are TWO grub.cfg files which one >> should I modify with grub2-mkconfig?? > > The one on the ESP. /boot/grub2/grub.cfg is used under BIOS. It > normally won't be present on an UEFI system. this started as a UEFI

Re: efibootmgr help

2015-08-29 Thread Gordon Messmer
On 08/29/2015 12:56 PM, Paul Cartwright wrote: that I can deal with.. but there are TWO grub.cfg files which one should I modify with grub2-mkconfig?? The one on the ESP. /boot/grub2/grub.cfg is used under BIOS. It normally won't be present on an UEFI system. -- users mailing list use

Re: efibootmgr help

2015-08-29 Thread Gordon Messmer
On 08/29/2015 12:52 PM, Paul Cartwright wrote: I will try turning on secure-boot next time I reboot, to see if I can boot with it turned on.. define "tampered with".. what if you run grub2-mkconfig.. that tampers with it... I mean that a root kit can't modify the system firmware, the shim, the

Re: efibootmgr help

2015-08-29 Thread Tom H
On Sat, Aug 29, 2015 at 2:11 AM, Chris Murphy wrote: > > The central problem is that the distros are on a continuum among > ambivalence, incompetence, and malicious when it comes to multiboot > cooperation. And GRUB upstream has done a lot of Rube Goldberg > innovation to try to solve this problem

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 03:55 PM, Tom H wrote: >> > >> > Therefore, this tool will block any operating system from starting, >> > besides Windows 8. So it must be deactivated. > That URL's inaccurate. > > Fedora (and Ubuntu) have an MS-signed shim that interfaces between the > EFi firmware's SB and grub. I o

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 03:43 PM, Tom H wrote: >> > oh, I get it.. but still I don't get it... /boot/efi is a separate >> > partition.. how can /EFI/ubuntu & /EFI/fedora be different... when they >> > are both under /boot/efi.. > Ubuntu's mounting sda1 at "/boot/efi" and Fedora's mounting sda8 there. I have

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 03:33 PM, Gordon Messmer wrote: >> every time you boot into a specific distro, update the system, and >> install a new kernel, well, then grub needs to be updated. > > To be clear: the grub configuration needs to be updated. Grub, the > program, does not. Installing a new kernel doe

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 03:47 PM, Gordon Messmer wrote: >> > > Just pick which system's grub you want to use, and you can stop > fiddling with efibootmgr. Use grub2-mkconfig in your "primary" system > to build a complete cfg file. I want fedora, I just want ubuntu updated so the primary works for me:) I

Re: efibootmgr help

2015-08-29 Thread Tom H
On Fri, Aug 28, 2015 at 9:37 PM, Paul Cartwright wrote: > > http://www.instructables.com/id/Dual-Boot-Ubuntu-and-Windows-8-UEFI/step4/Deactivating-Fast-Startup-and-Secureboot/ > > Then it is necessary to deactivate the Secureboot. This tool was > implemented in Windows 8 with the new UEFI Bios, as

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 03:11 PM, Gordon Messmer wrote: >> > > Secure Boot is an effective mitigation against some features of root > kits, and really should be enabled everywhere possible. > > Under Secure Boot, the firmware will not load a boot loader if it has > been tampered with, which will not load a k

Re: efibootmgr help

2015-08-29 Thread Gordon Messmer
On 08/29/2015 04:42 AM, Paul Cartwright wrote: then if I update ubuntu I have to either do the efibootmgr -o to change to ubuntu OR from fedora run grub-2mkconfig.. with 2 ESPs it is a manual process to keep grub updated for 2 OSes.. Just pick which system's grub you want to use, and you can st

Re: efibootmgr help

2015-08-29 Thread Tom H
On Fri, Aug 28, 2015 at 6:22 PM, Paul Cartwright wrote: > On 08/28/2015 05:18 PM, Gordon Messmer wrote: >> >> From your first message, efibootmgr printed: >> >> Boot0002* Fedora >> HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\fedora\shim.efi) >> >> ... >> Boot0004* u

Re: efibootmgr help

2015-08-29 Thread Gordon Messmer
On 08/28/2015 06:48 PM, Paul Cartwright wrote: every time you boot into a specific distro, update the system, and install a new kernel, well, then grub needs to be updated. To be clear: the grub configuration needs to be updated. Grub, the program, does not. Installing a new kernel does not

Re: efibootmgr help

2015-08-29 Thread Gordon Messmer
On 08/29/2015 04:20 AM, Paul Cartwright wrote: that may be true, but however I got my fedora installed on this UEFI box is the way I am leaving it.. I am pretty sure I have secure boot turned off. it works, and I go with the KISS method, it works, I'm leaving it alone:) Secure Boot is an effect

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 06:28 AM, Tom H wrote: > I just went back to your initial email. > > The Ubuntu and Fedora ESPs are different. Ubuntu's is sda1 and Fedora's is > sda8. > > Are you looking for the Ubuntu ESP while booted into Fedora or Ubuntu? > > I remember an old thread/bug where someone complained

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 02:11 AM, Chris Murphy wrote: >> > when I installed ubuntu after that, ubuntu became the default, and grub >> > had 3 entries for fedora, plus windows 10, plus ubuntu. > The central problem is that the distros are on a continuum among > ambivalence, incompetence, and malicious when it

Re: efibootmgr help

2015-08-29 Thread Paul Cartwright
On 08/29/2015 01:25 AM, Chris Murphy wrote: >> > Then it is necessary to deactivate the Secureboot. This tool was >> > implemented in Windows 8 with the new UEFI Bios, as a safety mechanism >> > to prevent malicious software from booting in your PC, as well as “non >> > authorized” operating system

Re: efibootmgr help

2015-08-29 Thread Tom H
On Fri, Aug 28, 2015 at 1:33 PM, Paul Cartwright wrote: > > I just mounted my ubuntu "/" partition and /boot/efi was... empty. > I'm pretty sure it was there when I booted ubuntu.. oh wait... /boot/efi > is a separate partition.. but it is already mounted, and it is fedora, > not ubuntu... ar

Re: efibootmgr help

2015-08-28 Thread Chris Murphy
On Fri, Aug 28, 2015 at 7:48 PM, Paul Cartwright wrote: > On 08/28/2015 06:40 PM, Chris Murphy wrote: >> Due to many things, including UEFI, and GRUB being overly complicated, >> and each distro forking GRUB, and also not always keeping it up to >> date with upstream, there are many variations in

Re: efibootmgr help

2015-08-28 Thread Chris Murphy
On Fri, Aug 28, 2015 at 7:37 PM, Paul Cartwright wrote: > On 08/28/2015 06:26 PM, Chris Murphy wrote: >>> > my system originally came with windows 10. I seem to recall that from >>> > what I read, you needed to disable secure boot to install linux & grub.. >> That's incorrect, and it's bad advice

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/28/2015 06:40 PM, Chris Murphy wrote: > Due to many things, including UEFI, and GRUB being overly complicated, > and each distro forking GRUB, and also not always keeping it up to > date with upstream, there are many variations in GRUB behavior > possible. So it's not necessarily the case a g

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/28/2015 06:26 PM, Chris Murphy wrote: >> > my system originally came with windows 10. I seem to recall that from >> > what I read, you needed to disable secure boot to install linux & grub.. > That's incorrect, and it's bad advice to continue to propagate. > Assertions is should be disabled s

Re: efibootmgr help

2015-08-28 Thread Chris Murphy
> [2] > https://bugzilla.redhat.com/show_bug.cgi?id=1022316 Actually... https://bugzilla.redhat.com/show_bug.cgi?id=1022316#c13 -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/use

Re: efibootmgr help

2015-08-28 Thread Chris Murphy
On Fri, Aug 28, 2015 at 3:18 PM, Gordon Messmer wrote: > On 08/28/2015 11:30 AM, Paul Cartwright wrote: >>> >>> >Yeah, you will typically have just one system partition. In your >>> >case, it has different directories for the Fedora and Ubuntu shim and >>> >grubx64.efi, and grub.cfg. >> >> but no

Re: efibootmgr help

2015-08-28 Thread Chris Murphy
On Fri, Aug 28, 2015 at 11:33 AM, Paul Cartwright wrote: > On 08/28/2015 01:19 PM, Gordon Messmer wrote: >> >> Have another look. Boot002 and Boot005 are Fedora, and they are >> identical. They identify \EFI\FEDORA\shim.efi on partition 8. >> Notably, they don't refer to a kernel at all. > ok, s

Re: efibootmgr help

2015-08-28 Thread Gordon Messmer
On 08/28/2015 03:22 PM, Paul Cartwright wrote: oh, I get it.. but still I don't get it... /boot/efi is a separate partition.. how can /EFI/ubuntu & /EFI/fedora be different... when they are both under /boot/efi.. In the same way that "/" is a different partition or logical volume for Ubuntu an

Re: efibootmgr help

2015-08-28 Thread Chris Murphy
On Fri, Aug 28, 2015 at 11:03 AM, Paul Cartwright wrote: > On 08/28/2015 12:30 PM, Chris Murphy wrote: >> When UEFI Secure Boot is enabled, which it should be if available, >> especially on a system with Window on it, you need the distro signed >> shim.efi and grubx64.efi on the EFI system partiti

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/28/2015 05:18 PM, Gordon Messmer wrote: >> > > My mistake. > > From your first message, efibootmgr printed: > > Boot0002* Fedora > HD(8,GPT,ac2fc695-5de9-47d0-a19b-01e236404130,0x5ae5d800,0x2f800)/File(\EFI\fedora\shim.efi) > > ... > Boot0004* ubuntu > HD(1,GPT,4cc2fdac-58ea-400c-8ef9-11e1349

Re: efibootmgr help

2015-08-28 Thread Gordon Messmer
On 08/28/2015 11:30 AM, Paul Cartwright wrote: >Yeah, you will typically have just one system partition. In your >case, it has different directories for the Fedora and Ubuntu shim and >grubx64.efi, and grub.cfg. but now I don't see the ubuntu folder, but the fedora folder.. do these folders get

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/28/2015 01:46 PM, Gordon Messmer wrote: >> ok, so UEFI loads grub which loads grub.cfg which knows about the >> different kernels ? > > Essentially, yes. UEFI has its own list, which normally isn't > displayed and is only available with the F12 key. It identifies > different boot loaders (s

Re: efibootmgr help

2015-08-28 Thread Gordon Messmer
On 08/28/2015 10:33 AM, Paul Cartwright wrote: ok, so UEFI loads grub which loads grub.cfg which knows about the different kernels ? Essentially, yes. UEFI has its own list, which normally isn't displayed and is only available with the F12 key. It identifies different boot loaders (such as

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/28/2015 01:19 PM, Gordon Messmer wrote: > > Have another look. Boot002 and Boot005 are Fedora, and they are > identical. They identify \EFI\FEDORA\shim.efi on partition 8. > Notably, they don't refer to a kernel at all. ok, so UEFI loads grub which loads grub.cfg which knows about the diffe

Re: efibootmgr help

2015-08-28 Thread Gordon Messmer
On 08/28/2015 03:02 AM, Paul Cartwright wrote: well it changed now, booting from fedora, the original screen ( before grub?) when it booted ubuntu default, had a line on the screen before anything else happened.. something about booting insecure.. then the grub menu came up. Now that the default

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/28/2015 12:30 PM, Chris Murphy wrote: > When UEFI Secure Boot is enabled, which it should be if available, > especially on a system with Window on it, you need the distro signed > shim.efi and grubx64.efi on the EFI system partition. If you use > grub-install the signed copy is wiped out, and

Re: efibootmgr help

2015-08-28 Thread Chris Murphy
On Fri, Aug 28, 2015 at 4:10 AM, Paul Cartwright wrote: > On 08/28/2015 04:22 AM, Tom H wrote: >> On Thu, Aug 27, 2015 at 6:58 AM, Paul Cartwright >> wrote: >> >> >> grub2-mkconfig works, but grub2-install /dev/sda gives me an error >> grub2-install /dev/sda >> grub2-install: error: /usr/lib/gru

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/28/2015 04:22 AM, Tom H wrote: > On Thu, Aug 27, 2015 at 6:58 AM, Paul Cartwright > wrote: > > > grub2-mkconfig works, but grub2-install /dev/sda gives me an error > grub2-install /dev/sda > grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. > Please specify --target

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/27/2015 11:22 PM, Gordon Messmer wrote: > On 08/27/2015 06:02 PM, Paul Cartwright wrote: >> >> wow, not exactly sure what happened... > > Neither am I, but you've duplicated several of your UEFI boot items. > Fedora is now 2 and 5. Ubuntu is now 4, 8, and 10. I read(Googled) that you can d

Re: efibootmgr help

2015-08-28 Thread Paul Cartwright
On 08/27/2015 11:14 PM, Gordon Messmer wrote: >> not exactly sure which part is UEFI & which is grub, but I will reboot & >> try that... > > UEFI is everything before the grub2 menu, essentially. well it changed now, booting from fedora, the original screen ( before grub?) when it booted ubuntu def

Re: efibootmgr help

2015-08-28 Thread Tom H
On Thu, Aug 27, 2015 at 6:58 AM, Paul Cartwright wrote: > ok, I am running fedora 22, along with ubuntu & Windows 10. a new kernel > got installed last night, and I rebooted, but grub doesn't show it, and > still defaults to the ubuntu OS. I am new to this efibootmgr, and google > is letting me

Re: efibootmgr help

2015-08-27 Thread Gordon Messmer
On 08/27/2015 06:02 PM, Paul Cartwright wrote: wow, not exactly sure what happened... Neither am I, but you've duplicated several of your UEFI boot items. Fedora is now 2 and 5. Ubuntu is now 4, 8, and 10. so when I ran the efibootmgr & changed it to default to fedora, it also used the f

Re: efibootmgr help

2015-08-27 Thread Gordon Messmer
On 08/27/2015 05:44 PM, Paul Cartwright wrote: not exactly sure which part is UEFI & which is grub, but I will reboot & try that... UEFI is everything before the grub2 menu, essentially. I tried booting into ubuntu & running the grub-mkconfig, hoping it would update the grub.cfg, but it still

Re: efibootmgr help

2015-08-27 Thread Paul Cartwright
On 08/27/2015 07:31 PM, Gordon Messmer wrote: > > You could: > # efibootmbr -o 0002,0004,0003,,0001 wow, not exactly sure what happened... I ran that script, using 0009,000C,0004,0003 . when I did the efibootmgr -v, it still showed the existing sequence, 0004,0003. then I rebooted. I was

Re: efibootmgr help

2015-08-27 Thread Paul Cartwright
On 08/27/2015 07:31 PM, Gordon Messmer wrote: > > After the system powers on, it loads and runs the UEFI firmware. The > firmware initializes hardware according to a local configuration, and > then searches the UEFI boot list for the first available boot device. > That list is what efibootmgr list

Re: efibootmgr help

2015-08-27 Thread Gordon Messmer
On 08/27/2015 03:58 AM, Paul Cartwright wrote: ok, I am running fedora 22, along with ubuntu & Windows 10. a new kernel got installed last night, and I rebooted, but grub doesn't show it, and still defaults to the ubuntu OS. I am new to this efibootmgr A few things happen in sequence for Linux

Re: efibootmgr help

2015-08-27 Thread Paul Cartwright
On 08/27/2015 08:37 AM, Pete Travis wrote: > > > efibootmgr acts on the firmware boot menu. The firmware boots grub, > which lives on the efi system partition (It's a file on a vfat > filesystem, not code in an MBR). grub gives you a menu and boots the > kernel. > ubuntu was the last OS installed

Re: efibootmgr help

2015-08-27 Thread Pete Travis
On Aug 27, 2015 5:58 AM, "Paul Cartwright" wrote: > > ok, I am running fedora 22, along with ubuntu & Windows 10. a new kernel > got installed last night, and I rebooted, but grub doesn't show it, and > still defaults to the ubuntu OS. I am new to this efibootmgr, and google > is letting me down..

efibootmgr help

2015-08-27 Thread Paul Cartwright
ok, I am running fedora 22, along with ubuntu & Windows 10. a new kernel got installed last night, and I rebooted, but grub doesn't show it, and still defaults to the ubuntu OS. I am new to this efibootmgr, and google is letting me down.. This is all new to me, and I am having a problem understandi