You are not logged in.
I use Archiso to generate an Arch Linux based distro. Yesterday, when I generated a new ISO, when I booted it in QEMU and VirtualBox, the boot drops to the emergency shell after GRUB.
In particular, after GRUB, it shows the following logs error:
:: Mounting '/dev/disk/by-label/ATHENA-OS' to '/run/archiso/bootmnt'
:: Device '/dev/disk/by-label/ATHENA-OS' mounted successfully.
:: Mounting /run/archiso/cowspace/ (tmpfs) filesystem, size=4G...
losetup: /run/archiso/bootmnt/arch/x86_64/airootfs.sfs: failed to set up loop device: Invalid argument
:: Mounting '' to '/run/archiso/airootfs'
ERROR: '' device did not show up after 30 seconds...
Falling back to interactive prompt
You can try to fix the problem manually, log out when you are finished
sh: can't access tty: job control turned off
"airootfs.sfs" exists in "/run/archiso/bootmnt/arch/x86_64/ directory , so I don't understand why it is not working.
And if it could be corrupted, since until yesterday worked, does it mean some Archiso dependency got an update with a bug?
Here the Archiso files I use to generate the ISO: https://github.com/Athena-OS/athena/tree/main/iso
The build script is at: https://github.com/Athena-OS/athena/blo … ild-iso.sh
Last edited by D3vil0p3r (2025-05-19 14:12:43)
Offline
Here the mkarchiso logs:
[mkarchiso] INFO: Validating options...
[mkarchiso] INFO: Validating 'bios.syslinux.mbr': 'memtest86+' is not in the package list. Memmory testing will not be available from syslinux.
[mkarchiso] INFO: Validating 'bios.syslinux.eltorito': 'memtest86+' is not in the package list. Memmory testing will not be available from syslinux.
[mkarchiso] INFO: Validating 'uefi-ia32.grub.esp': 'memtest86+-efi' is not in the package list. Memory testing will not be available from GRUB.
[mkarchiso] INFO: Validating 'uefi-x64.grub.esp': 'memtest86+-efi' is not in the package list. Memory testing will not be available from GRUB.
[mkarchiso] INFO: Validating 'uefi-ia32.grub.eltorito': 'memtest86+-efi' is not in the package list. Memory testing will not be available from GRUB.
[mkarchiso] INFO: Validating 'uefi-x64.grub.eltorito': 'memtest86+-efi' is not in the package list. Memory testing will not be available from GRUB.
[mkarchiso] INFO: Done!
[mkarchiso] INFO: mkarchiso configuration settings
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: /github/home/athena-build
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Build date: 2025-05-19T13:03+0000
[mkarchiso] INFO: Output directory: /github/home/Athena-Out
[mkarchiso] INFO: Current build mode: iso
[mkarchiso] INFO: Build modes: iso
[mkarchiso] INFO: GPG key: None
[mkarchiso] INFO: GPG signer: None
[mkarchiso] INFO: Code signing certificates: None
[mkarchiso] INFO: Profile: /github/home/athena-build
[mkarchiso] INFO: Pacman configuration file: /github/home/athena-build/pacman.conf
[mkarchiso] INFO: Image file name: athenaos-rolling-x86_64.iso
[mkarchiso] INFO: ISO volume label: ATHENA-OS
[mkarchiso] INFO: ISO publisher: Athena OS <https://www.athenaos.org>
[mkarchiso] INFO: ISO application: Athena OS Live/Rescue CD
[mkarchiso] INFO: Boot modes: bios.syslinux.mbr bios.syslinux.eltorito uefi-ia32.grub.esp uefi-x64.grub.esp uefi-ia32.grub.eltorito uefi-x64.grub.eltorito
[mkarchiso] INFO: Packages File: /github/home/athena-build/packages.x86_64
[mkarchiso] INFO: Packages: amd-ucode arch-install-scripts base broadcom-wl-dkms dhcpcd dialog edk2-shell efibootmgr grub inetutils intel-ucode linux-firmware linux-lts linux-lts-headers lvm2 mesa mkinitcpio-archiso mkinitcpio-nfs-utils mkinitcpio-openswap mtools nano net-tools netctl networkmanager network-manager-applet nfs-utils nss-mdns ntp os-prober pipewire pipewire-pulse pv rsync rtl8821cu-morrownr-dkms-git sof-firmware squashfs-tools sudo syslinux testdisk usbutils wireless_tools wireplumber wpa_supplicant xorg-server xorg-xinit network-manager-sstp networkmanager-l2tp networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-strongswan networkmanager-vpnc noto-fonts-emoji ttf-jetbrains-mono ttf-jetbrains-mono-nerd bat espeakup fastfetch git gparted lsd nix nix-init openbsd-netcat orca paru polkit reflector ufw vnstat wget which xclip zoxide chaotic-keyring chaotic-mirrorlist aegis-tui athena-bash athena-config athena-firefox-config athena-graphite-design athena-keyring athena-mirrorlist athena-powershell-config athena-tmux-config athena-vscodium-themes athena-welcome athena-xfce-refined devotio hyperv xf86-video-fbdev open-vm-tools xf86-video-vmware qemu-guest-agent spice-vdagent virtualbox-guest-utils
[mkarchiso] INFO: Copying custom pacman.conf to work directory...
[mkarchiso] INFO: Using pacman CacheDir: /var/cache/pacman/pkg/
[mkarchiso] INFO: Copying custom airootfs files...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Installing packages to '/github/home/athena-build/x86_64/airootfs/'...
==> Creating install root at /github/home/athena-build/x86_64/airootfs
==> Installing packages to /github/home/athena-build/x86_64/airootfs
:: Synchronizing package databases...
<install of all the needed packages>
[mkarchiso] INFO: Done! Packages installed successfully.
[mkarchiso] INFO: Creating version files...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Copying /etc/skel/* to user homes...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Creating a list of installed packages on live-enviroment...
warning: Public keyring not found; have you run 'pacman-key --init'?
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Setting up SYSLINUX for BIOS booting from a disk...
[mkarchiso] INFO: Preparing kernel and initramfs for the ISO 9660 file system...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Done! SYSLINUX set up for BIOS booting from a disk successfully.
[mkarchiso] INFO: Setting up SYSLINUX for BIOS booting from an optical disc...
[mkarchiso] INFO: Done! SYSLINUX set up for BIOS booting from an optical disc successfully.
[mkarchiso] INFO: Creating FAT image of size: 23552 KiB...
mkfs.fat 4.2 (2021-01-31)
cp: warning: source file '/github/home/athena-build/grub/grubenv' specified more than once
cp: warning: source directory '/github/home/athena-build/grub/themes' specified more than once
[mkarchiso] INFO: Done! GRUB set up for UEFI booting successfully.
[mkarchiso] INFO: Done! GRUB set up for UEFI booting successfully.
[mkarchiso] INFO: Preparing an /EFI directory for the ISO 9660 file system...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Preparing an /EFI directory for the ISO 9660 file system...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Cleaning up in pacstrap location...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Creating SquashFS image, this may take some time...
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /github/home/athena-build/iso/arch/x86_64/airootfs.sfs, block size 1048576.
[/ ] 0/34863 0%
[| ] 600/141707 0%
[========\ ] 21200/141707 14%
[========/ ] 21400/141707 15%
[==========\ ] 25300/141707 17%
[===========| ] 29100/141707 20%
[===========- ] 29200/141707 20%
[==========================\ ] 65100/141707 45%
[==========================| ] 65200/141707 46%
[==========================/ ] 65600/141707 46%
[===========================- ] 69300/141707 48%
Unrecognised xattr prefix system.posix_acl_default
Unrecognised xattr prefix system.posix_acl_access
Unrecognised xattr prefix system.posix_acl_default
[======================================================| ] 134800/141707 95%
[=========================================================\] 141707/141707 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 1048576
compressed data, compressed metadata, compressed fragments,
compressed xattrs, compressed ids
duplicates are removed
Filesystem size 1688438.26 Kbytes (1648.87 Mbytes)
34.58% of uncompressed filesystem size (4882269.77 Kbytes)
Inode table size 1449780 bytes (1415.80 Kbytes)
20.64% of uncompressed inode table size (7024473 bytes)
Directory table size 1915854 bytes (1870.95 Kbytes)
35.32% of uncompressed directory table size (5424951 bytes)
Xattr table size 106 bytes (0.10 Kbytes)
66.25% of uncompressed xattr table size (160 bytes)
Number of duplicate files found 19798
Number of inodes 200719
Number of files 148756
Number of fragments 2311
Number of symbolic links 39881
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 12082
Number of hard-links 2107
Number of ids (unique uids + gids) 22
Number of uids 11
root (0)
unknown (948)
unknown (1000)
unknown (968)
unknown (965)
tss (973)
unknown (34)
unknown (87)
unknown (32)
systemd-coredump (979)
systemd-timesync (974)
Number of gids 20
root (0)
uuidd (972)
network (90)
unknown (102)
unknown (1000)
ftp (11)
systemd-journal (982)
tty (5)
dbus (81)
utmp (997)
games (50)
unknown (968)
unknown (965)
tss (973)
unknown (34)
unknown (32)
systemd-coredump (979)
systemd-timesync (974)
systemd-oom (977)
rfkill (981)
[mkarchiso] INFO: Creating checksum file for self-test...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Creating ISO image...
xorriso 1.5.6 : RockRidge filesystem manipulator, libburnia project.
xorriso : NOTE : Environment variable SOURCE_DATE_EPOCH encountered with value 1747659820
Drive current: -outdev 'stdio:/github/home/Athena-Out/athenaos-rolling-x86_64.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 14.4g free
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/github/home/athena-build/iso'
xorriso : UPDATE : 137 files added in 1 seconds
xorriso : UPDATE : 137 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/github/home/athena-build/iso/boot/syslinux/isohdpfx.bin'
libisofs: NOTE : Automatically adjusted MBR geometry to 1023/125/32
libisofs: NOTE : Aligned image size to cylinder size by 74 blocks
xorriso : UPDATE : 6.47% done
xorriso : UPDATE : 33.30% done
xorriso : UPDATE : 91.39% done
ISO image produced: 1034792 sectors
Written to medium : 1034792 sectors at LBA 0
Writing to 'stdio:/github/home/Athena-Out/athenaos-rolling-x86_64.iso' completed successfully.
[mkarchiso] INFO: Done!
Last edited by D3vil0p3r (2025-05-19 13:53:45)
Offline
After several tests, the problem is caused by the kernel. When I install "linux-lts", it produces that error. If I install "linux" no more.
Offline