Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tech_notes:boot [2021-12-24 Fri wk51 04:52] – [efibootmgr] baumkptech_notes:boot [2022-01-16 Sun wk02 11:33] baumkp
Line 1: Line 1:
 +{{tag>linux boot uefi ventoy}}
 ======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===== =====UEFI=====
Line 15: Line 28:
 ===Change Boot Order=== ===Change Boot Order===
 Take the displayed BootOrder and and append and adjust to the following command to adjust: ''sudo efibootmgr -o''\\ 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'' +Current: ''BootOrder: 0003,000A,0002,000B,0001,0006,0007,0008,0009,0000''\\ 
-Adjusted: ''sudo efiboot-o 0002,000B,0003,000A,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  
 + 
 +===Links=== 
 +  *[[https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples|Use Linux efibootmgr Command to Manage UEFI Boot Menu]]
 =====GRUB===== =====GRUB=====
 +
  
 =====Ventoy===== =====Ventoy=====