On Tue, Jul 08, 2014 at 05:13:44PM +0200, Raphael Hertzog wrote: >Hello, > >I'm trying to use debian-cd to build an image for a Debian derivative (aka >Kali Linux). I'm using this version of debian-cd: >http://http.kali.org/pool/main/d/debian-cd/debian-cd_3.1.15kali1_all.deb > >It's plain debian-cd 3.1.15 with just a few supplementary symlinks "kali" >pointing to "wheezy" in tasks/, data/ and tools/boot/.
Hmmm, OK. >Now I'm trying to generate images with those changes to CONF.sh: > # Name of the distribution for the image filename (Defaults to 'debian') >-# export CDNAME=debian >+export CDNAME=kali > > # Building wheezy cd set ... >-export CODENAME=wheezy >+export CODENAME=kali >[...] >-export MIRROR=/srv/mirror/debian >+export MIRROR=/ext/mirror/kali >[...] >-# export NONFREE=1 >+export NONFREE=1 >[...] >-# export FORCE_FIRMWARE=1 >+export FORCE_FIRMWARE=1 >[...] >-export DISKTYPE=CD >+export DISKTYPE=NETINST >[...] >-#export MAXCDS=1 >+export MAXCDS=1 >[...] >-#export OMIT_MANUAL=1 >+export OMIT_MANUAL=1 >[...] >-#export OMIT_DOC_TOOLS=1 >+export OMIT_DOC_TOOLS=1 > >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? >Yet the file structure seems exactly the same than for an official Debian ISO >image. >And building an official Debian images in the same environment yields a fully >working >ISO image. So I'm wondering what I can have missed. Do you have an idea of >what could >be wrong ? > >Note that Kali rebuilds debian-installer images with newer snapshots of d-i >because we track >newer kernels as well. But we have the same grub packages. > >Here's the possibly relevant changes in the diff comparing the file listing of >both >images: >--- 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? -- Steve McIntyre, Cambridge, UK. [email protected] "C++ ate my sanity" -- Jon Rabone -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

