PINE64

Full Version: pmbootstrap on Mac OSX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I do not own pinebook pro (linux computer) yet so I tried to install phosh w/ a Macbook terminal


from top to buttom:

$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3 get-pip.py
$ pip3 --version
$ pip3 install pmbootstrap

$ pmbootstrap init

$ pmbootstrap install --sdcard=/dev/mmcblk0
$ pmbootstrap install --sdcard=/dev/sda

last two commands both generate:

[06:25:26] *** (1/5) PREPARE NATIVE CHROOT ***
[05:29:26] ERROR: [Errno 2] No such file or directory: '/proc/mounts'
[05:29:26] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.

Anyone knows what i'm doing wrong?
(02-29-2020, 07:37 AM)srfne Wrote: [ -> ]Anyone knows what i'm doing wrong?

Yes, you're running pmbootstrap on macOS. We do not support it as we require Linux kernel specific features.

You can install Linux on your Macbook though with bootcamp.

Also, such questions are better asked on our Matrix channel.
(02-29-2020, 10:25 AM)IPureTryOut Wrote: [ -> ]
(02-29-2020, 07:37 AM)srfne Wrote: [ -> ]Anyone knows what i'm doing wrong?

Yes, you're running pmbootstrap on macOS. We do not support it as we require Linux kernel specific features.

You can install Linux on your Macbook though with bootcamp.

Also, such questions are better asked on our Matrix channel.

Wow. Amazing! That was a fast answer. Smile I was able to do it with a VM. For who wants to do the same, I needed to do 1 extra thing before I could access my sdcard via the VM:

$ cd "/Users/development/VirtualBox VMs"
$ sudo VBoxManage internalcommands createrawvmdk -filename ./sd-card.vmdk -rawdisk /dev/diskXXX
$ sudo chmod 777 /dev/diskXXX
$ sudo chmod 777 ./sd-card.vmdk

After this I need to select the .vmdk in the settings of my VM and I could start the normal pmbootstrap process.