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
Last revisionBoth sides next revision
tech_notes:boot [2021-12-24 Fri wk51 04:55] – [efibootmgr] baumkptech_notes:boot [2022-08-27 Sat wk34 17:13] – [efibootmgr] 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 17: 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 31: 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:flatpak|Next->
  • /app/www/public/data/pages/tech_notes/boot.txt
  • Last modified: 2023-04-30 Sun wk17 17:43
  • by 127.0.0.1