Re: Help with debian-cd's UEFI boot on a Debian derivative
On Tue, 08 Jul 2014, Steve McIntyre wrote:
> >And I build the image with "make official_images". The build seems to work fine
> >but the resulting image doesn't boot with UEFI. I get a grub screen but
> >whenever I select an entry, grub tells me:
> >> error: unknown command `linux'.
> >> error: unknown command `initrd'.
> >>
> >> Press any key to continue...
>
> That suggests a problem in the grub search path for loading modules, maybe?
Possibly, but where is that search path defined?
I didn't find any reference to something like that in grub.cfg and we use the
exact same grub binary than wheezy.
> >--- debian-7.0-amd64-NETINST-1.filelist 2014-07-08 16:19:24.206922498 +0200
> >+++ kali-7.0-amd64-NETINST-1.filelist 2014-07-08 16:19:47.834925117 +0200
> >@@ -41,6 +41,7 @@
> > /mnt/boot/grub/x86_64-efi/efi_uga.mod
> > /mnt/boot/grub/x86_64-efi/elf.mod
> > /mnt/boot/grub/x86_64-efi/ext2.mod
> >+/mnt/boot/grub/x86_64-efi/extcmd.mod
> > /mnt/boot/grub/x86_64-efi/fat.mod
> > /mnt/boot/grub/x86_64-efi/fixvideo.mod
> > /mnt/boot/grub/x86_64-efi/font.mod
> >@@ -105,6 +106,7 @@
> > /mnt/boot/grub/x86_64-efi/msdospart.mod
> > /mnt/boot/grub/x86_64-efi/multiboot2.mod
> > /mnt/boot/grub/x86_64-efi/multiboot.mod
> >+/mnt/boot/grub/x86_64-efi/normal.mod
> > /mnt/boot/grub/x86_64-efi/ntfscomp.mod
> > /mnt/boot/grub/x86_64-efi/ntfs.mod
> > /mnt/boot/grub/x86_64-efi/ohci.mod
>
> Hmm. I'd be worried about grub changes here. What happens if you use
> the Debian grub package instead?
We use the Debian grub package unchanged. What changed here is
that we have rebuilt debian-installer images which picked those
supplementary modules.
Those files are in the official Debian grub package in wheezy:
$ dpkg -c /ext/mirror/debian/pool/main/g/grub2/grub-efi-amd64-bin_1.99-27+deb7u2_amd64.deb |grep -E 'normal|extcmd'
-rw-r--r-- root/root 7144 2013-07-03 05:39 ./usr/lib/grub/x86_64-efi/extcmd.mod
-rw-r--r-- root/root 164968 2013-07-03 05:39 ./usr/lib/grub/x86_64-efi/normal.mod
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Discover the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/
Reply to: