Closed tebowy closed 9 years ago
Maybe @shlevy knows about this?
Am I suposed to mail him?
No, I'll take a look some time this week
Any news?
I'd be keen to get this working too.
You have this efi.img thing, which if loop-mounted has the needed files. To get usb drive bootable I had to use unetbootin, then copy stuff from efi.img to the drive and fix initrd params because it failed to find root partition.
So as I note in the commit above, this now mostly works in nixpkgs master. The "mostly" is because by default the initrd can't find the rootfs, since unetbootin doesn't create the partition (where it could label it) and it doesn't know to modify gummiboot menu entries (it does copy grub entries and set root to use uuids for the syslinux boot though). The best solution for now is to press 'e' on the gummiboot command line and set the root= to the label or uuid or whatever of your thumb drive, which is not optimal but is probably the best we can do unless we either a) provide images to dd over the partition (which is what arch does) or b) modify unetbootin to know how to update gummiboot's entries. Neither of those seems super-appealing to me.
HW: Lenovo Y580
Description: All images avaiable at http://hydra.nixos.org/job/nixos/trunk/iso_efi.x86_64-linux doesn't have
efi
directory at the top level. I am not sure whether this is in accordance to UEFI spec, however, all efi images I've seen so far have this directory:When I
dd
image on usb and try to select it from boot menu, system says there is nothing bootable on disk.Replication:
dd
it on USB driveUSB HDD
instert bootable disk and press any key
Expected result:
Workaround: None
Additional Info: My UEFi doesn't support Secure Boot, ergo this isn't factor here