LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2023, 03:08 PM   #1
openbsd98324
Member
 
Registered: Feb 2022
Posts: 72

Rep: Reputation: 5
How to boot have a triple Boot for notebook Pinebook Pro (Base Manjaro, NetBSD, and Rescue Desktop on USB Pendrive) ?


Hello,

How to boot have a triple Boot for notebook Pinebook Pro (Base Manjaro, NetBSD, and Rescue Desktop on USB Pendrive) ?

Firstly you need this to have access to the pbpro.
https://github.com/manjaro-arm/pbpro-images/releases
Manjaro-ARM-minimal-pbpro-23.02.img.gz

mirror:
"https://gitlab.com/openbsd98324/bootloader/-/raw/main/pub/pbpro/sdmmc/working/Manjaro-ARM-minimal-pbpro-23.02.img.gz"
It is required to be into sdmmc and start the pbpro. It will override the mmcblk2 and it will run directly onto mmcblk1. There, you have full access to the machine, i.e. mmcblk2.


It describes what to do how to get it.

1.) In first instance, we can try to describe how the PBPRO boots.

It will look up first at SDMMC and eMMC. U-boot would detect emmc as sd:0 and sdmmc as sd:1. It can be edited and saved into u-boot.
However, the priority is by default to look up at the SDMMC or EMMC, if you have no USB pendrive.

In case you have a u-boot on emmc, it can be slightly different.

We want to have:
NetBSD, Manjaro Custom Base (desktop) and Manjaro running on USB pendrive.

NetBSD is very useful, powerful and very reliable.
It is convenient to have NetBSD for higher flexibility. I use NetBSD for various things, like a file server. NetBSD is really great. Anyhow.
NetBSD has a Desktop, default with CTWM.

ldX will be the SD on netbsd.
/dev/mmcblk1 is the sdmmc running linux
/dev/mmcblk2 is the emmc (very fast !!!)


Read/write:
slower is usb
faster is sdmmc
and very fast is emmc


2.) Download and run NetBSD

== ==
NETBSD on SDMMC pbpro
== ==
eebee92a9341a99c421090f4471a4ba7 NetBSD-9-aarch64--pinebook-pro.img.gz
== ==
https://forum.pine64.org/showthread....197&pid=112352
We all suppose use use now linux to create the SDMMC with NetBSD.

Code:
zcat NetBSD-9-aarch64--pinebook-pro.img.gz > /dev/mmcblk1
Now you can boot to test, run and use NetBSD out of SDMMC !
Great! The desktop works.
urtwn0 will be your USB dongle for wifi.

3.) Copy the Manjaro KDE onto a USB pendrive

Power On (make sure to have a SDMMC with Netbsd for instance).
Take care to not have dupplicate UUID.
So we keep NetBSD on SDMMC, it is rock solid.

You can download and copy on USB
https://github.com/manjaro-arm/pbpro...o-22.06.img.xz

Place your USB stick on right or left USB slot.
Left is the first taken into consideration during boot.



4.) Create your custom Linux on your emmc ...

Install arch-install-scripts

Format the emmc and create needed partitions.
pacstrap -i . base dhcpcd wpa_supplicant

edit /boot onto /dev/sda1 to have /dev/mmcblk2p2 (I use this for the rootfs of manjaro base).
Extlinux configuration will allow to set where is your rootfs.

boot and you may need the wifi...

On your new base manjaro system:
mount /dev/sda2 /mnt/
cp -a /mnt/lib/modules /lib/modules
cp -a /mnt/lib/firmware /lib/firmware

( / is your base manjaro system ).

After, pacstrap ... for instance lxde, xfce4...

You can either place U-Boot onto /dev/mmcblk2 or onto your USB pendrive.


5.) Alternatively you want to have a superbe boot to select.

Tow
https://www.youtube.com/watch?v=wCVcjwpDCYo

Last edited by openbsd98324; 10-26-2023 at 04:33 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to boot the notebook Pinebook Pro from USB ? openbsd98324 Linux - General 0 02-17-2023 12:45 PM
PineBook Pro update and upgrade to 5.18.12: unable to boot wowbaggerHU slarm64 69 09-18-2022 12:21 PM
Boot Loader updates available for the RockPro64 and PineBook Pro drmozes Slackware - ARM 8 05-15-2022 02:14 PM
Will Manjaro Linux Net edition act like Manjaro or a base install of Arch? punchy71 Linux - Newbie 4 06-28-2014 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration