Skip to content
Home » USB

USB

Visit Tacticalware.com for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

ENCRYPTED PERSISTENT PARROT OS INSTALL ON USB-C M.2 NVMe 2280 DRIVE

From time to time, I find the need to run Parrot OS, and don’t want to keep an extra computer around to run it on, and running it from a regular USB Drive is too slow. For me to meet my needs, I have installed Parrot OS on a SANDISK USB-C Drive, and used that to create an Encrypted, Persistent USB-C NVME M.2 2280 Drive. Here is how I created the system

Purchase the following:
USB Drive:  
https://amzn.to/3lic3X5

NVME M.2 Drive & USB-C Enclosure:
Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Once the hardware arrives you will need to download Parrot OS to your Windows 10 computer
https://www.parrotsec.org/download/

At the time of writing, this is the most recent version of the software:
https://download.parrot.sh/parrot/iso/4.10/Parrot-security-4.10_amd64.iso

Once Parrot OS is downloaded, you will need a way to write it to the SANDISK Usb Drive above using Etcher
Download Etcher from https://www.balena.io/etcher/
Install Etcher onto your Windows 10 computer
Plug your SANDISK USB Drive into the Windows 10 Computer
Open balenaEtcher
Click Select Image
Select your Parrot OS image
Your SANDISK USB Drive should be automatically found and selected by Etcher
Click Flash
The image will now be written to the SANDISK USB Drive
When the image has completed writing you will see the message Flash Complete!
Close Etcher

Assemble your USB-C NVME Drive, and Plug it into a USB-C port on your Windows 10 Computer
Format this drive as ExFat
Once the formatting is complete, Shutdown the computer
And here, I recommend unplugging your Windows drives, to ensure they do not get overwritten

Now, Boot your system to the SANDISK, you can usually do this by pressing F12 during bootup and selecting the SANDISK Drive

From the Parrot OS boot menu, select Encrypted Persistence
Press Enter
Once you are on the Parrot OS Desktop
Double Click Install Parrot
Click Next 3 times
Select Storage Device should show your NVMe Drive
Select it, and click Erase Disk
Place a Checkmark in the box that says Encrypt System
Set the Passphrase, and Confirm it
Click Next
Click Install
Click Install Now
Once it is finished, click Done
Shutdown the system
Remove the Sandisk
AND Finally, boot from the NVMe USB Drive

You are now Running Parrot OS from a removable, and FAST Drive! Congrats!

After you are done using parrot, simply shut it down, unplug the USB-C drive, and boot your computer normally

Make sure you go back and plug back in your Windows drives.

You can now insert the USB-C drive into any computer, and fire it up. Make sure you boot from a USB-C port, instead of the normal SSD/HDD. Most computers will allow you to choose it if you keep tapping F12 during boot.



HOW TO CHECK MARLIN FIRMWARE VERSION USING PRONTERFACE

This is a quick one

Open Pronterface

Connect the motherboard to the computer using USB cable

Make sure any jumpers for USB are enabled on the motherboard (instead of power supply)

In Pronterface, click Connect

You will see the following message

Connecting…
Printer is now online.

Next type in M115 and press Send

Your firmware will now be listed…

SENDING:M115
FIRMWARE_NAME:Marlin 2.0.5.3 (GitHub) SOURCE_CODE_URL:https://github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0

Ubuntu Server 16.04.05 USB Installation Requesting CD-ROM

How to fix the Insert CD-ROM Notification when you are not installing from CD-ROM

This fix is simple.  You are running the Ubuntu server installation from a USB drive. 

You get the dialog box asking for the CD-ROM…Simply remove the USB drive (that has the installation media on it) from the port that it is plugged into. 

Move it to another USB Port….and the installation will find the device, think it is a CD-ROM and the install will continue.

Automatically Mount USB Drive on Raspberry Pi

RASPBERRY PI – Automatically Mount USB Drive

 

This guide explains how to get your External USB Drive to be recognized and automatically mounted using Raspberry Pi

Open a command prompt

Type
sudo bash and press enter

apt-get install usbmount and press enter

The software will now install

After it installs type
df -h and press enter

Make a note of the listed drives

Plug in your USB drive

Type
df -h and press enter

You will now see your USB Drive



Thanks for reading

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Mount USB Drive

How to Mount a USB Drive on Ubuntu Server

Login

sudo bash

fdisk -l

Identify the usb drive by looking for the size/name/etc and then note the path (ex /dev/sdb)

mount /dev/sdb /mnt

cd /mnt

Now you should see your files!

Install Xubuntu 13.04 onto USB Drive

Download Xubuntu 13.04 x64

Burn the iso to a DVD
(if you need instructions for this please visit this page:)

Insert the XUbuntu 13.04 x64 DVD into the PC

Insert the USB Drive that you will be running the OS on

Power on the computer

Select DVD Drive to boot from

The PC will boot from the DVD

Select Install XUbuntu

Make sure it is connected to the internet and click Continue

Select Something Else and click Continue

Hit the Drop Down menu and Select the USB Drive

My USB drive shows up as /dev/sdb1

Select the USB Drive and click the – symbol to delete all partitions

Select the USB Drive now and click the + symbol

Set the size to 1024, Set the USE AS to SWAP AREA, and click OK

Click on the Free Space on the USB Drive again and select the + symbol

Set the Mount Point to and click OK

Click on the USB drive one last time and select Install Now

Select your timezone and click Continue

Select your keyboard layout and click continue

Set your name, computer name, password, confirm the password, login automatically, and click Continue

The OS will now install to the USB Drive

After the Installation completes, click Restart Now

Remove the DVD

Boot from the USB Drive

Burning the Ubuntu Server 16.04.04 ISO onto a USB

Step One – Prepare the OS Installation Media

Below you will find the default way in which I use a Windows 10 Computer, Etcher, and a USB Drive, to create and install Ubuntu Server 16.04.04 onto a mining rig.  Once you have that ISO flashed onto a USB drive, you can go from mining rig to mining rig, installing the Operating System.  So this really is step one in the entire process.  This guide will in turn become the starting point for each linux based coin/token/masternode that we will gather.  Shoot me any questions you have.

From your Windows 10 machine, Download and install the Bittorrent Client:

http://www.bittorrent.com/downloads/complete/track/stable/os/win

 

Then download the Official Ubuntu Server 16.04.04 (x64) Release:

Finally, Download and Install Etcher (this will write your ISO to the USB Drive)

https://etcher.io/

Once the Ubuntu software has been downloaded, insert a USB drive to write the Operating System Installer to

Make sure this USB drive has nothing else on it.   Everything will be erased

To write Ubuntu to the USB drive:

Open Etcher

Click Select Image

Navigate to where you downloaded the Ubuntu ISO (it is probably located in your Downloads folder)

Select the ubuntu-16.04.4-server-amd64 image and click Open

Click Select Drive

Select the USB drive

Click Continue

Click Flash

Select Continue to Flash the drive

It should take a few minutes for Ubuntu Server to be written to the USB drive

When it has completed flashing the USB drive you can click the X at the top right corner to close the window

Now, you are ready to begin the installation.  So, insert it into a USB 3.0 port on your mining rig, and turn the rig on