You are not logged in.

#1 2025-03-11 18:46:36

IonizedBanana
Member
Registered: 2025-01-29
Posts: 16

drive labels change and mess with my boot

I've looked into this enough to know  that this is normal, and that the "nvme0n1" isnt hard coded, I also know I should be using uuid for a more consistent boot, but I cant figure out how to do that. (first time manually installing)

my /etc/fstab:

UUID=e184ad9e-ace3-4743-a14d-f5dcc6a51535
/dev/nvme0n1p7      	/         	ext4      	rw,relatime	0 1

UUID=8495-4D32
/dev/nvme0n1p5      	/boot/efi 	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2

UUID=86cfc1c0-8e5b-460a-8e5f-aef0f4301041
/dev/nvme0n1p6      	none      	swap      	defaults  	0 0

#UUID=e184ad9e-ace3-4743-a14d-f5dcc6acc6a51535 /         ext4 rw,realtime                                           0 1
#UUID=8495-4D32 				     /boot/efi vfat defaults,nodev,nosuid,noexec,fmask=0022,dmask=0022,iocharset=ascii,shortname=mixed,etf8,errors=remount=ro 0 2
#UUID=86cfc1c0-8e5b-460a-8e5f-aef0f4e01041     none      swap defaults                                              0 0

the bottom commented out stuff is where I tried to change the format to follow the arch wiki guide of uuid fstab formatting, but trying to boot immediately failed. the top was made by piping genfstab /mnt in the arch iso to my fstab file

worth noting maybe that when I installed grub the UUID lines were commented out, do I need to reinstall grub for it to grab the UUID?? any help appreciated, tired of having to boot twice every other time I start my pc

Offline

#2 2025-03-11 18:52:42

cryptearth
Member
Registered: 2024-02-03
Posts: 2,127

Re: drive labels change and mess with my boot

how did you install arch?
if your answer is any different from https://wiki.archlinux.org/title/Installation_guide wipe and start over with https://wiki.archlinux.org/title/Installation_guide and with https://wiki.archlinux.org/title/Installation_guide only!
any other way (aside from archinstall) is not supported: https://bbs.archlinux.org/misc.php?action=rules

Offline

#3 2025-03-11 18:55:13

jonno2002
Member
Registered: 2016-11-21
Posts: 855

Re: drive labels change and mess with my boot

you have an error in your uuid for the root partition

Offline

#4 2025-03-11 18:55:30

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,450

Re: drive labels change and mess with my boot

That /etc/fstab is a complete mess. Did you read either `man stab` or the Wiki article?

Offline

#5 2025-03-11 18:57:14

jonno2002
Member
Registered: 2016-11-21
Posts: 855

Re: drive labels change and mess with my boot

you have an error in your uuid for the root partition

EDIT:
see the problem here:

UUID=e184ad9e-ace3-4743-a14d-f5dcc6a51535
vs
#UUID=e184ad9e-ace3-4743-a14d-f5dcc6acc6a51535

EDIT2:
wtf happened there... too early in the morning for me i think.
i think he was trying to show what he had done and not show a working fstab, if that is the working fstab then yea its very broken

Last edited by jonno2002 (2025-03-11 18:59:43)

Offline

#6 2025-03-11 20:52:37

IonizedBanana
Member
Registered: 2025-01-29
Posts: 16

Re: drive labels change and mess with my boot

cryptearth wrote:

how did you install arch?
if your answer is any different from https://wiki.archlinux.org/title/Installation_guide wipe and start over with https://wiki.archlinux.org/title/Installation_guide and with https://wiki.archlinux.org/title/Installation_guide only!
any other way (aside from archinstall) is not supported: https://bbs.archlinux.org/misc.php?action=rules

how else would one install it? followed a youtube video that explicitly followed the wiki, and clicked on links in the wiki if I got confused

