How to move back critical folders of my Ubuntu installation?

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.

Alexphys

Posted 2014-07-30T08:47:59.607

Reputation: 101

Answers

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

Posted 2014-07-30T08:47:59.607

Reputation: 11 805