Commit 1069bb96 authored by Dario's avatar Dario
Browse files

Added images to 09 (dualboot)

parent f67f1757
# How to Dual Boot Parrot Security And Windows #
<h1 align="center"> Dualboot with Windows</h1>
Parrot Security is often best installed in a dual-boot system. This allows you to run Linux on your actual hardware, but you can always reboot into Windows if you need to run Windows software or play PC games.
It's possible to install ParrotOS alongside Windows, thanks to GRUB and a correct partitioning.
Setting up Parrot Security on a dual-boot system is fairly simple, and the principles are the same for every Linux distribution. Dual-booting Linux on a Mac or a Chromebook is a different process.
**NOTE:** Disable Secure Boot and CSM from UEFI settings in your machine.
Here’s the **basic** process you’ll need to follow:
After following the steps for setting the [Parrot Installation](./ before partitioning, the situation will be similar to this:
<img src="./images/dualboot/db1.png"/>
### Install Windows First ###
There are two ways for proceeding.
Your PC probably already has Windows installed on it. If you’re setting up a PC from scratch, be sure to select the “Custom install” option and tell Windows to use only part of the hard drive, leaving some allocated space left over for Parrot Security. This will save you the trouble of resizing the partition later.
If you already have windows installed, then follow the next of instructions.
## Method 1: Manual Partitioning
This method gives the freedom to choose for ParrotOS the desired amount of space and the number of partitions wanted.
### Windows Already Installed ###
**NOTE:** The **Security** edition needs *at least* 40GB of space, **Home** edition needs *at least* 20GB of space (which has been used for this guide.). No Swap partition has been set because it has been used an SSD.
If you already have Windows installed, that’s fine. If not, be sure to install Windows first, before you install Parrot Security system. If you install Parrot Security second, it can set up its boot loader properly to happily co-exist with Windows. if you install Windows second, it will ignore Parrot Security, and you’ll have to go through some trouble to get your Parrot Security GRUB boot loader working again.
Select **Manual Partitioning** then click on *Next*.
<img src="./images/dualboot/db3.png"/>
You'll see something similar to this:
<img src="./images/dualboot/db4.png"/>
Choose your Parrot Security distribution and put its installer on a USB drive or DVD. Boot from that drive and install it on your system, making sure you select the option that installs it on the hard drive we are going to create in windows.
Don’t tell it to wipe your hard drive. It’ll automatically set up a GRUB boot loader menu that lets you choose your preferred operating system each time you boot your computer.
Although the broad outlines are simple, this can be complicated by a number of issues including UEFI Secure Boot requirements on Windows 8 & 10 PCs and disk encryption.
In detail:
* **/dev/sda1** is the boot partition.
* **/dev/sda2** is MSR (Microsoft Reserved partition).
* **/dev/sda3** is where Windows 10 exists.
* **/dev/sda4** is an hidden partition which contains Windows Files for Recovery.
This is the standard partitioning for Windows, which follows this exact order.
Select **/dev/sda3** then click on *Edit*.
### Partition For Parrot Security ###
You will probably want to resize your Windows system partition to make room for Parrot Security. If you already have some unallocated space or a separate hard drive for Parrot Security, that’s perfect. Otherwise, it’s time to resize that existing Windows partition so you can make space for a new Parrot Security partition.
<img src="./images/dualboot/db5.png"/>
This window will open up:
You can do this in several ways. Most Linux installers allow you to resize Windows NTFS partitions, so you can do this during the installation process. However, you may just want to shrink your Windows system partition from within Windows itself to avoid any potential problems.
<img src="./images/dualboot/db6.png" width="70%"/>
Here is possible to shrink/resize partitions (by dragging the bar or inserting the size in MiB), set flags and mount point.
Drag the bar or set the value for getting the desired partition size (in this case the total amount of the partition size is 60GB, and we dedicated 40GB to Windows, and thereby the remaining 20GB have been assigned to ParrotOS.) then click on *OK*.
To do so, open the Disk Management utility — press Windows Key + R, type *diskmgmt.msc* into the Run dialog, and press Enter. Right-click the Windows system partition — that’s likely your C:\ drive — and select “Shrink Volume.” Shrink it to free up space for your new Parrot Security system.
<img src="./images/dualboot/db7.png" width="70%"/>
This is the updated situation, after shrinking the Windows partition it has been created an unallocated space of 20GB, select it and click on *Create*:
If you’re using BitLocker encryption on Windows, you won’t be able to resize the partition. Instead, you’ll need to open the Control Panel, access the BitLocker settings page, and click the “Suspend protection” link to the right of the encrypted partition you want to resize.
You can then resize it normally, and BitLocker will be re-enabled on the partition after you reboot your computer.
<img src="./images/dualboot/db8.png"/>
These are the settings for new partition, set the file system you want (ParrotOS uses BTRFS by default), set the mount point in / (**root**), then click on *OK*:
### Create Bootable USB/DVD ###
<img src="./images/dualboot/db9.png"/>
Next, make installation media for your Parrot Security system. You can download the ISO file from the [Parrot website]( and burn it to a disk or create a bootable USB drive. Reboot your computer and it should automatically boot from the installation media you’ve inserted. If not, you’ll need to change its boot order or use the UEFI boot menu to boot from a device.
Now, the last step: Set up the boot partition.
On some newer PCs, your PC may refuse to boot from the Linux installation media because Secure Boot is enabled. Many Linux distributions will now boot normally on Secure Boot systems, but not all of them. You may need to disable Secure Boot before installing Parrot Security.
Select **/dev/sda1** and click on *Edit*:
Go through the installer until you reach an option that asks where (or how) you want to install the Parrot Security distribution. This will look different, but you want to choose the option that lets you install Parrot Security on the separate partition you created on Windows (usually labeled free space) or choose a manual partitioning option and create your own partitions.
Don’t tell the installer to take over an entire hard drive or replace Windows, as that’ll wipe away your existing Windows system. So
make sure you partition on the free space or assigned drive you created.
<img src="./images/dualboot/db10.png"/>
Set the mount point in **/boot/efi** then click on *OK*:
<img src="./images/dualboot/db11.png" width="70%"/>
Once you’ve installed Parrot Security, it will install the GRUB boot loader to your system. Whenever you boot your computer, GRUB will load first, allowing you to choose which operating system you want to boot — Windows or Parrot Security.
This is the final situation, proceed with the installation by clicking on *Next*:
You can customize Grub’s options, including which operating system is the default and how long GRUB waits until it automatically boots that default operating system. Most Linux distributions don’t offer easy GRUB configuration applications, so you may need to configure the GRUB boot loader by editing its configuration files.
But as a normal Parrot Security's GRUB does respond well if installed correctly and there is not any problems.
<img src="./images/dualboot/db12.png"/>
## Method 2: Automated Partitioning
This is more way easier. You just have to select **Install alongside** then select **/dev/sda3** within the bar, drag the bottom bar to resize the partition in order to assign the desired amount of space for ParrotOS, then click on *Next* and proceed with the installation.
<img src="./images/dualboot/db2.png"/>
......@@ -16,6 +16,7 @@
- [Install Parrot on VirtualBox](<./08.- Install Parrot on>)
- [Virtualbox Guest Additions](<./15.- Virtualbox Guest>)
- [Parrot on Docker](<./22.- Parrot on>)
- [Dualboot with Windows](<./09.- Dualboot with>)
- [Parrot on QubesOS](<./27.- Parrot on>)
- [Configuration]()
......@@ -42,7 +43,6 @@
- [Parrot USB Live Persistence](<./07.- Parrot USB Live>)
- [Dualboot with Windows](<./09.- Dualboot with>)
- [Change MySQL - PostgreSQL Password](<./12.- Change MySQL - PostgreSQL>)
- [Supported WiFi devices](<./13.- Supported WiFi>)
- [Using a Nvidia GPU on Parrot]()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment