mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 22:42:21 +00:00
docs(setup): pass the disk and partition number to efibootmgr
The unsigned setup guides passed the EFI System Partition device to efibootmgr -d, which expects the disk, and left out -p, which defaults to partition 1. The command failed, or created a boot entry for the wrong partition when the ESP isn't the first one. Pass the disk and the partition number, as the signed guides do.
This commit is contained in:
1 parent
4e08a078d9
commit
f293bc50a8
3 files changed
+12
-6
No files matched your search
@@ -107,10 +107,12 @@ You may now reboot your system and select Sprout from the GRUB menu.
|
||||
|
||||
You can configure your EFI boot menu to show Sprout as an option.
|
||||
|
||||
To do so, please find the partition device of your EFI System Partition and run the following:
|
||||
To do so, please find the disk and partition number of your EFI System Partition and run the following.
|
||||
For example, if your EFI System Partition is `/dev/nvme0n1p1`, the disk is `/dev/nvme0n1` and the partition
|
||||
number is `1`:
|
||||
|
||||
```bash
|
||||
$ sudo efibootmgr -d /dev/esp_partition_here -C -L 'Sprout' -l '\EFI\BOOT\sprout.efi'
|
||||
$ sudo efibootmgr -d /dev/BLOCK_DEVICE -p PARTITION_NUMBER -C -L 'Sprout' -l '\EFI\BOOT\sprout.efi'
|
||||
```
|
||||
|
||||
This will add a new entry to your EFI boot menu called `Sprout` that will boot Sprout with your configuration.
|
||||
|
||||
Reference in new issue
Block a user