RackNerd Billboard Banner

Boot From a USB Drive in VirtualBox in Linux

You can use a live Linux USB with virtual machines in VirtualBox. It saves you the annoyance of rebooting your host machine.




Since this is a tutorial for advanced users, I am leaving out a few steps that you need beforehand:
– VirtualBox installed on your Linux system – How to Install VirtualBox on Ubuntu [Beginner’s Tutorial]
– A live Linux USB, preferably Using Ventoy – Install and Create a Live USB with Ventoy on Linux [Step-by-Step Guide]




Commands:
lsblk
sudo VBoxManage createmedium disk –filename=/path/to/rawdisk.vmdk –variant=RawDisk –format=VMDK –property RawDrive=/dev/sda
sudo chmod 777 Filename.vmdk



Link:
How to Enlarge a Virtual Machine’s Disk in VirtualBox or VMware



Chapters:
0:00 Intro
0:23 Step 1: Create a virtual machine disk file (VMDK)
1:35 Step 2: Boot from USB in VirtualBox in Linux
4:36 End screen




What you will learn:
1. How you can boot from a USB in a virtual machine with VirtualBox
2. How to Use a live session
3. How to boot from a USB drive in VirtualBox on Linux systems
4. Boot from USB drive in VirtualBox in Linux
5. Step 1: Create a virtual machine disk file (VMDK)
a. How to identify the disk name of the USB drive
b. How to list the drives of your system
c. How to use the lsblk command
d. How to use the VBoxManage
e. How to change the permissions using the chmod command
6. Step 2: Boot from USB in VirtualBox in Linux
a. How to name your VM and select the operating system type and its version
b. How to allocate hardware resources for your VM
c. How to Use an Existing Virtual Hard Disk File























Song: Markvard – Spring
Music provided by Vlog No Copyright Music.
Video Link: https://bit.ly/3mDjoY1

#computereverywhere #boot #usbdrive #virtualbox #linux

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

RackNerd Billboard Banner
0 Shares
Copy link