tech_notes:boot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
tech_notes:boot [2021-09-24 Fri wk38 15:21] baumkptech_notes:boot [2021-12-24 Fri wk51 05:28] – [efibootmgr] baumkp
Line 1: Line 1:
 ======boot tools====== ======boot tools======
 +
 +=====list drives=====
 +  * ''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''
 +
 +=====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 ''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/''\\
 =====GRUB===== =====GRUB=====
 +
  
 =====Ventoy===== =====Ventoy=====
Line 11: Line 46:
 //**This can be loaded on to a USB disk instead of a flash drive for a potential better overall experience.**// //**This can be loaded on to a USB disk instead of a flash drive for a potential better overall experience.**//
  
-{{tag>boot ventoy grub "boot menu" tech notes technical}}+{{tag>boot ventoy grub "boot menu" tech notes technical uefi efi efibootmgr "grub-efi"}}
  
 <- tech_notes:iperf|Back ^ tech_notes:index|Start page ^ -> <- tech_notes:iperf|Back ^ tech_notes:index|Start page ^ ->
  • /app/www/public/data/pages/tech_notes/boot.txt
  • Last modified: 2023-04-30 Sun wk17 17:43
  • by 127.0.0.1