Skip Navigation

I messed up with the / diretory

I am sorry but I am posting from another machine since I cannot boot my garuda anymore. I cant post my inxi.

So I have messed with the / by accident but I can see my home (it shows with an @before so @home) is intact. Also I can see at least the last 7 snapshots, So I guess it is possible to fix it.

I have checked the wiki for using the snapper tool but still I can't get it to fix my boot for my case.

The wiki assumes you can still boot the disk. All I can do is mount that disk using the live flash usb.

Please would someone help me to fix it.

Thank you so much.


Edit: This is what I have done

Well, I am embarassed... so I was going to move files from the current directory in a another drive, and did mv /* /run/media/another/direcotry/

Then I tried to move everything back but it wouldn't allow me because my user no longer existed.

Then I booted from live usb, no errors when I mount the btfrs volume, I used the root user to move everything back but it was throwing an error because there were sub-directories. Then I did cp -r to copy everything back and deleted everything, keeping only the recent copies to their rightful location. Still I cannot boot though.

6

You're viewing a single thread.

6 comments
6 comments