thanks jonno for pointing out the error but that was actually just me missing parts of it when i copy pasted it lol, also sorry for it being a mess, it is not my actual fstab that was the two formats I tried previously, bottom one was what the wiki says on the fstab page and top was just what genfstab gave me so dont shoot me ig

anyway i think i figured it out by following the genfstab wiki page instead of just the fstab page, different formatting and such

Offline

#7 2025-03-11 22:54:33

cryptearth
Member
Registered: 2024-02-03
Posts: 2,127

Re: drive labels change and mess with my boot

IonizedBanana wrote:

followed a youtube video
anyway i think i figured it out by following the genfstab wiki page instead of just the fstab page, different formatting and such

and here we go again
your fstab using kernel device nodes instead of uuids is a dead giveaway that you clearly not followed the official arch install guide - as it uses explicit the -U flag: https://wiki.archlinux.org/title/Instal … uide#Fstab which generates a fstab with uuids
so very obvious the video you followed made some mistake and you fell for it and did the same - resulting in issues

hence: do NOT! follow any random videos or AI or guides on the internet - ALWAYS use the official wiki ONLY!

otherwise you won't get support - these are the rules you agreed upon on registration https://bbs.archlinux.org/misc.php?action=rules and already violated them

also: don't full quote

Offline

#8 2025-03-12 08:07:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: drive labels change and mess with my boot

anyway i think i figured it out

Is there still an open problem and what does your fstab look like now?

followed a youtube video that explicitly followed the some parts of a version of the wiki, and clicked on links in the wiki if I got confused whenever I noticed some obvious bullshit in that video

ftfy, and the problem is all the bullshit in the video you didn't notice.

There's no predefined way to install archlinux, hence it's not a linear process, hence it cannot be done along a linear medium. --qed
These videos replicate the process that might or not (hollywood magic of editing) worked for the creator, but will not only be spoiled by there preferences, but, worse silent implications of /their/ system not applicable to /your/ system.
And the best outcome is that you now have an installation but no understanding of it - what will run you into trouble mainting it.

You may take those videos as inspiration or general idea of what it's like, but "following" them is a failing strategy.

Offline

#9 2025-03-12 15:09:27

IonizedBanana
Member
Registered: 2025-01-29
Posts: 16

Re: drive labels change and mess with my boot

Is there still an open problem and what does your fstab look like now?

yeah works fine now it was just the different formatting from the genfstab page and the regular fstab page (or rather how I immitated them probably)

I'll post my fstab and exactly what I did to fix it later when I get home

Last edited by IonizedBanana (2025-03-12 15:13:57)

Offline

#10 2025-03-12 15:15:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: drive labels change and mess with my boot

<= Look to the left.
Do you seriously consider me being "baited" by some idiot on youtube 6 years ago?

The assertion is rather based on twice that time helping out people on this board and a constant pattern of "I followed a youtube video and now everything's broken" and you unawareness of what a sane fstab loks like after allegedly running archlinux for two years falls right into that.

only reason I even posted this thread is because I didnt see the genfstab wiki page specifically that has the proper formatting for my file

There's a valid fstab example at the top of the fstab wiki…

apparently enjoying audio is illegal, since one flag being different is a glaring mistake (it wouldve worked fine for most people)

I've no idea what you're trying to talk about here.

Offline

#11 2025-03-12 18:17:42

cryptearth
Member
Registered: 2024-02-03
Posts: 2,127

Re: drive labels change and mess with my boot

IonizedBanana wrote:

yeah works fine now it was just the different formatting from the genfstab page and the regular fstab page (or rather how I immitated them probably)

both pages have this warning in a red box

wiki wrote:

Warning: Kernel name descriptors for block devices are not persistent and can change each boot, they should not be used in configuration files (including /etc/fstab).

Offline

#12 2025-03-12 18:30:55

loqs
Member
Registered: 2014-03-06
Posts: 18,875

Re: drive labels change and mess with my boot

Is the bootloader using a persistent block device name or does that need adjustment in addition to the fstab?

Offline

Board footer

Powered by FluxBB