0

I messed up with sudo moving some critical boot folders in my Ubuntu 12.04 installation.

How can I move these folders back to their original locations? I'd be fine with booting some live system and using the command line.

Jens Erat
  • 18,485
  • 14
  • 68
  • 80
Alexphys
  • 101

1 Answers1

0

If you use the Ubuntu install disc you can boot to rescue mode. Then you would need to move the folders using the mv command:

mv /path/to/folder /path/to/original/location

Depending on how many folders you moved it might be easier to make a backup of your homedir and do a reinstall though.

mtak
  • 17,262