Dual boot Manjaro and Debian?
#1
Hi
I have just installed a 128Gb eMMC in my PBP, and now I would like to install both Manjaro and Debian (with 32 bit userspace) onto the same eMMC with a boot menu.
I think that I already know how to write a boot menu in uboot.
What I don't understand is how kernels will work.
More specifically both Debian and Manjaro use an "Image" file for the kernel.
I presume that the "Image" file is under package management control, and so I can't have two "Image" files in the same boot partition which are controlled by two different package managers.
Also, I do know from messing with other ARM64 systems that it is possible to have a Debian userland with no kernel package installed at all, so not in control of the Debian package manager.
Could I use the Manjaro kernel, under control of the Manjaro package manager to also boot Debian 32 bit userland?
If so then that would be a good solution.
Thanks.
  Reply
#2
I managed to install and boot Debian in a separate partition.
The steps were:-
Boot Armbian on microSD.
Use gparted to shrink the Manjaro partition.
Create and mount a new partition.
Use debootstrap to install Debian into the the new partition.
Chroot into the new partition and set the root password.
Copy the Armbian kernel and dtb files into the boot partition but with different file names so that they don't clash with the Manjaro ones.
Configure extlinux.conf with a menu and parameters to boot both either Manjaro or Debian.

So far it works, except that I cannot get x windows to display in the Debian partition.
  Reply
#3
This morning I found that I can actually boot the default Manjaro kernel with Debian 32 bit root filesystem, so one single kernel for both.
The problem is that I can't see the console.
As the kernel boots I see a few lines and then the screen flashes (I guess it is starting framebuffer console?) and I can no longer see anyway.
x windows is already disabled (with 'systemctl disable sddm') so it's not that.
At one point I was able to blindly type in root, the root password and then reboot, and it did reboot. So it is alive, I just can't see anything.
I added 'nomodeset' to the boot options but that doesn't seem to make any difference.

Is there a definitive boot option that I can put in /boot/extlinux/extlinux.conf which will stop the kernel using framebuffer?

hmm maybe I'm wrong. I set up a serial console using my FTDI serial null modem. Works with the Armbian kernel but not the Manjaro one.
  Reply
#4
For the time being I just used dd to copy the rootfs partition from my Armbian microSD card over a partition on the eMMC.
It works.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot Order in Pinebook Pro food 8 235 11-23-2023, 07:37 AM
Last Post: KC9UDX
  install debian on pbp jsch 7 3,038 11-22-2023, 04:22 PM
Last Post: TRS-80
  Manjaro ARM: enabling external monitors & fixing Broadcom WiFi after updating trifleneurotic 2 355 11-14-2023, 10:57 AM
Last Post: trifleneurotic
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 5,794 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Manjaro [ARM Stable Update] 2021-07-23 issues Bocanila 1 1,638 08-21-2023, 09:10 PM
Last Post: vanessadonald
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 1,499 08-21-2023, 09:08 PM
Last Post: vanessadonald
  Manjaro - HIbernate - brcmfmac clk issue pompeyPinePro 1 482 08-18-2023, 02:06 AM
Last Post: juliamenendez
  Issue with booting Manjaro from encrypted NVMe drive on pbp Cs137 1 702 08-18-2023, 01:58 AM
Last Post: juliamenendez
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 3,170 07-15-2023, 02:58 PM
Last Post: u974615
  Emergency Mode Boot Hotkey? jiacovelli 20 2,610 06-02-2023, 01:32 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 2 Guest(s)