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.
How did you mess it up? What actions lead to the problem and what are the symptoms? When you mount the disk from live USB, what happens? Do you see any errors in dmesg after doing that?
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.
I'm not sure if this is the problem, but it might be that cp -r creates the new files according to the current user's umask and uid/gid. Which, if done from a live CD, would be a user that does not exist on the system when you try to boot it. What you want is cp -a.
You might be able to correct this without re-copying everything by using rsync. I don't recall the incantation off-hand (you'll want to google it) but I think you want rsync --partial --archive.
If you still have all your files backed up, it might be easiest to reinstall the base system and then selectively copy back over the directories you want with cp -a. Sorry to be the bearer of bad news, but if you can't even attempt to boot, that's not good.
Yeah, I messed up pretty bad. Lesson learned, I hope. LOL.
f you still have all your files backed up, it might be easiest to reinstall the base system and then selectively copy back over the directories you want with cp -a. Sorry to be the bearer of bad news, but if you can’t even attempt to boot, that’s not good.
Yes, I have my home, but I will remake the backup properly now. Thank you very much!