How to Fix Raspberry pi's fstab

Asked 2 years ago, Updated 2 years ago, 46 views

I was trying to use raspy as a file sharing server in the CIFS-compatible application samba.
Up to that point, the operation was normal operation.
Also, at the point where you set the automatic mounting method at startup ↓

Enter a description of the image here
The etx4 part of the fstab file (specifying the Linux file system name behind the mounting destination at the bottom of the UUDI)
I wrote it wrong in ext4.
After that, I couldn't start the raspy, and after that, I rewritten the problem (ext4→etx4), but it still doesn't seem to start.

Please let me know who you are.

By the way, here is the error on the raspies↓↓↓
Enter a description of the image here
. .
Enter a description of the image here

Also, I tried to mount it from my computer's virtual environment (centOS7), but it's stuck because it looks like the following.

mount point does not exist

Also, since the mtab is broken, I think it can't be mounted, so I would appreciate it if you could fix the mtab.
Enter a description of the image here
Please help me.

raspberry-pi

2022-09-29 22:15

1 Answers

If the file system fails to mount at startup, it defaults to emergency mode. How about setting the defaults part of /etc/fstab to nofail?

UUID=xxxxxxxx/var/sambaext4defaults, nofail 00


2022-09-29 22:15

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.