Skip to content

Instantly share code, notes, and snippets.

@Drsheppard01
Created December 21, 2022 08:15
Show Gist options
  • Save Drsheppard01/d5f504b3c4fac349ac4ad6b2323c8cf7 to your computer and use it in GitHub Desktop.
Save Drsheppard01/d5f504b3c4fac349ac4ad6b2323c8cf7 to your computer and use it in GitHub Desktop.
My script for create efi boot entry via efibootmgr
#!/bin/bash
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "Alpine Linux" --loader "/vmlinuz-edge" --unicode "root=/dev/nvme0n1p3 resume=/dev/nvme0n1p2 rw initrd=\intel-ucode.img initrd=\initramfs-edge intel_idle.max_cstate=1 cryptomgr.notests initcall_debug intel_iommu=igfx_off no_timer_check noreplace-smp page_alloc.shuffle=1 rcupdate.rcu_expedited=1 tsc=reliable quiet splash video=SVIDEO-1:d modules=sd-mod,usb-storage,ext4,nvme quiet rootfstype=ext4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment