Ask your questions here.
Post a reply

Re: Compiling UEFI ISO, getting errors.

Mon Feb 23, 2015 11:27 am

I saw that as well.

the standard netinstall iso, the amd64 one on the debian website ( 222mb ISO ), does UEFI build correctly with the latest refracta ? Because i just downloaded that iso and am now in the first initial install stages, I am going to port over all my work to it, i just want to make sure i am not going to run into the same problems again :)

Re: Compiling UEFI ISO, getting errors.

Mon Feb 23, 2015 11:32 am

At this time, refractasnapshot will not build an iso that will boot correctly in uefi (unless one of you playing with this has had success.)

What is it you want to build from the wheezy netinstall? And why? Jessie will go stable pretty soon. (weeks? months?)

Re: Compiling UEFI ISO, getting errors.

Mon Feb 23, 2015 11:36 am

All my distro's are based on either Ubuntu LTS 14.04 or Jessie...

before I found this hybryd ISO i was building on those netinstall iso's. but after debian lost some guys and putting out a lot of faulty packages, i started building on ubuntu 14.04 LTS, used a modified remastersys for that, worked really well. but ive always only build I686 PAE.

Now i want to get back into building debian, and I want to build x64 with UEFI, hence i was asking which ISO is best to use as a base for refracta. the hybrid is a no go it seems. so i am using the netinstall ISO.

Re: Compiling UEFI ISO, getting errors.

Mon Feb 23, 2015 2:20 pm

ok, so i have the standard netiso installed, now trying to build a ISO and getting some errors. any idea how to fix these ?

Code:
ls: cannot access /home/snapshot/*.iso: No such file or directory
sed: can't read /home/work/myfs/home/makulu/.config/geany/geany.conf: No such file or directory
sed: can't read /home/work/myfs/ etc /ssh/sshd_config: No such file or directory
sed: can't read /home/work/myfs/ etc /ssh/sshd_config: No such file or directory
sed: can't read /home/work/myfs/ etc /ssh/sshd_config: No such file or directory
rm: cannot remove ‘/home/work/iso/pkglist*’: No such file or directory
/usr/lib/refractasnapshot/efi-image.sh: 73: /usr/lib/refractasnapshot/efi-image.sh: mkfs.msdos: not found
xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:/home/snapshot/snapshot-20150223_1608.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 24.5g free
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/home/work/boot1'
xorriso : UPDATE : 48 files added in 1 seconds
Added to ISO image: directory '/'='/home/work/iso'
xorriso : UPDATE : 79 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/usr/lib/ISOLINUX/isohdpfx.bin'
xorriso : FAILURE : Cannot find path '/boot/grub/efi.img' in loaded ISO image
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FAILURE
md5sum: /home/snapshot/snapshot-20150223_1608.iso: No such file or directory


if i am seeying this correctly, the problem is this part "xorriso : FAILURE : Cannot find path '/boot/grub/efi.img' in loaded ISO image" .... but i copied over the efi.img from the debian ISO to the boot/grub directory so it is there. Am i missing something somewhere ?

Re: Compiling UEFI ISO, getting errors.

Mon Feb 23, 2015 5:04 pm

Thnx, I will install those and try again. ill let you know how it goes.

Re: Compiling UEFI ISO, getting errors.

Mon Feb 23, 2015 5:06 pm

Code:
/usr/lib/refractasnapshot/efi-image.sh: 73: /usr/lib/refractasnapshot/efi-image.sh: mkfs.msdos: not found

The error indicates that efi-image.sh didn't work, because mkfs.msdos is missing. If you install dosfstools, the script will create efi.img.

At what point did you copy the debian efi.img to your iso directory? If you added it when the script pauses to let you edit the boot menu, your efi.img may have been wiped out, because the efi stuff happens after the pause. That may need to change.

I tried copying the /boot folder from a debian-testing CD-1 and the /live folder from a jessie-sysv amd64 iso to a directory and then rolled it into an iso image. It booted to grub command line in vbox set to efi mode. I played around on the command line trying to get it to boot, but I didn't succeed. At first, I got messages like "linux: command not found".

Problem was that a lot (or all) of the grub modules were not loaded. Spent some time loading them manually, but it still wouldn't work, because it couldn't find a suitable video mode. On top of that, I'm having network problems today, and I can't seem to transfer files between VM and host.
Post a reply