You are not logged in.

#1 2013-12-18 13:47:15

luther7hrol
Member
Registered: 2013-12-09
Posts: 33

Can't mount ext4 partitions at boot

Hey,

I can't mount my second ext4 partition at boot of my Arch.
Manual mounting works just fine.
I have tried adding this line in /etc/fstab after I had chowned /mnt/linux:

UUID=PARTITION'S_UUID    /mnt/linux     ext4     defaults     0     0

I tried with "defaults  0  2" too and also tried using /dev/sdaX instead of UUID. Nothing works.

My NTFS mounts just fine at boot, but ext4 won't, and it gives me "S to skip mounting, M for manual recovery".
I have been trying to configure a similar setup on my friend's Linux Mint, and same problem.
And yes I am in wheel and storage group.
Why is this so (what I am doing wrong)?

Thanks.

Last edited by luther7hrol (2013-12-18 23:17:24)

Offline

#2 2013-12-18 13:51:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't mount ext4 partitions at boot

Why not use 'ext4' instead of 'auto'? Pass (the last number) should be 2.

Offline

#3 2013-12-18 23:16:54

luther7hrol
Member
Registered: 2013-12-09
Posts: 33

Re: Can't mount ext4 partitions at boot

Sorry, my mistake, actually this was a tipfeller, in reality I do use ext4 instead...

Offline

#4 2013-12-18 23:26:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't mount ext4 partitions at boot

Are you sure the UUIDs are correct and mountpoint exists?
Is it a usb drive? Maybe you need to wait a bit, add a delay at boot or mount it later.

Offline

#5 2013-12-18 23:26:55

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Can't mount ext4 partitions at boot

Are you sure the UUID is correct?

Personally, I have never seen this "S to skip mounting, M for manual recovery" in Arch.. systemd normally just dumps you to an emergency shell if it can't mount something. Are you using a different init?

luther7hrol wrote:

And yes I am in wheel and storage group.

Why would this matter at boot up? You should probably remove yourself from storage if you're using systemd/logind. It's not necessary to be in that group any more.

Last edited by WorMzy (2013-12-18 23:31:29)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2013-12-19 19:06:19

luther7hrol
Member
Registered: 2013-12-09
Posts: 33

Re: Can't mount ext4 partitions at boot

Thank you guys, I recently discovered the ls -l /dev/by-uuid/ command for a correct UUID listing, so I suppose this was the point where I had made mistake. I've just tried again and succeeded :-)

Last edited by luther7hrol (2013-12-19 19:08:22)

Offline

#7 2013-12-19 19:12:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't mount ext4 partitions at boot

You can also use 'lsblk -f' ro e.g. 'lsblk -no UUID /dev/sda2' https://wiki.archlinux.org/index.php/Fstab#UUID
And it's 'ls -l /dev/disk/by-uuid/'.

Last edited by karol (2013-12-19 19:38:20)

Offline

#8 2013-12-20 17:20:22

luther7hrol
Member
Registered: 2013-12-09
Posts: 33

Re: Can't mount ext4 partitions at boot

Thank you!

Offline

#9 2013-12-20 17:36:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't mount ext4 partitions at boot

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

Board footer

Powered by FluxBB