Booting a Physical Debian Install on Parallels Desktop 12 - Tutorial

Discussion in 'Linux Virtual Machine' started by S.V., Mar 28, 2018.

  1. S.V.

    S.V. Member

    Step by step guide to boot your physical Debian install using Parallels Desktop 12:
    I installed Debian Buster EFI on a SSD Disk.
    0) Change partition code on your Debian SSD to 0700 using gdisk
    First you need to find the dev
    $ sudo fdisk -l
    In my case it was /dev/sda. Then I did:
    $ sudo gdisk /dev/sda

    Choose p to see the partition table and the follow the help to change to 0700. In my case I needed to change Number 2 and Number 3 to 0700 and the final result was:

    Number Start (sector) End (sector) Size Code Name
    1 2048 1050623 512.0 MiB EF00
    2 1050624 1550335 244.0 MiB 0700
    3 1550336 468860927 222.8 GiB 0700

    1) Add a New Virtual Machine
    Now on Parallels Desktop: Choose Install Windows or another OS from a DVD or image file

    2)Check the box : Continue without a source.
    3) Choose Debian GNU/Linux
    4)Check the box: Customize settings before installation
    5)Select Hardware, Hard Disk 1 and remove it (- signal)
    6)Now choose the + signal to re-add a Hard Disk
    7)In type drop-down menu choose Boot Camp
    8)Choose your physical HD with Debian
    9)Check the boxes: Partition 1, Partition 2 and Partition 3
    10)Choose Boot Order on menu and in Advanced Settings check the box: Use EFI Boot (Because I installed EFI. Maybe it is not the case for you)

    ---PD12 wasn't recognising Ubuntu Grub, so I copied a copy of Ubuntu Grub to the EFI Debian Partition---
    11)Mount the EFI partition on your Debian Physical HD. (I used Paragon EXTFS)
    12)Copy the Ubuntu Grub dir to EFI

    In case PD12 boots to grub shell:
    13)Find the kernel partition with ls
    grub> ls

    In my case it was on gpt2:
    grub> set root=(hd0,gpt2)
    Choose the vmlinux you want to boot
    grub> linux /vmlinu complete with TAB
    choose the init according to the vmlinux
    grub> initrd /init complete with TAB
    grub> boot

    14)After booting
    $ sudo su
    $ update-grub
    $ grub-install

    Figure References:
    Last edited: Apr 2, 2018
  2. S.V.

    S.V. Member

    Funny thing is that Step 8 is not allowed with Parallels Desktop 13. Why?

    But I experienced problem when booting the physical partition after installing Parallels Tools. Then I decided to use Debian and it was less problematic.
    Last edited: May 16, 2018
  3. JacobB15

    JacobB15 Bit poster

    Agreed, I cannot get past step 8. It seems that Parallels doesnt care anymore if a linux drive uses code 0700, it still wont detect it :(

Share This Page