I made a mistake when remounting
/usr in this article without
-a option to copy files. So I write this article to record the way to solve this issue.
The only method came to my mind is to change
fstab file back. But I can not grab root authentication. So, the only way is to modify
fstab file in recovery mode.
Use recovery mode to solve this issue
- Switch on your computer.
- Wait until the BIOS has finished loading, or has almost finished. (During this time you will probably see a logo of your computer manufacturer.)
- Quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Ubuntu logo, you’ve missed the point where you can enter the GRUB menu.)
- Select the line which starts with “Advanced options“.
- Select the line ending with “(recovery mode)“, probably the second line, something like:
Ubuntu GNU/Linux, with Linux 3.8.0-26-generic (recovery mode)
- Press “
e” to edit, and you will see something like this
ro recovery nomodesetwith
rw single init=/bin/bash.
Ctrl + Xto get into single user mode, and the user is root.
- Use vim /etc/fstab to modify fstab back.