Back  
 Next

boot tools

  • df -h
  • sudo fdisk -l
  • lsblk flags:
    • -f to get more verbose output
    • -o to get specific output columns, use -h option to see list of column options
  • blkid
  • ls -l /dev/disk/by-id, additional list options:
    • ls -l /dev/disk/by-uuid
  • sudo lshw -class disk
  • findmnt

This is a command line utility that allows handling of the UEFI boot menu.

Installation:

  • Debian or derivative: sudo apt install efibootmgr
  • Arch / Manjaro: sudo pacman -S efibootmgr

Display Current Setting

Simply efibootmgr or sudo efibootmgr, use the -v flag for a more verbose output

Change Boot Order

Take the displayed BootOrder and and append and adjust to the following command to adjust: sudo efibootmgr -o
Current: BootOrder: 0003,000A,0002,000B,0001,0006,0007,0008,0009,0000
Adjusted: sudo efibootmgr -o 0002,000B,0003,000A,0001,0006,0007,0008,0009,0000

Add UEFI Boot Entry

Install command grub-efi: sudo apt install grub-efi
Mount the the EFI System Partition: sudo mount /dev/sdd1 /boot/efi
Install Grub boot loader: sudo grub-install /dev/sdd –target=x86_64-efi –efi-directory=boot/efi/

Change boot selection time

sudo efibootmgr -t 10 to set boot selection time to 10 seconds

Delete a boot entry

sudo efibootmgr --delete-bootnum --bootnum 0

What is ventoy
Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.

  • With ventoy, you don't need to format the disk over and over, you just need to copy the ISO/WIM/IMG/VHD(x)/EFI files to the USB drive and boot them directly.
  • You can copy many files at a time and ventoy will give you a boot menu to select them (screenshot).
  • x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI are supported in the same way.
  • Most type of OS supported (Windows/WinPE/Linux/ChromeOS/Unix/VMware/Xen…)

This can be loaded on to a USB disk instead of a flash drive for a potential better overall experience.

Back  
 Next
  • /mnt/shared/www/dokuwiki/data/pages/tech_notes/boot.txt
  • Last modified: 2022-08-27 Sat wk34 17:13
  • by baumkp