mvallim / live-custom-ubuntu-from-scratch

(Yes, the project is still alive 😃) This procedure shows how to create a bootable and installable Ubuntu Live (along with the automatic hardware detection and configuration) from scratch. A Linux to call your own.
https://mvallim.github.io/live-custom-ubuntu-from-scratch/
GNU General Public License v3.0
420 stars 196 forks source link

Suggestions for troubleshooting boot failure #7

Closed kgilmer closed 4 years ago

kgilmer commented 4 years ago

Hi @mvallim , your work here is really fantastic. It's great that you spent the time to put all of this information together in a friendly way and are maintaining it with modern Ubuntu versions, unlike what's available in the Ubuntu wiki. Thank you!

I work on a Linux DE and distro called Regolith. Currently we use a GUI tool, Cubic, to generate the live install image, however as this is a manual process it requires a lot of time when generating new images. I have adapted your README into two shell scripts (attached), one that runs in the chroot and the parent. I have tested both bionic and focal releases, and have found that 1 out of 3 of my test machines (all fairly modern Lenovo Thinkpads), when selecting the USB device to boot into the Ubuntu-FS image, immediately returns to the boot menu. It's as-if the image is invalid. Two other machines work fine w/ the same image. All devices are configured with "secure boot" and UEFI-only boot modes.

Because the laptop which has an issue reports no error, just returns to the menu, I do not know where to start troubleshooting the issue. Do you have any suggestions or tools as to how I can determine why my image only boots on some computers?

scripts.zip

kgilmer commented 4 years ago

Nevermind, it ended up being an issue with the test device. I discovered it when a different distro also failed to install, but in that case I got an error message which lead me to reset the secure boot keys and viola, problem solved.

Thanks again for your work here, I think it will have a big impact on my project. :zap: