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: https://imgur.com/a/REflT
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: https://imgur.com/a/REflT
Last edited: