B4TECHIT courses
Module 1, Lab 2

Bootable USB drive and virtual BIOS

Prepare a drive that boots a PC, then set up the boot.

  • Beginner
  • 45 minutes
  • 16 GB USB drive
White USB drive and memory cards

From the ISO to the boot

  • 1. ISO imageA file that contains the system to install.
  • 2. Bootable driveThe ISO is prepared on a USB drive.
  • 3. BootThe PC starts from the drive, not from its disk.

In a VM, no drive needed: VirtualBox reads the ISO file directly.

Download a safe image

Check the file in a terminal, then compare it with the fingerprint on the website:

certutil -hashfile ubuntu.iso SHA256

Different fingerprint? Do not use the file. Download it again.

A drive with Rufus

One ISO image per drive. Download Rufus

  1. Plug in the drive and open Rufus. Check the drive, then click SÉLECTION (SELECT).

  2. Choose your ISO image, then Ouvrir (Open).

  3. Choose GPT and UEFI, then DÉMARRER (START).

  4. Keep Image ISO (Recommandé) mode, then OK.

  5. Last warning: the drive will be erased. If your files are copied, OK.

  6. Wait until the end. When Rufus shows PRÊT (READY), click FERMER (CLOSE).

Try it here

Simulation: nothing is erased.

Warning: Rufus erases the whole drive. Copy your files first.

Several ISOs with Ventoy

A single drive for Windows, Ubuntu and your tools. Download Ventoy

  1. Open Ventoy2Disk, check the drive, then click Install.

  2. The drive will be erased: Oui (Yes).

  3. Ventoy asks a second time: Oui (Yes).

  4. Ventoy is installed: OK, then close.

  5. Copy your ISO files to the drive, like photos. At boot, pick one from the list.

Secure Boot: at the first boot, a blue screen may ask you to add a key (Enroll Key). This is done once per PC.

Three words to know

  • Boot orderThe order of the devices tried at start-up.
  • UEFIThe modern BIOS. It uses GPT disks.
  • Secure BootIt blocks an unsigned boot.

Review the BIOS sheets

Configure the virtual machine

  1. With the VM off, click Configuration.

  2. Choose Expert, then System. Scroll down and tick UEFI, then Secure Boot.

  3. Click Reset Secure Boot Keys and confirm: without these keys, VirtualBox refuses Secure Boot.

  4. In Storage, click Vide (Empty), then the blue disc to choose the ISO.

  5. The ISO is in the drive: click OK.

  6. Start and press Esc several times. Choose Boot Manager.

  7. Choose CD-ROM: the machine boots from the ISO.

  8. Lubuntu is signed: its menu appears, even with Secure Boot.

Try it here

Boot from the ISO, with and without EFI.

Boot a real PC from the drive

  1. Plug in the drive, with the PC off.
  2. Turn on and press the boot menu key several times. See your brand's key
  3. Choose the UEFI line with the drive's name.
  4. Exit without installing anything, unless your files are backed up.
BIOS boot menu of a laptop
Cropped photo: Paowee, CC BY-SA 4.0

Graded exercise out of 100

You need 80 to pass the lab.