run OpenBSD in Parallels Desktop on Apple M1

Discussion in 'Other Guest OS Types Discussion' started by CCTTW, Jun 27, 2021.

  1. CCTTW

    CCTTW Bit Poster

    Messages:
    1
    I just installed the OpenBSD6.9 in my parallels desktop on Mac mini M1.
    • I download and install FreeBSD 14.0 current.
    I named it as FBSD
    https://download.freebsd.org/ftp/sn...ch64-20210610-597cc550e7b-247271-disc1.iso.xz
    • clone the VM FBSD in Parallels Desktop Controll Center.
    I named it as OBSD
    • configure the VM FBSD
    1. In tab Hardware, click the "Add {+}" button to add the new Hard Disk.
    2. type: exsiting image file, location: from OBSD directory and setlect the FBSD-0.hdd
    • start the FBSD
    https://cdn.openbsd.org/pub/OpenBSD/6.9/arm64/miniroot69.img
    1. copy the miniroot69.img or install69.img, (i use scp, it up to you)
    2. `umount /boot/efi`
    3. `dd if=miniroot69.img of=/dev/ada1 bs=1m`
    4. shutdown and stop this VM
    • start the OBSD
    `set tty fb0`
     
    Elric likes this.
  2. AmanM2

    AmanM2

    Messages:
    2
    @CCTW how did you install? I am unable to install any of the BSDs (including FreeBSD) on apple M1 Parallels. I have posted a separate question for install steps, and a poll regarding the same.
     
  3. Elric

    Elric Parallels Developers

    Messages:
    1,717
    Hi

    There is a bit unclear behaviour of Parallels Destkop. To install BSD download for example https://download.freebsd.org/ftp/sn...aarch64-20211008-67bceb38f46-249945-disc1.iso
    Start the new VM wizard and point it to downloaded ISO. Wizard will not recognize OS. Need to choose "Operating System = Linux" (doesn't matter, Ubuntu/Fedora/Debian/Other) while creating VM. Then all should work.

    Note: if you are using some older FreeBSD image, need to change OSType to "Other" in VM configuration after VM is created
     
  4. nsayer

    nsayer Bit Poster

    Messages:
    33
  5. nsayer

    nsayer Bit Poster

    Messages:
    33
  6. Elric

    Elric Parallels Developers

    Messages:
    1,717
    Hi
    You need aarch64 build of BSD, not the amd64 one
     
  7. mmika

    mmika Kilo Poster

    Messages:
    474
    This instruction is for amd64. Please remove it if you are on M1.
     
  8. nsayer

    nsayer Bit Poster

    Messages:
    33
    OMG, I feel stupid now. I guess my brain saw a...64 and was like, "that one!"
    Naturally the correct image works much better.
     
    Elric likes this.
  9. chatroomw

    chatroomw

    Messages:
    1
    The idea of running another OS "natively" on an Mac doesn't sound very appealing to me. It's almost certain that you'll never get it (...) everything working perfectly

    This is a bit naive. It is still in my memory when this same argument was used regarding the necessity to install Linux on computers integrated with Windows. I can say that it didn't make any difference to me in the past few decades back when I first was installing Mandrake Linux on a Windows laptop. It made no difference for me that I couldn't achieve hardware acceleration or get the webcam to function, while wifi only worked with ndiswrapper. I was able to run the software I wanted to use on the hardware I purchased which is what's important. Chatroom.
    M1 Mac minis are available on market for around 800$ this is a decent price . Their design and style makes them an attractive choice to use as a home server, or workstation. It's beyond comprehension if we couldn't benefit from the hardware and run our selection of software.
     

Share This Page