You are not logged in.

#1 2016-06-10 13:37:42

cawest1221
Member
Registered: 2013-07-14
Posts: 4

Archiso made iso fails to boot

I installed archiso-git and following the Archiso wiki I tried using releng and basline for building the iso. When I try to boot the iso using virtualbox I get the following message:

...
:: running hook [archiso_pxenfs]
:: Mounting '/dev/disk/by-label/ARCH_201606' to '/run/archiso/bootmnt'
:: Device '/dev/disk/by-label/ARCH_201606' mounted successfully.
:: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=256M...
:: Mounting '/dev/loop0' to '/run/archiso/airootfs'
[      5.581018] squashfs: SQUASHFS error: Filesystem uses "lzma" compression. This is not supported
mount: wrong fs type, bad option, bad superblock on /dev/loop0, 
             missing codepage or helper program, other other error

             In some cases useful info is found in syslog - try
             dmesg | tail or so 

ERROR: 'Failed to mount /dev/loop0'
     Failing back to interactive prompt
     You can try to fix the problem manually, lout of when you  are finished
sh: can't access tty; job control turned off
[rootfs ]#

Any help is appreciated, thanks.

Last edited by cawest1221 (2016-06-10 13:38:10)

Offline

#2 2016-06-10 17:35:47

alex.theoto
Member
From: Athens Greece
Registered: 2014-11-30
Posts: 307

Re: Archiso made iso fails to boot

If you download the .iso from the download site can run?

Last edited by alex.theoto (2016-06-10 17:36:57)

Offline

#3 2016-06-10 17:40:02

cawest1221
Member
Registered: 2013-07-14
Posts: 4

Re: Archiso made iso fails to boot

Yes I am able to run the iso from the download page

Offline

#4 2016-06-10 17:47:34

alex.theoto
Member
From: Athens Greece
Registered: 2014-11-30
Posts: 307

Re: Archiso made iso fails to boot

Is your problem solved?

Offline

#5 2016-06-10 17:49:30

cawest1221
Member
Registered: 2013-07-14
Posts: 4

Re: Archiso made iso fails to boot

No, I can boot the iso from the download page, but I cannot boot iso's that I create myself with archiso. I get the error I posted above using the baseline config, which in theory shouldn't need any modifications.

Offline

#6 2016-06-11 10:47:49

mrshadowtux
Member
From: Düsseldorf, Germany
Registered: 2016-06-10
Posts: 2
Website

Re: Archiso made iso fails to boot

I tried it with ArchISO/Releng some time ago and it booted fine. According to the message, your squashfs is compressed with lzma. Have you changed anything according to the compression? Also it would be very interesting to see the complete output of the build script.

Offline

#7 2016-06-11 13:32:39

cawest1221
Member
Registered: 2013-07-14
Posts: 4

Re: Archiso made iso fails to boot

Here is the output of using the baseline config. I can also upload the releng if you prefer. I haven't changed anything with compression.

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   init
[mkarchiso] INFO:              Architecture:   x86_64
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:        Pacman config file:   /etc/pacman.conf

[mkarchiso] INFO: Installing packages to 'work/airootfs/'...
==> Creating install root at work/airootfs
==> Installing packages to work/airootfs
:: Synchronizing package databases...
downloading core.db...
downloading extra.db...
downloading community.db...
downloading multilib.db...
downloading archstrike.db...
downloading archstrike-testing.db...
:: There are 50 members in group base:
:: Repository core
   1) bash  2) bzip2  3) coreutils  4) cryptsetup  5) device-mapper  6) dhcpcd  7) diffutils  8) e2fsprogs  9) file  10) filesystem  11) findutils  12) gawk  13) gcc-libs  14) gettext  15) glibc  16) grep  17) gzip  18) inetutils  19) iproute2  20) iputils  21) jfsutils  22) less  23) licenses  24) linux  25) logrotate  26) lvm2  27) man-db  28) man-pages  29) mdadm  30) nano  31) netctl  32) pacman  33) pciutils  34) pcmciautils  35) perl  36) procps-ng  37) psmisc  38) reiserfsprogs  39) s-nail  40) sed  41) shadow  42) sysfsutils  43) systemd-sysvcompat  44) tar  45) texinfo  46) usbutils  47) util-linux  48) vi  49) which  50) xfsprogs

