On Mon, Apr 7, 2014 at 5:16 PM, Adam Williamson <awilliam@xxxxxxxxxx> wrote: > On Thu, 2014-04-03 at 19:44 -0700, Andrew Lutomirski wrote: >> On Apr 3, 2014 7:18 PM, "Reindl Harald" <h.reindl@xxxxxxxxxxxxx> wrote: >> > >> > >> > >> > Am 04.04.2014 03:08, schrieb Andrew Lutomirski: >> > > Once upon a time (Fedora 15? -- I've lost track), it was possible to reinstall the bootloader using grub-install. >> > >> > besides that it is the wrong list: >> >> What's the right list? >> >> > grub2-install >> >> $ grub2-install >> /usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/sda1. >> Check your device.map. >> >> This is with efi. WTF is a GRUB drive? Will this set up the boot > > You don't want to be doing any kind of grub(2)-install if you actually > have a native UEFI install. That's not how UEFI booting works. But it's > difficult to divine from your emails how your system is actually set up > at all. Sorry for the delay -- I was out of town. > > Can you please answer the following? > > 1. What is the output of 'efibootmgr -v'? $ sudo efibootmgr -v BootCurrent: 0008 Timeout: 1 seconds BootOrder: 0003,0008,0000,0001 Boot0000* SATA2:PLDS DVD+/-RW DH-16A6S BIOS(10,0,00) Boot0001* SATA1:INTEL SSDSC2BB600G4 BIOS(11,0,00) Boot0003* grub HD(1,800,40000,75f192ff-2a82-4e4e-b83c-c41f3bb39847)File(\EFI\grub\grubx64.efi) Boot0008* UEFI: Built-in EFI Shell Vendor(5023b95c-db26-429b-a648-bd47664c8012,)AMBO Boot000A* Hard Drive BIOS(2,0,00)AMGOAMNO........o.I.N.T.E.L. .S.S.D.S.C.2.B.B.6.0.0.G.4............ ........A...................... .....>..Gd-.;.A..MQ..L.T.B.L.W.3.3.4.3.A.0.F.W.0.6.T.0.N.G. . ... ...AMBO This is definitely screwed up. I can't fix it because any attempt to change my efi variables results in an OOPS. I can't report the OOPS with abrt because of a correct but inconsequential kernel taint due to #906568, which is probably fixed in 3.14. So I was going to wait for the 3.14 rebase or perhaps boot a custom kernel to see what helps. I haven't had time for that yet. > 2. Do you have a /boot/efi/EFI/fedora/grub.cfg ? No. But I have a /boot/efi/EFI/redhat/grub.conf, attached. /etc/grub.conf is a symlink to it. That file, in turn, contains this: device (hd1,2) HD(1,800,40000,49d25af2-6f79-4970-8b9e-dc3ccf762c2c) which I had to fix, once I figured out what UUID went there. This file has been abused over the years by grubby. I like Debian/Ubuntu's way of handling this *much* better. > 3. Do you have a /boot/grub/grub.conf ? No. > 4. Do you have a /boot/grub2/grub.cfg ? No. The immediate cause of my need to reconfigure the bootloader was that I changed hard disks. Imaging the partition table and fs superblocks directly causes all manner of problems because the UUIDs will be the same if I have both disks in the machine at the same time. So I copied files, and at first all I got was a grub prompt. It's currently mostly working, modulo the efibootbgr issue. But I don't actually know what to type into efibootmgr to fix it, the OOPS notwithstanding. I can probably figure it out once the OOPS is fixed. My point, though, is that it would be great if either the wiki had good instructions or, even better, if anaconda's bootloader installation process were factored out into a command I could run. --Andy
# grub.conf generated by anaconda # Note that you do not have to rerun grub after making changes to this file. # NOTICE: You have a /boot partition. This means that all kernel and # initrd paths are relative to /boot, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/sda3 # initrd /initrd-[generic-]version.img boot=/dev/sda1 device (hd1,2) HD(1,800,40000,49d25af2-6f79-4970-8b9e-dc3ccf762c2c) default=0 timeout=5 splashimage=(hd1,2)/grub/splash.xpm.gz hiddenmenu title Fedora (3.13.8-200.fc20.x86_64) 20 (Heisenbug) root (hd1,2) kernel /vmlinuz-3.13.8-200.fc20.x86_64 rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto_2014/root KEYTABLE=us rd.luks.uuid=luks-1dd64d38-40c0-4e20-ad67-aa2590991023 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.13.8-200.fc20.x86_64.img title Fedora (3.13.7-200.fc20.x86_64) 20 (Heisenbug) root (hd1,2) kernel /vmlinuz-3.13.7-200.fc20.x86_64 rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto_2014/root KEYTABLE=us rd.luks.uuid=luks-1dd64d38-40c0-4e20-ad67-aa2590991023 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.13.7-200.fc20.x86_64.img title Fedora (3.14.0-rc7+) 20 (Heisenbug) root (hd1,2) kernel /vmlinuz-3.14.0-rc7+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.14.0-rc7+.img title Fedora (3.14.0-rc2+) 20 (Heisenbug) root (hd1,2) kernel /vmlinuz-3.14.0-rc2+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.14.0-rc2+.img title Fedora (3.14.0-rc2-ama+) 20 (Heisenbug) root (hd1,2) kernel /vmlinuz-3.14.0-rc2-ama+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.14.0-rc2-ama+.img title Fedora (3.12.0) 19 (Schrödinger’s Cat) root (hd1,2) kernel /vmlinuz-3.12.0 rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.12.0.img title Fedora (3.11.2+) 19 (Schrödinger’s Cat) root (hd1,2) kernel /vmlinuz-3.11.2+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.11.2+.img title Fedora (3.11.0-rc5+) 19 (Schrödinger’s Cat) root (hd1,2) kernel /vmlinuz-3.11.0-rc5+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.11.0-rc5+.img title Fedora 19 Rescue 9e3d4b6532ff41e1ab40d6b4e5609907 (3.9.9-302.fc19.x86_64) root (hd1,2) kernel /vmlinuz-0-rescue-9e3d4b6532ff41e1ab40d6b4e5609907 rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-0-rescue-9e3d4b6532ff41e1ab40d6b4e5609907.img title Fedora (3.9.7+) root (hd1,2) kernel /vmlinuz-3.9.7+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.9.7+.img title Fedora (3.9.4+) root (hd1,2) kernel /vmlinuz-3.9.4+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.9.4+.img title Fedora (3.9.2+) root (hd1,2) kernel /vmlinuz-3.9.2+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.9.2+.img title Fedora (3.9.0+) root (hd1,2) kernel /vmlinuz-3.9.0+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.9.0+.img title Fedora (3.9.0) root (hd1,2) kernel /vmlinuz-3.9.0 rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.9.0.img title Fedora (3.8.0-rc7+) root (hd1,2) kernel /vmlinuz-3.8.0-rc7+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.8.0-rc7+.img title Fedora (3.7.0-rc3+) root (hd1,2) kernel /vmlinuz-3.7.0-rc3+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.7.0-rc3+.img title Fedora (3.7.0-rc3-devel+) root (hd1,2) kernel /vmlinuz-3.7.0-rc3-devel+ rd.md=0 rd.dm=0 rd.lvm.lv=vg_amaluto/root KEYTABLE=us rd.luks.uuid=luks-cd5b520b-745e-4a9b-bebf-d9f094487d20 SYSFONT=True ro root=/dev/mapper/vg_amaluto_2014-root LANG=en_US.UTF-8 rhgb quiet initrd /initramfs-3.7.0-rc3-devel+.img
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct