pmbootstrap on Mac OSX
#1
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?
#2
(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.
#3
(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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  pmbootstrap error lat 2 3,437 12-22-2020, 06:32 PM
Last Post: lat
  pmbootstrap issues IVp 3 5,155 09-24-2020, 02:24 AM
Last Post: Pinethom
  pmbootstrap build large keyboard not usable u20200719 5 6,863 07-25-2020, 02:31 PM
Last Post: u20200719
  pmbootstrap to sdcard Jeb5Blovrueb 34 46,503 07-07-2020, 04:17 AM
Last Post: fernando_c_m
  Is it possible to pre-configure wifi and ssh with pmbootstrap? kelbot 2 4,590 07-06-2020, 01:55 AM
Last Post: ChriChri
  Dumb question: do I have to use pmbootstrap? quixote 5 6,816 06-11-2020, 09:23 AM
Last Post: plainenough
  Does pmbootstrap install the latest image? mypine 4 6,026 02-20-2020, 01:02 PM
Last Post: mypine
  pmbootstrap - choose different ui after first run mypine 2 3,933 02-13-2020, 04:35 PM
Last Post: mypine
  pmbootstrap to sdcard on debian 10 ctsm63 2 4,690 01-29-2020, 03:53 PM
Last Post: ctsm63

Forum Jump:


Users browsing this thread: 1 Guest(s)