this post was submitted on 21 Aug 2024
2 points (100.0% liked)

Ask Linux

65 readers
1 users here now

Ask the community any questions about Linux

founded 5 months ago
MODERATORS
 

I am trying to create an entry in nvram to boot an os of my choice. I have the xxxxxxxxx.efi file for it ready and placed in the second partition that is 32 bit FAT formatted for EFI and also contains my Windows and other OS loaders.

I have understood the syntax for referring to a HDD and its partitions as sda1, sda2 etc. so that I can type /dev/sda2 for eg. But with nvme I am not sure.

I have a single such nvme sdd in the only M2 slot on motherboard. How to address the second partition in it for efibootmgr command?

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 months ago

Essentially, with SSD NVME drives it's for example: /dev/nvme0n1p1

nvme0 means the first drive (0)

n1 means Namespace 1

And finally, p1 is for partition 1.