grml-debootstrap icon indicating copy to clipboard operation
grml-debootstrap copied to clipboard

ARM support

Open adrelanos opened this issue 3 years ago • 3 comments

Could you please add support for creating VM images with ARM platform support?

adrelanos avatar Apr 27 '21 05:04 adrelanos

More than happy to accept patches/PRs :)

mika avatar Apr 27 '21 06:04 mika

@mika I'm happy to look into this. I've already taken the grml-debootstrap output and made a bootable arm64 image from it.

In regards to that, I'd love to have your input on my thinking. Basically, the main differences with arm64 are going to be the kernel and grub setup.

  • Kernel: needs to be arm64
  • Grub: needs to use the UEFI boot pattern i.e. a separate EFI partition in the first few sectors of the image file. This means only GPT / EFI compatible images will be bootable when arch=arm64.

Are you okay if I basically switch on --arch arm64 and then make the relevant changes using that?

GavinPacini avatar Apr 27 '21 19:04 GavinPacini

@GavinPacini this sounds good for me! Feel free to also throw PoC/incomplete code into my/our direction if you'd like early feedback/code review!

mika avatar Apr 28 '21 08:04 mika