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
tech_notes:boot [2021-12-24 Fri wk51 05:19] – [boot tools] baumkptech_notes:boot [2024-09-22 Sun wk38 17:13] (current) – [Ventoy] baumkp
Line 1: Line 1:
 +{{tag>linux boot uefi ventoy}}
 ======boot tools====== ======boot tools======
  
Line 6: Line 7:
   * ''lsblk'' flags:   * ''lsblk'' flags:
     * ''-f'' to get more verbose output     * ''-f'' to get more verbose output
-    * ''-o to get specific output columns, use ''-h'' option to see list of column options+    * ''-o'' to get specific output columns, use ''-h'' option to see list of column options
   * ''blkid''   * ''blkid''
   * ''ls -l /dev/disk/by-id'', additional list options:   * ''ls -l /dev/disk/by-id'', additional list options:
Line 12: Line 13:
   * ''sudo lshw -class disk''   * ''sudo lshw -class disk''
   * ''findmnt''   * ''findmnt''
 +
 =====UEFI===== =====UEFI=====
  
Line 28: Line 30:
 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 efibootmgr -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 
 +
 +===Delete a boot entry===
 +''%%sudo efibootmgr --delete-bootnum --bootnum 0%%''
 +
 +===Links===
 +  *[[https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples|Use Linux efibootmgr Command to Manage UEFI Boot Menu]]
 +  *[[https://www.linuxjournal.com/content/take-control-your-pc-uefi-secure-boot|Take Control of Your PC with UEFI Secure Boot]]
 +  *[[https://linuxconfig.org/how-to-manage-efi-boot-manager-entries-on-linux|How to manage EFI boot manager entries on Linux]]
 =====GRUB===== =====GRUB=====
  
Line 42: Line 60:
 {{tag>boot ventoy grub "boot menu" tech notes technical uefi efi efibootmgr "grub-efi"}} {{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 ^ tech_notes:pikvm|Next->