This is an old revision of the document!
boot tools
list drives
df -h
sudo fdisk -l
lsblk
flags:-f
to get more verbose output-o to get specific output columns, use
-hoption 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=====UEFI===== ====efibootmgr==== 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
efibootmgror
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
BootOrder: 0003,000A,0002,000B,0001,0006,0007,0008,0009,0000
Current:
sudo efibootmgr -o 0002,000B,0003,000A,0001,0006,0007,0008,0009,0000''
Adjusted:
GRUB
Ventoy
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.