Enter a selection (default=all): 
resolving dependencies...
looking for conflicting packages...

Packages (127) acl-2.2.52-2  archlinux-keyring-20160402-1  attr-2.4.47-1  ca-certificates-20160507-1  ca-certificates-cacert-20140824-3  ca-certificates-mozilla-3.24-1  ca-certificates-utils-20160507-1  cracklib-2.9.6-1  curl-7.49.1-1  db-5.3.28-3  dbus-1.10.8-1  expat-2.1.1-3  gdbm-1.11-1  glib2-2.48.1-1  gmp-6.1.0-4  gnupg-2.1.12-2  gnutls-3.4.13-1  gpgme-1.6.0-2  groff-1.22.3-6  hwids-20160306-1  iana-etc-20160513-1  iptables-1.6.0-1  kbd-2.0.3-1  keyutils-1.5.9-1  kmod-22-1  krb5-1.13.4-1  libaio-0.3.110-1  libarchive-3.1.2-8  libassuan-2.4.2-2  libcap-2.25-1  libdbus-1.10.8-1  libelf-0.166-1  libffi-3.2.1-1  libgcrypt-1.7.0-2  libgpg-error-1.22-1  libidn-1.32-1  libksba-1.3.4-1  libldap-2.4.44-2  libmnl-1.0.3-2  libnftnl-1.0.6-1  libpipeline-1.4.1-1  libsasl-2.1.26-7  libseccomp-2.3.1-1  libssh2-1.7.0-2  libsystemd-230-3  libtasn1-4.8-2  libtirpc-1.0.1-2  libunistring-0.9.6-1  libusb-1.0.20-1  libutil-linux-2.28-1  linux-api-headers-4.5.5-1  linux-firmware-20160516.80d463b-1  lz4-131-1  lzo-2.09-1  mkinitcpio-19-1  mkinitcpio-busybox-1.24.1-1  mpfr-3.1.4.p1-1  ncurses-6.0-4  nettle-3.2-2  npth-1.2-1  openresolv-3.8.1-1  openssl-1.0.2.h-1  p11-kit-0.23.2-1  pacman-mirrorlist-20160610-1  pam-1.2.1-3  pambase-20130928-1  pcre-8.38-3  pinentry-0.9.7-2  popt-1.16-8  readline-6.3.008-3  sqlite-3.13.0-1  systemd-230-3  thin-provisioning-tools-0.6.1-2  tzdata-2016d-1  xz-5.2.2-1  zlib-1.2.8-4  bash-4.3.042-4  bzip2-1.0.6-5  coreutils-8.25-2  cryptsetup-1.7.1-1  device-mapper-2.02.154-3  dhcpcd-6.11.0-2  diffutils-3.3-3  e2fsprogs-1.42.13-1  file-5.27-1  filesystem-2015.09-1  findutils-4.6.0-1  gawk-4.1.3-1  gcc-libs-6.1.1-1  gettext-0.19.7-1  glibc-2.23-4  grep-2.25-2  gzip-1.8-2  inetutils-1.9.4-2  iproute2-4.5.0-2  iputils-20160308.0db72a4-1  jfsutils-1.1.15-4  less-481-2  licenses-20140629-1  linux-4.6.2-1  logrotate-3.9.2-1  lvm2-2.02.154-3  man-db-2.7.5-2  man-pages-4.06-1  mdadm-3.4-1  nano-2.5.3-2  netctl-1.11-1  pacman-5.0.1-4  pciutils-3.5.1-1  pcmciautils-018-7  perl-5.24.0-1  procps-ng-3.3.11-2  psmisc-22.21-3  reiserfsprogs-3.6.24-1  s-nail-14.8.8-1  sed-4.2.2-4  shadow-4.2.1-3  sysfsutils-2.1.0-9  syslinux-6.03-6  systemd-sysvcompat-230-3  tar-1.29-1  texinfo-6.1-4  usbutils-008-1  util-linux-2.28-1  vi-1:070224-2  which-2.21-2  xfsprogs-4.5.0-1

Total Installed Size:  624.48 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing linux-api-headers...
installing tzdata...
installing iana-etc...
installing filesystem...
installing glibc...
installing gcc-libs...
installing ncurses...
installing readline...
installing bash...
Optional dependencies for bash
    bash-completion: for tab completion
installing bzip2...
installing attr...
installing acl...
installing gmp...
installing libcap...
installing gdbm...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing db...
installing perl...
installing openssl...
Optional dependencies for openssl
    ca-certificates [pending]
installing coreutils...
installing libgpg-error...
installing libgcrypt...
installing lz4...
installing xz...
installing libsystemd...
installing libdbus...
installing expat...
installing dbus...
Optional dependencies for dbus
    libx11: dbus-launch support
installing libmnl...
installing libnftnl...
installing iptables...
installing zlib...
installing cracklib...
installing libutil-linux...
installing e2fsprogs...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing libsasl...
installing libldap...
installing keyutils...
installing krb5...
installing libtirpc...
installing pambase...
installing pam...
installing kbd...
installing kmod...
installing hwids...
installing pcre...
installing less...
installing gzip...
installing texinfo...
installing libidn...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing libelf...
installing libseccomp...
installing shadow...
installing util-linux...
Optional dependencies for util-linux
    python: python bindings to libmount
installing systemd...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Initializing machine ID from random generator.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    cryptsetup: required for encrypted block devices [pending]
    libmicrohttpd: remote journald capabilities
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries [pending]
    polkit: allow administration as unprivileged user
installing device-mapper...
installing popt...
installing cryptsetup...
installing dhcpcd...
Optional dependencies for dhcpcd
    openresolv: resolvconf support [pending]
installing diffutils...
installing file...
installing findutils...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing mpfr...
installing gawk...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing libffi...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing glib2...
Optional dependencies for glib2
    python: for gdbus-codegen and gtester-report
    libelf: gresource inspection tool [installed]
installing libunistring...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing gettext...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Optional dependencies for gettext
    git: for autopoint infrastructure updates
installing grep...
installing inetutils...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing iproute2...
Optional dependencies for iproute2
    linux-atm: ATM support
installing sysfsutils...
installing iputils...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Optional dependencies for iputils
    xinetd: for tftpd
installing jfsutils...
installing licenses...
installing linux-firmware...
installing mkinitcpio-busybox...
installing lzo...
installing libarchive...
installing mkinitcpio...
Optional dependencies for mkinitcpio
    xz: Use lzma or xz compression for the initramfs image [installed]
    bzip2: Use bzip2 compression for the initramfs image [installed]
    lzop: Use lzo compression for the initramfs image
    lz4: Use lz4 compression for the initramfs image [installed]
    mkinitcpio-nfs-utils: Support for root filesystem on NFS
installing linux...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
==> Starting build: 4.6.2-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
bsdcpio: Failed to set default locale
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
==> Starting build: 4.6.2-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
bsdcpio: Failed to set default locale
==> Image generation successful
Optional dependencies for linux
    crda: to set the correct wireless channels of your country
installing logrotate...
installing libaio...
installing thin-provisioning-tools...
installing lvm2...
installing groff...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Optional dependencies for groff
    netpbm: for use together with man -H command interaction in browsers
    psutils: for use together with man -H command interaction in browsers
    libxaw: for gxditview
installing libpipeline...
installing man-db...
Optional dependencies for man-db
    gzip [installed]
installing man-pages...
installing mdadm...
installing nano...
installing openresolv...
installing netctl...
Optional dependencies for netctl
    dialog: for the menu based wifi assistant
    dhclient: for DHCP support (or dhcpcd)
    dhcpcd: for DHCP support (or dhclient) [installed]
    wpa_supplicant: for wireless networking support
    ifplugd: for automatic wired connections through netctl-ifplugd
    wpa_actiond: for automatic wireless connections through netctl-auto
    ppp: for PPP connections
    openvswitch: for Open vSwitch connections
installing libtasn1...
installing p11-kit...
installing ca-certificates-utils...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing ca-certificates-mozilla...
installing ca-certificates-cacert...
installing ca-certificates...
installing libssh2...
installing curl...
installing npth...
installing libksba...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing libassuan...
installing pinentry...
Optional dependencies for pinentry
    gtk2: gtk2 backend
    qt5-base: qt backend
    gcr: gnome3 backend
