2025-05-08 4:23 AM - edited 2025-05-08 5:10 AM
Hi,
I am using the stm32mp157-disco board and trying to mount one of my sd card partitions to my linux VFS at boot time with systemd. I have modified the file /etc/fstab, adding the following entry:
# <file system> <mount pt> <type> <options> <dump> <pass>
/dev/mmcblk0p8 /boot ext4 defaults,nofail 0 2
but somehow systemd cannot mount the partition before the timeout.
I've been unable to change the timeout for the disk mounting by adding x-systemd.mount-timeout under the <options> term of the entry. It seems that Openstlinux has been able to ignore the params in /etc/fstab.
However, I can mount the same disk partition with command:
mount /dev/mmcblk0p8 /boot
after the login. So I am not sure what I have missed. Can someone share me some light here? Thank you.
boot info:
journal log:
Solved! Go to Solution.
2025-05-30 1:16 AM
I figure out that it is the device (sd card) wasn't able to start up in time during the boot. So increasing the mount time with x-systemd.mount-timeout wouldn't help, instead, need to use the x-systemd.device-timeout to add more time to allow linux to discover the device in /etc/fstab.
2025-05-30 1:16 AM
I figure out that it is the device (sd card) wasn't able to start up in time during the boot. So increasing the mount time with x-systemd.mount-timeout wouldn't help, instead, need to use the x-systemd.device-timeout to add more time to allow linux to discover the device in /etc/fstab.