How to mount the Ubuntu filesystem read-write when you have mounted the filesystem in recovery mode.

If you have appended this to the end of the grub command line to change a lost password: init=/bin/bash Ubuntu and you get this error.

[email protected]:~# passwd jason
Enter new UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error
passwd: password unchanged

Then you may fix this by remounting the filesystem read-write.

Accomplish this by typing this at the prompt.

mount -rw -o remount /

This will remount the root filesystem read-write and allow changes to the files on the filesystem. That is how easy it is to fix this problem.

Then you should be able to restart your machine by executing: shutdown -r now.

TRON Legacy UNIX login. They got this right!
TRON Legacy UNIX login. They got this right!

No comments have been made. Use this form to start the conversation :)

Leave a Reply