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.
FYI MBR stands for Master Boot Record, and the bootloader does need to go somewhere unencrypted, so I think (been a while since I messed with Debian installer. Not a fan) you should put the bootloader in the MBR.
Can you mount the USB drive from the recovery shell?
Are you saying that when you first turn the machine on, it doesn’t show the main menu (“Default Boot” / “Refresh TOTP/HOTP” / “Options” / “Power Off”), but requires you to select a /boot partition first?
If that’s the case, that seems dangerous and far too easy for people to lock themselves out!
If that is what happened, then what I would do is this:
Select menu options at random until it gives up and exits to a recovery shell.
Run the command “busybox mke2fs /dev/nvme0n1p1”. This will create a new empty filesystem on that partition, erasing anything that was there before.
Reboot and select /dev/nvme0n1p1 as your boot partition. You won’t be able to boot from it, but hopefully this should be enough to let you get to the main menu where you can select “Options” -> “Boot Options” -> “USB Boot”.
Not sure what you mean by auto-detection. But what does it do if there are no partitions that it is capable of mounting? It sounds like that is @kabo’s situation (they have one encrypted partition and one swap partition, and nothing else.)
I literally mean the auto-detect function that I wrote that is part of Heads
the function first checks the default partition (/dev/nvmen0p1, unless chnaged/saved), then iterates through all fixed devices/partitions and checks for /grub*. If a partition fails to mount or is encrypted, it’s skipped. If no partition with grub is found, you get the prompt to manually select.
Makes sense. So then what happens after that? From what @kabo said, it sounds like if you don’t have any options available to select, or you select an “invalid” option, then it bails to a shell rather than showing the menu that would allow you to boot from USB.
In the upcoming B13 update, will alert you that no bootable disk was found, and ask if you want to proceed to main menu or boot from USB. In current release, it should allow you to cancel and pass to main menu but seems that isn’t happening
Looks like Calamares (the installer used when installing debian from the live image) doesn’t support the disk setup I want (multiple LVM volumes under a single LUKS container).
I’ll just wait for PureBoot version 13 and hope that I can boot the normal debian installer with that.
I’m having the exact same issue, I want to have a customized install using Debian 10.4 but have had some issues with getting things to boot.
I think it comes down to this issue from upstream (https://github.com/osresearch/heads/issues/699), that some of the debian images don’t have the Intel i965 drivers. I’m also trying to install it custom with an LVM, so this is what I’ve found with the ISOs thus far:
debian-10.4.0-amd64-netinst.iso - does not boot (no i965 drivers?)
debian-live-10.4.0-amd64-gnome.iso - has all the drivers, but can’t customize the install
debian-10.4.0-amd64-DVD-1.iso - does not boot (no i965 drivers?)
debian-live-10.4.0-amd64-standard+nonfree.iso - has necessary drivers and boots, but might be using non-free drivers/firmware
debian-live-10.4.0-amd64-standard.iso - boots with correct i965 drivers (not sure about ath9k drivers yet)
Both of the standard ones work, though the one that doesn’t include non-free drivers is best. However they both just boot to a live shell, not sure how to launch the installer from there?