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
  Pinebook pro won't boot after bootloader installation jwensouls 4 1,138 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Official Debian support moonwalkers 64 66,076 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  Debian on Pinebook Pro u974615 7 3,082 03-31-2024, 10:11 AM
Last Post: u974615
  Manjaro Sway Theme Broken Eighty8 1 864 03-08-2024, 08:41 AM
Last Post: tophneal
Question Manjaro with Full Disk Encryption and GRUB dumetrulo 1 2,412 02-02-2024, 02:45 AM
Last Post: frankkinney
  Manjaro network problem late 2023 acruhl 1 891 01-19-2024, 11:32 PM
Last Post: Kevin Kofler
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,382 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,678 12-11-2023, 03:47 AM
Last Post: calinb
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 929 12-07-2023, 03:11 PM
Last Post: wdt
  Boot Order in Pinebook Pro food 8 2,968 11-23-2023, 07:37 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)