PINE64
Can we dualboot eMMC and SSD - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Can we dualboot eMMC and SSD (/showthread.php?tid=11458)



Can we dualboot eMMC and SSD - Madiator2011 - 09-15-2020

Hi guys.
Recently I got my Pinebook Pro and M.2 adapter.
And here is my question is it possible to dual/triple boot?
Like Manjaro installed on eMMC, Kail Linux installed on SSD and SD Card for Elementry OS (or other distros for testing) .
As far I know Pinebook not have BIOS and bootorder is SD Card > eMMC > SSD
Would be happy to have something like GRUB so I could switch OS on power up Smile
Thank you


RE: Can we dualboot eMMC and SSD - Arwen - 09-15-2020

Over time it will likely be possible to multi-boot different OSes, even on the same storage device.

There is an experimental U-Boot with 2 separate menus. One for device selection, like eMMC or SD card. The other for kernel or partition. It's not quite as easy to use as Grub. And their are limitations. Here is the thread discussing it;

https://forum.pine64.org/showthread.php?tid=10694

I have it on one of my Pinebook Pros, seems nice. Can even be written to SPI.


RE: Can we dualboot eMMC and SSD - Madiator2011 - 09-15-2020

(09-15-2020, 04:52 AM)Arwen Wrote: Over time it will likely be possible to multi-boot different OSes, even on the same storage device.

There is an experimental U-Boot with 2 separate menus. One for device selection, like eMMC or SD card. The other for kernel or partition. It's not quite as easy to use as Grub. And their are limitations. Here is the thread discussing it;

https://forum.pine64.org/showthread.php?tid=10694

I have it on one of my Pinebook Pros, seems nice. Can even be written to SPI.

Is there any guide for setup U-Boot? I'm not scared of terminal Big Grin xd


RE: Can we dualboot eMMC and SSD - Arwen - 09-16-2020

@Madiator2011, As for a guide setting up U-Boot, I don't think so.

Most, (if not all?), SPI flash versions of U-Boot are a single binary file that gets flashed to the SPI device. But, for eMMC and SD card, their are 3 separate pieces of U-Boot;
Code:
Offset      End     Size   Type
    64    16383    16320   idbloader.img
  16384    24575     8192   u-boot.img
  24576    32767     8192   trust.img