Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52076 - [archiso] EFI error during image creation

Attached to Project: Arch Linux
Opened by Jack Straw (jackstraw) - Wednesday, 07 December 2016, 20:37 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 07 December 2016, 22:14 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This is occuring on my Lenovo Thinkpad X230 (Arch install is about 3 weeks old), and also on an Arch install in a VirtualBox VM on a different PC running Windows 7.

I receive the following error that breaks the image creation process completely. I've been unable to create any releng images since 12/6 due to this error, even when copied fresh from "/usr/share/archiso/configs/releng/*" and no modifications:

----

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img

==> Starting build: 4.8.12-2-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [memdisk]
-> Running build hook: [archiso_shutdown]
-> Running build hook: [archiso]
-> Running build hook: [archiso_loop_mnt]
-> Running build hook: [archiso_pxe_common]
-> Running build hook: [archiso_pxe_nbd]
-> Running build hook: [archiso_pxe_http]
-> Running build hook: [archiso_pxe_nfs]
-> Running build hook: [archiso_kms]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
-> Running build hook: [pcmcia]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
==> Generating module dependencies
==> Creating xz-compressed initcpio image: /boot/archiso.img
==> Image generation successful
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21322 100 21322 0 0 15630 0 0:00:01 0:00:01 --:--:-- 15631

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: run
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Run command: /root/customize_airootfs.sh

Generating locales...
en_US.UTF-8... done
Generation complete.
Created symlink /etc/systemd/system/multi-user.target.wants/pacman-init.service -> /etc/systemd/system/pacman-init.service.
Created symlink /etc/systemd/system/multi-user.target.wants/choose-mirror.service -> /etc/systemd/system/choose-mirror.service.
Created symlink /etc/systemd/system/default.target -> /usr/lib/systemd/system/multi-user.target.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 887k 100 887k 0 0 502k 0 0:00:01 0:00:01 --:--:-- 502k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 753k 100 753k 0 0 451k 0 0:00:01 0:00:01 --:--:-- 451k
mkfs.fat 4.0 (2016-05-06)
cp: error writing 'work/efiboot/EFI/archiso/intel_ucode.img': No space left on device



Steps to reproduce:

I've been following the basic steps here: https://wiki.archlinux.org/index.php/Archiso#Build_the_ISO

1) Install archiso (if needed)
2) Create a directory and copy to it the contents of /usr/share/archiso/configs/releng/*
3) Run "sudo ./build.sh -v" if not root, and wait for the error.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Wednesday, 07 December 2016, 22:14 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#52075 
Comment by Jack Straw (jackstraw) - Wednesday, 07 December 2016, 21:28 GMT
This was fixed by adjusting line 172 of build.sh from:

truncate -s 40M ${work_dir}/iso/EFI/archiso/efiboot.img

to:

truncate -s 45M ${work_dir}/iso/EFI/archiso/efiboot.img

Loading...