(Virtualbox, BIOS, maybe a beginner question) How to debug hang/black screen after telling ZBM to boot? #342
-
Hi, I'm trying to get ZFSBootMenu working in a VirtualBox VM on a Windows host. This is because I want to transition into using Linux as a main system again, but I want a way to roll back easily (hence looking into this tool), and am also trying to get a working system in a "test environment" first before I start changing things on bare metal. The VM is in BIOS mode, which I think is the Virtualbox default. I have an Arch system "installed" on a dataset, with locally compiled AUR
(These files are just from the Releases area. v2.0.0 specifically.) ZFSBootMenu starts fine and can see my dataset. However when I press to boot into that dataset I get a blank screen with a cursor that blinks a couple of times then freezes, and the entire system seems to hang. I've tried adding I'm really not sure how to try to figure out what's going on here, though I might try making a Void Linux dataset to see if that works. Sorry if this is the wrong venue for this question, but what options do I have for trying to debug this? Or am I just attempting to use a configuration that's not supported and simply doesn't work (and if so, what's wrong with that configuration?) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I would first try booting your Arch kernel and initramfs directly with syslinux. You can set this up from within ZFSBootMenu: in the main menu, with your Arch environment selected, press CTRL+J to chroot into the environment. (It will be read-only, but that won't matter. If you ever need read-write access, just press CTRL+W in the menu to reimport with write privilege the pool holding the currently selected boot environment.) Mount the syslinux partition, copy your Arch kernel and initramfs into it, and add an entry to the syslinux config. Remember to add the right If your Arch kernel boots fine directly, I would suspect that kexec doesn't play nicely with VBox. Trying a manual kexec from the ZBM emergency shell should be the next step. |
Beta Was this translation helpful? Give feedback.
I would first try booting your Arch kernel and initramfs directly with syslinux. You can set this up from within ZFSBootMenu: in the main menu, with your Arch environment selected, press CTRL+J to chroot into the environment. (It will be read-only, but that won't matter. If you ever need read-write access, just press CTRL+W in the menu to reimport with write privilege the pool holding the currently selected boot environment.) Mount the syslinux partition, copy your Arch kernel and initramfs into it, and add an entry to the syslinux config. Remember to add the right
root=
argument to the new entry.If your Arch kernel boots fine directly, I would suspect that kexec doesn't play nicely with…