aarch64-laptops / build

Build an Linux OS based image
221 stars 47 forks source link

What changes were included in the Dimitri Bionic Ubuntu image? #72

Open rigoorozco opened 3 years ago

rigoorozco commented 3 years ago

I'm on the Lenovo Yoga C630.

I'm trying to make my own ISO image using xorriso with the latest current ISO (https://cdimage.ubuntu.com/daily-live/current/).

So far I've try adding the laptop dtbs to the /boot and updating the grub.cfg to roughly match that in the bionic image. Also updated the md5sum file.

I've figured out how to extract the el torito image using these pages: https://codedump.net/blog/extracting-a-bootable-disk-image-from-an-iso-image https://wiki.debian.org/RepackBootableISO#arm64_release_9.4.0

My laptop detects the boot drive and I see a grub menu, however, when I select an option a single cursor shows up in the top left corner and just hangs there.

rigoorozco commented 3 years ago

@andersson @shawnguo2 @amstan tagging you guys since you seem to be adding stuff to the 5.13 branch. Would appreciate any input. Thanks!

rigoorozco commented 3 years ago

To rephrase my question: What changes would I need to make to an ISO to make it work?

Dimitri's bionic installer seems to have been edited in a similar fashion since you can see there is a /boot/grub/efi.img file which isn't normally there.

shawnguo2 commented 3 years ago

I do not know for Dimitri's bionic installer. But you can find all details of how Debian installer was created as below.

https://github.com/aarch64-laptops/debian-cdimage/blob/main/doc/README.md

For the hang issue you are seeing, my guess is that you are missing efi=novamap from kernel cmdline.