installing nettle...
installing gnutls...
Optional dependencies for gnutls
    guile: for use with Guile bindings
installing sqlite...
installing gnupg...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Optional dependencies for gnupg
    libldap: gpg2keys_ldap [installed]
    libusb-compat: scdaemon
installing gpgme...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing pacman-mirrorlist...
installing archlinux-keyring...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
installing pacman...
installing pciutils...
installing pcmciautils...
installing procps-ng...
installing psmisc...
installing reiserfsprogs...
installing s-nail...
Optional dependencies for s-nail
    smtp-forwarder: for sending mail
installing sed...
installing systemd-sysvcompat...
installing tar...
installing libusb...
installing usbutils...
Optional dependencies for usbutils
    python2: for lsusb.py usage
    coreutils: for lsusb.py usage [installed]
installing vi...
Optional dependencies for vi
    s-nail: used by the preserve command for notification [installed]
installing which...
installing xfsprogs...
installing syslinux...
/usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

==> For setting up Syslinux BIOS using the syslinux-install_update script follow
    https://wiki.archlinux.org/index.php/Syslinux#Automatic_Install
Optional dependencies for syslinux
    perl-passwd-md5: For md5pass
    perl-digest-sha1: For sha1pass
    mtools: For mkdiskimage and syslinux support
    gptfdisk: For GPT support
    util-linux: For isohybrid [installed]
    efibootmgr: For EFI support
    dosfstools: For EFI support
:: Running post-transaction hooks...
(1/4) Updating manpage index...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
mandb: can't set the locale; make sure $LC_* and $LANG are correct
(2/4) Updating the info directory file...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
(3/4) Updating udev Hardware Database...
(4/4) Rebuilding certificate stores...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
[mkarchiso] INFO: Packages installed successfully!

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   run
[mkarchiso] INFO:              Architecture:   x86_64
[mkarchiso] INFO:         Working directory:   work
[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.6.2-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [archiso]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/archiso.img
==> Image generation successful

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   prepare
[mkarchiso] INFO:              Architecture:   x86_64
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch

[mkarchiso] INFO: Cleaning up what we can on airootfs...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Creating SquashFS image, this may take some time...
Parallel mksquashfs: Using 8 processors
Creating 4.0 filesystem on work/iso/arch/x86_64/airootfs.sfs, block size 131072.

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 256076.39 Kbytes (250.07 Mbytes)
	39.53% of uncompressed filesystem size (647852.78 Kbytes)
Inode table size 281596 bytes (275.00 Kbytes)
	23.69% of uncompressed inode table size (1188892 bytes)
Directory table size 332322 bytes (324.53 Kbytes)
	41.37% of uncompressed directory table size (803353 bytes)
Xattr table size 78 bytes (0.08 Kbytes)
	97.50% of uncompressed xattr table size (80 bytes)
Number of duplicate files found 1810
Number of inodes 33640
Number of files 27243
Number of fragments 1981
Number of symbolic links  3818
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 2579
Number of ids (unique uids + gids) 7
Number of uids 1
	root (0)
Number of gids 7
	root (0)
	ftp (11)
	tty (5)
	dbus (81)
	games (50)
	systemd-journal-upload (999)
	systemd-journal (190)
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Creating checksum file for self-test...
[mkarchiso] INFO: Done!

[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO:                   Command:   iso
[mkarchiso] INFO:              Architecture:   x86_64
[mkarchiso] INFO:         Working directory:   work
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:                Image name:   archlinux-2016.06.11-x86_64.iso
[mkarchiso] INFO:                Disk label:   ARCH_201606
[mkarchiso] INFO:            Disk publisher:   Arch Linux <http://www.archlinux.org>
[mkarchiso] INFO:          Disk application:   Arch Linux Live/Rescue CD

[mkarchiso] INFO: Creating ISO image...
[mkarchiso] INFO: Done! | 275M out/archlinux-2016.06.11-x86_64.iso

Offline

Board footer

Powered by FluxBB