I have a Librem 13 v3 with PureBoot, and trying to boot the Debian 10 installer from a USB disk.
If I select the USB disk through the PureBoot menus, it detects the GRUB configuration and shows me the various installation options. And from what I can tell, it actually boots the kernel, but the display is unreadable.
Specifically, at the very top of the screen I see a band of colorful pixels, some of which change when I press the arrow keys. So it appears that PureBoot has configured the framebuffer in some particular mode, and the Debian installer kernel is trying to reuse the same framebuffer but expects it to be a different resolution or depth or something.
This happens both for the ātext modeā and āgraphicalā Debian installers (which use the same kernel image but different initramfses.)
Any ideas? Has anybody else encountered this?
Is there any way to get PureBoot to launch GRUB from the USB disk (rather than trying to load Linux itself)? Is there a kernel command-line option that I could pass (using kexec from the PureBoot emergency shell) to tell Linux to use the same framebuffer mode that PureBoot uses, or else to reinitialize the framebuffer in some other compatible mode? (I donāt care if itās 640x480, I just need it to be readable!)
Mmm. So, to clarify: PureBoot doesnāt use GRUB itself (as far as Iām aware). PureBoot is capable of reading GRUBās configuration file (grub.cfg) to determine the essential pieces of information (the filename of the kernel, filename of the initramfs, and the kernel command line) and then uses ākexecā to boot the kernel.
I was curious if there was a way to get PureBoot to actually run GRUB itself, because (I hope) GRUB might know the correct way to initialize the display and hand it off to Linux.
PureBoot-beta-11 which appears to be the latest.
Yeah, Iāve been able to boot the Debian live DVD, Iāve been able to install and run Qubes as well.
But I never see any console log messages on the screen (as I would expect to see on a ānormalā PC.) After it displays ākexec_core: Starting new kernelā, the screen stays frozen until the GUI comes up.
This seems like a clear bug somewhere in the stack (coreboot/heads/kexec/linux/i915), but I was wondering if anybody here knew a quick workaround.
(I am more familiar with Ubuntu, where the āliveā is the āinstallerā. You boot live and if you are just running āliveā, there is an option on the desktop to go ahead and āinstallā.)
please please please, list the full/exact filename of the ISO you are using when asking for help. I canāt troubleshoot or attempt to reproduce with just āDebian 10 ISOā given there are at least a dozen different ones.
I know that the netinst ISO fails to boot on PureBoot b11, but the live ISO works last I tested.
Sorry for not coming back to this earlier. Yes, the live DVD includes an installer (somewhat more limited than the standard installer) and thatās what I ended up doing since I needed something quick for testing.
Well, you could install Buster from the live image, and upgrade from that.
Quite right, sorry for not being more precise! I believe the image I was trying to boot was ādebian-10.3.0-amd64-DVD-1.isoā.
Sounds like youāre able to reproduce the issue, then. Iād be very surprised if there were any differences between the ānetinstā / āCDā / āDVDā images for the same release.
Yep. Two entirely separate things - the live system installer (which I guess is Calamares?) is a program that runs under an X11 session, whereas the normal Debian installer runs on the Linux console. (There is a ātextā mode and a āgraphicalā mode and I donāt know exactly how the latter works, whether itās using X11 under the hood or something else, but either way, neither mode seemed to work from PureBoot.)
Alright, I downloaded the live debian 10.4 gnome dvd and installed from that. I chose the āreplace existing OSā option, which seems to set up one partition for / and one partition for swap. I answered Yes when asked if it should be encrypted.
Wasnāt sure if I should have installed the bootloader to the MBR or to /. I chose /. The installer exited with an error when trying to install the bootloader.
Now when trying to boot I get this
And thatās all I get. I canāt seem to find a way around that to boot from USB again.
I should probably have partitioned the disk manually to have the /boot partition separate and unencrypted. Iād try to reinstall, but like I wrote, canāt seem to find an option to boot from USBā¦
Let us say we are moving forward, at this point of time, by accepting the fact that PureBoot needs /boot partition defined within /dev/nvme0nXp1. Only thing Iām aware now is that you need help from someone that is familiar with PureBoot and perhaps write here short, yet additional (unofficial?) manual if DebianInstaller (perhaps under advanced modes) can be used on Librem laptop.
Yes, Iām quite sure that āreplace existing OSā option was sort of fatal one to choose. I recommend again not to forget to use fdisk -l before starting to replace (partition) anything on your main, currently workable main OS SSD.
Looks like good choice, but we donāt know if this is the only correct option. In addition, my proposal would be to stick with the following partition setup (as you need to avoid automated partitioning process anyway):
/dev/nvme0nXp1 /boot 256M, max. 512M,
/dev/nvme0nXp2 /swap same or double of your RAM size,
/dev/nvme0nXp3 / 32G, max. 64G,
/dev/nvme0nXp4 /home.
I guess as first step you need to revert to PureOS and from there plan well how to proceed with Debian-amd64-DVD-1.iso, to use DebianInstaller again and write here this unofficial approach if you succeed to install Debian 10 by means of accepting PureBoot rules (without potential bug as @floppus refered to) before using Debian DVD installer at all. You need help now and I hope this will happen soon (luck of time might be issue here, please be patient).
When I drop into busybox recovery shell I can see that my USB stick is connected when running dmesg or lsusb. It doesnāt show up in /dev/ though. And lsblk isnāt available.
If I answer Yes in the dialog if I want to configure the /boot device now I get
And then I get the original dialog back. If I chose No I get the recovery shell.
Is there some key combination I can press while booting up to get into the normal menu where I can select USB boot? Or are there any commands I can type in the recovery shell to boot from the USB stick?
As long as you can boot it again from USB install media you are fine to proceed! Iām not sure if I have time now to help you with manual partitioning of your SSD, by using Calamares. Do you need additional help with partitioning at all? And sorry, I donāt posses Librem laptop so donāt count on me on everything.
As long as you can boot it again from USB install media you are fine to proceed!
Thatās exactly the problem Iām having, I canāt boot from the USB stick any more. I just get that red dialog. If I could boot from the USB stick I used to install debian in the first place I would have done so.