Root password for maintenance

Hello ,
Following to a mistake in the /etc/fstab ( nfs mountage added), i can’t anymore access my system.

On the console , the following message appears : give root password for maintenance or type Control-D to continue.
But Control-D don’t do anything…and I try a a lot of password but no one works…

I can’t anymore access the system via ssh.

Could you please send me th root password?
Or are there a way to reaccess my system and modify my fstab.

Thanks…and sorry for my poor english.

We don’t have a root password. The account is just locked. I would recommend you mount the SD card on another machine and edit fstab there

I mount the scard via Disk utility under fedora and modify the fstab.
And my system reboot again!

Thanks

I mounted my scard on Mac OSX 10.10 (Yosemite) but I can’t find /etc/fstab. How can I update fstab to reboot?

I ran into the same problem. I don’t have a USB keyboard to try Ctrl-D, how could I edit fstab to take out the bad entry?

You would need to put the SD card into another Linux system to edit it.

If you don’t have Linux on a PC, one way of doing this is if you had another install of OSMC on another SD card that you could boot from, you could put your original SD card into a USB SD card reader and connect it to the Pi to access it, where it would be mounted under /media. You could then edit the file, shut down and swap the card back over.