PINE64
pmbootstrap on Mac OSX - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124)
+---- Thread: pmbootstrap on Mac OSX (/showthread.php?tid=9311)



pmbootstrap on Mac OSX - srfne - 02-29-2020

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?


RE: pmbootstrap on Mac OSX - PureTryOut - 02-29-2020

(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.


RE: pmbootstrap on Mac OSX - srfne - 02-29-2020

(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.