Skip to content
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

[issue]: SystemRescue 11.02 is unbootable #2958

Open
1 task done
youk opened this issue Aug 30, 2024 · 15 comments · May be fixed by #3058
Open
1 task done

[issue]: SystemRescue 11.02 is unbootable #2958

youk opened this issue Aug 30, 2024 · 15 comments · May be fixed by #3058

Comments

@youk
Copy link

youk commented Aug 30, 2024

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.99

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

No. I didn't try these alternative boot modes.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

64GB

Disk Manufacturer

Samsung

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

https://fastly-cdn.system-rescue.org/releases/11.02/systemrescue-11.02-amd64.iso

What happened?

SystemRescue 11.02 (Linux kernel 6.6.47) is unbootable. The following is printed during boot:

xzcat: corrupted data
grep: /init: No such file or directory
grep: /init: No such file or directory
grep: /init: No such file or directory

############ INIT NOT FOUND ###############

/ventoy/busybox/sh: can't access tty; job control turned off

SystemRescue 11.01 (Linux kernel 6.6.30) boots just fine with the same config/hardware.

@ulefr01
Copy link

ulefr01 commented Sep 3, 2024

same problem here

@rodrigomorales1
Copy link

I found the same when launching systemrescue-11.02-amd64.iso through Ventoy version 1.0.99. This issue didn't happen when launching systemrescue-11.01-amd64.iso through the same ventoy version.

I was wondering whether this issue had to do with SystemRescue itself and had nothing to do with Ventoy, so I created a bootable USB with SystemRescue version 11.01 and then with SystemRescue version 11.02. I downloaded systemrescue-11.01-amd64.iso and systemrescue-11.02-amd64.iso from https://sourceforge.net/p/systemrescuecd/activity/ . I could start systemrescue-11.01-amd64.iso (Experiment 1) and systemrescue-11.02-amd64.iso (Experiment 2) without any error, so it seems this issue has to do with Ventoy itself.

Experiment 1: Bootable thumb drive using SystemRescue 11.01

I created a bootable thumb drive with System Rescue 11.01 using the command below (note that I'm not using ventoy):

sudo wipefs -a /dev/sdf
sudo dd if=/home/rodrigo/Downloads/systemrescue-11.01-amd64.iso of=/dev/sdf status=progress

I plugged the thumb drive into my laptop and I turned it on. The SystemRescue menu was shown and I selected "Boot SystemRescue using default options". The shell [root@systemrescue ~]# was shown and no error showed up.

Experiment 2: Bootable thumb drive using SystemRescue 11.02

I created a bootable thumb drive with System Rescue 11.02 using the command below (note that I'm not using ventoy):

sudo wipefs -a /dev/sdf
sudo dd if=/home/rodrigo/Downloads/systemrescue-11.02-amd64.iso of=/dev/sdf status=progress

I plugged the thumb drive into my laptop and I turned it on. The SystemRescue menu was shown and I selected "Boot SystemRescue using default options". The shell [root@systemrescue ~]# was shown and no error showed up.

@youk
Copy link
Author

youk commented Oct 29, 2024

@rodrigomorales1 The cause is always Ventoy, by design. There is nothing to dwell on here.

@jefferyto
Copy link

SystemRescue is built on archiso, and there was an issue with booting Arch Linux before (#2825). The error messages in the screenshots in that issue look very similar to the error messages with SystemRescue.

@sherpya
Copy link

sherpya commented Dec 3, 2024

xzcat fails, not easy to debug since the keyboard does not work

@ReversePolishLogic
Copy link

Confirming this issue persists with SystemRescue 11.03, released today.

@youk
Copy link
Author

youk commented Dec 7, 2024

Why wouldn't it? It's Ventoy that needs to be fixed, not SystemRescue.

@GregTonoski
Copy link

The issue is critical. How to fix it?

@youk
Copy link
Author

youk commented Dec 21, 2024

If it is critical for you, I suggest that you use some other tool.

How to fix it? Examine how Ventoy handles archiso images and what has changed.

@steve6375
Copy link

steve6375 commented Dec 21, 2024

Easy2Boot uses grubfm to boot via UEFI and that works, If you want to use Ventoy, then a workaround is to add the grubfm_multiarch.iso to your Ventoy USB drive and boot to that and then select the Systemrescue iso,
This works best using an MBR Ventoy drive not a GPT Ventoy drive (with MBR partition 4 unused) so you can use the partnew boot option in grubfm and the ISO should be a contiguous file. But the 'boot from ISO' option in grubfm also works for me.
https://github.com/a1ive/grub2-filemanager/releases/tag/latest

@jcpvdm
Copy link

jcpvdm commented Dec 22, 2024

On Ventoy boot menu, I have set vtbreak=12 on grub shell and then launched SystemRescue 11.03. Got this output:
systemrescue_debug

For context, vtbreak=12 force ventoy to stop at following place and print ventoy log:
https://github.com/ventoy/Ventoy/blob/b11c38779d319fc6dde97e5e9a45b26e68ddd6e1/IMG/cpio/ventoy/init_chain#L181-L191C1

Following is the output when launching SystemRescue 11.01 with vtbreak=12, so we can compare:
systemrescue_11 01_debug

@sherpya
Copy link

sherpya commented Dec 22, 2024

On Ventoy boot menu, I have set vtbreak=12 on grub shell and then launched SystemRescue 11.03. Got this output: !

maybe the initrd is compressed with a new, unsupported xz option, and xzcat need to be updated

@youk
Copy link
Author

youk commented Dec 22, 2024

Just take a look at one of the earlier fixes and realize how fragile the entire design is.

@sherpya
Copy link

sherpya commented Dec 22, 2024

xzcat fails while forcing xzminidec says xzminidec: Memory usage limit reached
maybe the initrd is too big

@sherpya
Copy link

sherpya commented Dec 22, 2024

I've recompiled xzminidec giving more max dict size, and it works: 1 << 28 instead of 1 << 26

jcpvdm pushed a commit to jcpvdm/Ventoy that referenced this issue Dec 24, 2024
jcpvdm pushed a commit to jcpvdm/Ventoy that referenced this issue Dec 24, 2024
@jcpvdm jcpvdm linked a pull request Dec 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants