-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest x86_64 image is broken too #294
Comments
Is this image burned to the usb drive? I'm trying to make sense of the report. |
no, it is not I have this entry in my grub.cfg file menuentry "void amd64 2022 xfce" { that's it. It works for 2021 image, it doesn't work for 2022 image |
I boot the isos fine via grub (with https://github.com/classabbyamp/glim). does the latest iso boot fine directly? this may be an issue with your computer |
good for you |
ok I am able to reproduce now, but it's very odd:
|
I'm also having troubles with this. 20210930 iso (boots using a grub2 menu entry): 20221001 iso (doesn't boot using a grub2 menu entry): |
It's not dracut. With In a diff between the two logs, 9 lines stand out in informational output before dracut starts searching for/mounting the root: -29 26 7:0 / /run/initramfs/live ro,relatime - iso9660 /dev/loop0 ro,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
-31 1 254:0 / /sysroot rw,relatime - ext3 /dev/mapper/live-rw rw (in -/dev/loop0 /run/initramfs/live iso9660 ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8 0 0
-/dev/mapper/live-rw /sysroot ext3 rw,relatime 0 0 (in -/dev/loop0: BLOCK_SIZE="2048" UUID="2021-10-07-00-22-44-00" LABEL="VOID_LIVE" TYPE="iso9660" PTUUID="4e4d61a4" PTTYPE="dos"
-/dev/loop1: TYPE="squashfs"
-/dev/mapper/live-base: UUID="65732de4-1bfe-479b-8269-be87b1fb8c8e" SEC_TYPE="ext2" BLOCK_SIZE="4096" TYPE="ext3"
-/dev/loop2: UUID="65732de4-1bfe-479b-8269-be87b1fb8c8e" SEC_TYPE="ext2" BLOCK_SIZE="4096" TYPE="ext3"
-/dev/mapper/live-rw: UUID="65732de4-1bfe-479b-8269-be87b1fb8c8e" BLOCK_SIZE="4096" TYPE="ext3" The loop devices are not even present when booting a newer image, which points to the kernel, which is also the only relevant package that had updates between the last working and first broken images ( This is confirmed when booting a freshly built image made with mklive's Now that I know it's the kernel, I'll try to narrow down what version between 5.13 and 5.19 broke this. |
It's linux 5.19. The last version that boots properly from loopback is 5.18. There doesn't seem to be relevant changes in the dotconfigs of those two versions, nor in the patches. |
Some wild guesses:
|
In my case at least, tests were done on a standard desktop computer, and the storage holding both the GLIM setup and the ISO image is a plain FAT32 partition (part type ID It seems to me like all modules possibly involved in that are already loaded, and furthermore, at the time dracut drops me to a shell, the partition on the USB drive is indeed already mounted at I'll also be setting up a testbench in QEMU to do further tests.
At the dracut debug shell, These lines are present in dmesg logs of both working (5.18 and before) and failing (5.19+) images:
Manually mounting the ISO image correctly loads both However, after both mount operations, there isn't any info on the mounted filesystems in If you have further insights, I'll test those too Note: if using a fedora image for testing, the kernel and initrd location in the ISO seem to have changed since the last time dracut.cmdline was modified. They are now present in |
One thing I forgot to mention in the previous message, is that the ISO image does (sometimes?*) stay mounted when dropping in the shell, but in the mounted-with-no-label state. Since last message, I've also found a kinda-fix: *kinda confused as to how it shows as mounted in some attempts while I recall other attempts not even having the loop module loaded in the shell (the issue is either a separate one in dracut/the images, or in my recollection of all of these attempts at booting) |
Please try to autoload modules that this use case needs from the bootloader command line arguments - e.g. "rd.driver.pre= loop,cdrom,isofs, squashfs" You could also try this patch that debian carries: https://salsa.debian.org/debian/dracut/-/blob/master/debian/patches/udevsettle |
Fedora bug report - https://bugzilla.redhat.com/show_bug.cgi?id=2131852 |
This fixes a bug in the live images when booted from grub as loopback (void-linux/void-mklive#294). dracutdevs/dracut#2183 dracutdevs/dracut#2196
A fix for this has been merged upstream dracutdevs/dracut#2196, and there's a backport of it to the package void-linux/void-packages#42265 |
This fixes a bug in the live images when booted from grub as loopback (void-linux/void-mklive#294). dracutdevs/dracut#2183 dracutdevs/dracut#2196
This fixes a bug in the live images when booted from grub as loopback (void-linux/void-mklive#294). dracutdevs/dracut#2183 dracutdevs/dracut#2196
I tried running the latest x86_64 live image (void-live-x86_64-20221001-xfce.iso) on real hardware via grub2 boot manager and it is broken. The root device cannot be found for some reason, and so the user is dropped into a debug shell.
You can't reproduce the same issue with the previous version of the image (void-live-x86_64-20210930-xfce.iso).
The text was updated successfully, but these errors were encountered: