Open Abh15h3k opened 4 years ago
Please give detail about the Ventoy version? Legacy BIOS or UEFI? archiso name? I tested archlinux-2020.05.01-x86_64.iso in my laptop (legacy+UEFI) and it worked fine. When you drop into the shell, please run cat /ventoy/log and send me the log, thank you.
Ventoy Version: 1.0.0.9 UEFI iso: archlinux-2020.04.01-x86_64.iso
there is no /ventoy when i press F1 to enable memdisk and select the iso.
EDIT: same issue with archlinux-2020.05.01-x86_64.iso
I've updated to 1.0.10-1 and same issue.
Just to clarify here are the steps im following
Hi, F1 memdisk mode is only for Live system. So archlinux-2020.05.01-x86_64.iso can not use memdisk mode.
"Waiting 30 seconds for device /dev/disk/by-label/ARCHLINUX..." This error still exist when you use normal boot (without F1) ?
Hi, F1 memdisk mode is only for Live system. So archlinux-2020.05.01-x86_64.iso can not use memdisk mode.
Oh ok
"Waiting 30 seconds for device /dev/disk/by-label/ARCHLINUX..." This error still exist when you use normal boot (without F1) ?
normal boot is working
But i just tried to boot linux mint ( which has a live system ) and i get this
"Waiting 30 seconds for device /dev/disk/by-label/ARCHLINUX..." This error still exist when you use normal boot (without F1) ?
Ok so right now this a lucky draw. sometimes im thrown into the emergency shell or sometimes it boots properly. when i am thrown into the emergency shell i just have to symlink /dev/dm-0 to /dev/disk/by-label/ARCHLINUX.... and press ctrl+d and it continues booting. Here's the log for this situation Note: the log is of when i tried booting artix (fork of arch) but same behavior in arch as well.
============== VENTOY =================
271 blocks
5724 blocks
kenel version=Linux version 5.5.3-artix1-1 (linux@artixlinux) (gcc version 9.2.1 20200130 (Artix Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Wed, 12 Feb 2020 14:04:08 +0000
kenel cmdline=BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC label=ARTIX_202002
=====ventoy_unpack_initramfs: #/initrd001 0 3037 /initrd001_tmp#
vtx=3037 cat
6096 blocks
=====ventoy_unpack_initramfs: #/initrd002 0 FD37 /initrd002_tmp#
vtx=FD37 xzcat
420114 blocks
terminate with all zero data file
Now hand over to ventoy.sh
#### install vtoytool #####
try /ventoy/tool/vtoytool/00/ ...
vtoytool_64 OK
use vtoy_fuse_iso_64
use unsquashfs_64
use unsquashfs_64
kernel version
Linux version 5.5.3-artix1-1 (linux@artixlinux) (gcc version 9.2.1 20200130 (Artix Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Wed, 12 Feb 2020 14:04:08 +0000
OS=###arch###
use mount_handler ...
######### /ventoy/hook/arch/ventoy-disk.sh ############
wait_for_usb_disk_ready /dev/sdd ...
wait_for_usb_disk_ready /dev/sdd finish
create_ventoy_device_mapper /dev/sdd --readonly
dmsetup avaliable in system /sbin/dmsetup
device-mapper module check success
==== create ventoy device mapper success ====
no need to replace block device
Same problem for me with ventoy version 1.0.09
and archlinux-2020.05.01-x86_64.iso
.
"Waiting 30 seconds for device /dev/disk/by-label/ARCHLINUX...
Different from the original report, I can not mount the exfat partition in the interactive prompt, because the filesystem exfat
is unknown.
- Ventoy 1.0.11 and 1.0.12 (upgraded)
- ISO Arch 2020.06.01 and 2020.05.01 (sha1 checked)
- EFI Boot
- Dell E7440, Efi Version A17 and A28
- Power on or Reboot
- F12 to get boot selection menu and selecting usb stick or boot after prioritizing usb stick in boot sequence via EFI Settings
- Select arch iso entry from ventoy menu
- Select Arch Efi CD boot entry from Arch boot menu
- Arch starts to boot but as reported above
"Waiting 30 seconds for device /dev/disk/by-label/ARCHLINUX...
Different from the original report, I can not mount the exfat partition in the interactive prompt, because the filesystem
exfat
is unknown.
Follow these steps
mkdir /mnt
mount /dev/sdX2 /mnt # mount the fat32 partition
modprobe fuse
mkdir /isos
/mnt/tools/...64 /dev/sdX1 /isos
Please make a try with Ventoy-1.0.13.
sorry for the late reply.
with the latest ARCHLINUX iso and ventoy (1.0.14-2) i still get dropped into emergency shell. there is no "/ventoy" for getting the log.
with ARTIXLINUX iso and ventoy (1.0.14-2) i again get dropped into the emergency shell. but i get the "/ventoy" so here's the log for that
============== VENTOY =================
310 blocks
5724 blocks
kenel version=Linux version 5.5.3-artix1-1 (linux@artixlinux) (gcc version 9.2.1 20200130 (Artix Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Wed, 12 Feb 2020 14:04:08 +0000
kenel cmdline=BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC label=ARTIX_202002
remove whole sbin directory
=====ventoy_unpack_initramfs: #/initrd001 0 3037 /initrd001_tmp#
vtx=3037 cat
6096 blocks
=====ventoy_unpack_initramfs: #/initrd002 0 FD37 /initrd002_tmp#
vtx=FD37 xzcat
420114 blocks
terminate with all zero data file
Now hand over to ventoy.sh
#### install vtoytool #####
try /ventoy/tool/vtoytool/00/ ...
vtoytool_64 OK
use vtoy_fuse_iso_64
use unsquashfs_64
use unsquashfs_64
kernel version
Linux version 5.5.3-artix1-1 (linux@artixlinux) (gcc version 9.2.1 20200130 (Artix Linux 9.2.1+20200130-2)) #1 SMP PREEMPT Wed, 12 Feb 2020 14:04:08 +0000
OS=###arch###
use mount_handler ...
######### /ventoy/hook/arch/ventoy-disk.sh ############
wait_for_usb_disk_ready unknown ...
wait_for_usb_disk_ready unknown ...
wait_for_usb_disk_ready /dev/sda ...
wait_for_usb_disk_ready /dev/sda finish
create_ventoy_device_mapper /dev/sda --readonly
dmsetup avaliable in system /sbin/dmsetup
device-mapper module check success
==== create ventoy device mapper success ====
no need to replace block device
What about the latest release?
Came here via search. 1.0.28 and Arch ISO archlinux-2020.11.01-x86_64.iso. Drops to emergency shell. No persistence, no memdisk, using efi boot. For reference, Manjaro works just fine.
Came here via search. 1.0.28 and Arch ISO archlinux-2020.11.01-x86_64.iso. Drops to emergency shell. No persistence, no memdisk, using efi boot. For reference, Manjaro works just fine.
I test archlinux-2020.11.01-x86_64.iso with Ventoy-1.0.28 in UEFI mode (on a VirtualMachine) and it works fine. When you dropped into the emergency shell please run two commands and give me the photo about the output.
cat /ventoy/log
blkid
This is still having issues at of May 15 2021...
I tried to boot the latest (may 1) archiso via memdisk with ventoy but I got dropped in the emergency shell with the same problem.
I am booting in UEFI mode, tried both with and without secureboot but didn't make a difference.
memdiskfind
in the hook seems to not return anything, thus the memdisk hook doesn't do anything.
There's no /ventoy
folder to search for the log, and blkid
just returns the system's disks + the efi ventoy partition and the ventoy exfat partition
I've recently stumbled upon the problem with booting Archlinux in UEFI mode.
I've tried to make Arch ISO with ZFS enabled kernel using mkarchiso tool. It seems that Ventoy during can only boot whenever kernel is named vmlinuz-linux
and initramfs is named initramfs-linux.img
. After installing zfs-linux-lts
package in Archlinux it comes with /boot/vmlinuz-linux-lts
and /boot/initramfs-linux-lts.img
respectively.
Booting this kernel in CSM/Legacy BIOS mode using syslinux is fine boot UEFI mode gave me a headache, until I found a workaround on SamLukeYes repo - https://github.com/SamLukeYes/archiso-surface/blob/main/airootfs/etc/pacman.d/hooks/linux-dummy.hook I've adapted it to my use-case, so I can use Ventoy with my custom iso file. But maybe we can make Ventoy less picky about file names.
I've recently stumbled upon the problem with booting Archlinux in UEFI mode. I've tried to make Arch ISO with ZFS enabled kernel using mkarchiso tool. It seems that Ventoy during can only boot whenever kernel is named
vmlinuz-linux
and initramfs is namedinitramfs-linux.img
. After installingzfs-linux-lts
package in Archlinux it comes with/boot/vmlinuz-linux-lts
and/boot/initramfs-linux-lts.img
respectively.Booting this kernel in CSM/Legacy BIOS mode using syslinux is fine boot UEFI mode gave me a headache, until I found a workaround on SamLukeYes repo - https://github.com/SamLukeYes/archiso-surface/blob/main/airootfs/etc/pacman.d/hooks/linux-dummy.hook I've adapted it to my use-case, so I can use Ventoy with my custom iso file. But maybe we can make Ventoy less picky about file names.
Please give your original custom iso for test.
Take archlinux-2020.10.01-x86_64.iso for example. There are two files with the same name as follows:
/arch/boot/x86_64/initramfs-linux.img
/EFI/archiso/efiboot.img/arch/boot/x86_64/initramfs-linux.img
What's your situation?
@ventoy sorry about delay. You can check my building steps in my repo: https://github.com/alteriks/mkarchiso_zfs
ISO file is located on my googledrive: https://drive.google.com/drive/folders/1mxYpSikYOW7W4harSoSxrFd7KtDE-sTH
when booting into the archiso it sits at "Waiting 30 seconds for device /dev/disk/by-label/ARCHLINUX..." and then gives the rootfs shell.
now if i'm doing this without memdisk. i can just mount the exfat partition and mount the iso to /run/archiso/bootmount. How do i do the same workaround when using memdisk?