this post was submitted on 24 Oct 2023
5 points (100.0% liked)

Linux Questions

1070 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS
 

[Look at comments for solution]

Yeah, can't really explain why either...

#* /dev/nvme0n1p4 LABEL=Gentoo_ROOT UUID=1904b32b-44e0-47c0-9896-f2a72462ba35 / ext4 rw,relatime 0 1

#* /dev/nvme0n1p5 UUID=da7160d5-2c7b-4dee-99a2-f77fd94fd50c /home ext4 rw,relatime 0 2

#* /dev/nvme0n1p6 LABEL=GENTOO_BOOT UUID=3549-4E88 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2

^^Work

#* /dev/sdb3 LABEL=2TB\134x20HDD\134x20P2 UUID=3abcc113-850d-4e7a-88fb-f183907b3b55 /run/media/presi300/2TB\134x5cx20HDD\134x5cx20P2 ext4 auto,rw,relatime 0 2

#* /dev/sdc1 UUID=35bb39b3-650d-45d5-bf13-795edf483ca2 /run/media/presi300/35bb39b3-650d-45d5-bf13-795edf483ca2 ext4 auto,rw,relatime 0 2

#* /dev/sdb1 LABEL=2TBP1 UUID=0c9f4f41-5129-4829-8666-c1c7ee6b0ff0 /run/media/presi300/2TBP1 ext4 auto,rw,relatime 0 2

#* /dev/sda1 LABEL=1TB UUID=199a489b-a592-4546-9b38-8ba1f0365a34 /run/media/presi300/1TB ext4 auto,rw,relatime 0 2

^^Ignored

I've tried changing pretty much everything in /etc/fstab to no effect, another weird thing is that the system can boot without /etc/fstab being present... Though only the ROOT partition gets mounted. Any Ideas? (Ignore the *s, they are so that the # appears instead of lemmy enlarging the text)

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

Any reason to mount them under /run/media from fstab ? Do they mount correctly when mounted manually?

[–] [email protected] 2 points 1 year ago (1 children)

Dunno, genfstab generated it like this, and what fixed it is moving them from mounting on /run/media to mounting on /mnt

[–] [email protected] 1 points 1 year ago

I think that's because /run is a virtual filesystem, like /proc or /sys. It only mounts after a certain point during the boot process. /mnt or any directory under your home dir should work.

[–] [email protected] 2 points 1 year ago (1 children)

#* /dev/sdb3 LABEL=2TB\134x20HDD\134x20P2 UUID=3abcc113-850d-4e7a-88fb-f183907b3b55 /run/media/presi300/2TB\134x5cx20HDD\134x5cx20P2 ext4 auto,rw,relatime 0 2

Is there a reason you have backslashes in your mount point there or is that just a typo from posting here?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Dunno, that's how gparted named it, the actual name of it is "2TB HDD P2"

[–] [email protected] 1 points 1 year ago

Try commenting out that one drive and see if the others work. It may be hanging on that one drive and ignoring the others because they come after it.