Well, I poked around a bit. As it turns out, when kexec passes the display parameters to the kernel, it needs to supply a parameter called “orig_video_isVGA”. I don’t know why it’s called that, or what all the possible values mean, but at least for x86, this field should seemingly be set to either VIDEO_TYPE_EFI (0x70) or VIDEO_TYPE_VLFB (0x23). kexec tries to automatically detect the correct value, but that automatic detection doesn’t work in PureBoot.
Then, build a static kexec binary (by running “./configure CC=‘gcc -static’ && make”) and copy it to somewhere accessible to PureBoot, you should then be able to boot the Debian installer by running:
My Librem Mini v2 is running PureBoot-Release-17 and I can’t boot into debian-10.9.0 or debian-live-10.9.0 from USB. It scribbles some unreadable blue lines at the top of the screen and then I think the installer menu but super tiny and repeated all along the top of the screen. Connected to a 1080p monitor over HDMI.
Hi everyone first time poster but long time viewer.
I’m aware I’m slightly digging up this thread, but I have the same issue, we’ll kind of, I had this exact same issue, until I upgraded to the latest 18.1 pureboot install 10 mins ago, due to the security announcement this morning.
I treated myself for the optional extra Qubes USB, but after a week of faffing about I decided it wasn’t for me. I’m in the process of trying to install the latest 64 bit version of Kali Linux but get the same issues as above poster.
When I use the graphical and text install I get the following screen:
I tried with the Live USB but unfortunately whilst I was able to get the live instance to work, I wasn’t able to use Calamari or anything like that to install to the disc.
Any help on this would be amazing…! Looks like this might be one for the support desk.
it’s a problem of how debian kernel and initrd is being build.
it simply not initialise i915_drm so it’s not able to find graphics card.
i am trying to find hack how to force ity to load.
it’s not so simple.
looks like we will have to wait for next pureboot release
or you can just as MRChromebox to share his build , or fetch pureboot sources add kexec patch and build it on your own.
download live+nonfree image
it boots on 18.1 without trouble
patrch metioned above is in 18.1 already
from that image you will able boot without troubles.
EDIT
debian-live-11.0.0-amd64-gnome+nonfree.iso
adn use graphical isntaller.
somehow console passtrough not works after kexec, but xorg will start fine and you will get desktop, and then you can run isntaller from it
actually taht statement will aslo not work.
if you add before this line printf("%s",fix.id);
you will get: i915drmfb
as i915drmfb != inteldrmfb this if statement will not apply
@w4key my commentary was targeted to @MrChromebox. sorry for to deep technbicals.
problem is in kexec called kernel.
there is an interesting thread about FB console handling on one of mailing lists related to heads.
probably to fix this , heads kernel need to do not have intel_drm framebuffer driver, as that driver missbyhaves.
i am trying to rebuild pureboot with changed kernel, to confirm that.
if it will fix i will PR @MrChromebox repo and hopefully it will be released. https://www.spinics.net/lists/kexec/msg26924.html
It’s complicated, and it’s been a few months since I looked into this. But to summarize, I have the impression that neither the DRM developers, nor the kexec developers, are interested in supporting this use case, so it will probably continue to break over time.
I haven’t tested this recently, but here’s my most recent attempt at a more robust kexec patch:
In order for this to work, I believe you will also need to set the option CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM=y in the configuration for the PureBoot kernel, and you will need to add drm_kms_helper.drm_leak_fbdev_smem=1 to the PureBoot kernel command line.
I intended to put all this together as a pull-request to Heads, but I never got around to testing it… sorry! Hope this is helpful if someone else wants to pick it up and run with it.
@floppus
there was suggestion to do not load intelDRM to initial kernel, so next kernel can initialise it properly.
EDIT: it will semi work… (switching off i915 drm) - kids don’t try this at home :s
it boots VGA mode, so no fb present… at all, but is capable booting other kernel with i915fb…
:S
This is a seriously technical community thanks guys… I think as an initial work around I will just create a kali/Debian qube for the next few weeks whilst I track this.
I’m not keen on going off the beaten track as I want to have a stable device as I (will be) rely on it very heavily.