You are not logged in.

#1 2021-09-28 15:16:41

AnotherNoOne
Member
Registered: 2021-09-28
Posts: 2

[Solved] Booting with EFISTUB using partit labels instead of PARTUUID

I am currently in the process of swapping from grub to EFISTUB since i wanted to try out the "no-bootloader" way...

whenever i use

>>> efibootmgr --disk /dev/nvme0n1 --part 5 --create --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=PARTUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX rw initrd=\initramfs-linux.img' --verbose

to generate the boot entry it doesnt boot afterwards and says that it cant find the device PARTUUID= ...

(yes, i did run fstab with -U and i did replace the XXXX... in the command with my actual partuuid)

Is there a way to circumvent this by using partition labels? and what would the entry for root= be ?

root=LABEL=.... ?

Edit/Solution:

root=LABEL=.... for using with FileSystem Labels
root=PARTLABEL=... for using with GPT Partition Labels

Last edited by AnotherNoOne (2021-09-28 17:52:58)

Offline

#2 2021-09-28 15:37:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: [Solved] Booting with EFISTUB using partit labels instead of PARTUUID

Not really, at the point you have access to a LABEL you also have access to a partuuid, unless your UEFI truncates too long entry lines and thus clips the PARTUUID. Did you check the resultant entry on whether it actually contains the full cmdline ?

If  you still want to try that approach: https://wiki.archlinux.org/title/Persis … g#by-label  https://wiki.archlinux.org/title/Persis … parameters

Offline

#3 2021-09-28 16:14:48

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 715

Re: [Solved] Booting with EFISTUB using partit labels instead of PARTUUID

AnotherNoOne wrote:

yes, i did run fstab with -U and i did replace the XXXX... in the command with my actual partuuid

I presume you meant that you ran genfstab -U.
A UUID and PARTUUID are distinct things. One is a property of the file system, the other a property of the partition. The same is true for LABEL vs PARTLABEL.

Make sure you're not mixing them up.

Offline

#4 2021-09-28 16:55:45

AnotherNoOne
Member
Registered: 2021-09-28
Posts: 2

Re: [Solved] Booting with EFISTUB using partit labels instead of PARTUUID

nl6720 wrote:
AnotherNoOne wrote:

yes, i did run fstab with -U and i did replace the XXXX... in the command with my actual partuuid

I presume you meant that you ran genfstab -U.

Yes.

nl6720 wrote:

A UUID and PARTUUID are distinct things. One is a property of the file system, the other a property of the partition. The same is true for LABEL vs PARTLABEL.

Make sure you're not mixing them up.

Im actually a dumbass. I actually know which is which and still managed to mix it up...

Thx tho for your help!

Offline

#5 2021-09-28 17:23:04

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] Booting with EFISTUB using partit labels instead of PARTUUID

Please remember to mark the thread as [SOLVED].
CoC - How to post


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB