How I Recovered
For context read this first [15012025]
Today (2025-01-16) the first thing i do in morning is reinstalling Arch Linux those who read [15012025] will know why i’m doing it on morning.
For my personal PC, I didn’t use raw Arch Linux because I definitely need a stable machine to work and tinker with it.
but I also needed to be at bleeding-edge at least on software side 😞, so I choose and always choose Manjaro.
because i choose Manjaro, the install goes smoothly that what i taught and it went smooth.
I was using windows 11 just for gaming, I know we can play games on Linux why freaking windows? you may ask.
If you ask me that, here is my answer i don’t have bleeding edge hardware i ran on old hardware and the games i run is buggy or not working properly in wine’s translation i don’t why.
And a Major Reason i don’t play games much if I play, only play multiplayer with my friends online that part of it can’t done on Linux due to the kernel level anti-cheats. that’s the major one of reason I’ve a windows installation.
Back to the installation story,
i think remember how i lost the Linux Installation i didn’t have space on root partition so i tried to move /usr to another drive that the problem starts.
I messed up the disk partition table somehow using fdisk and disks I forgot the commands i used.
The answer to the question was, I didn’t recovered the current Installation i just reinstall everything and removed that freaking windows partition that consumes my 69% of my disk space
that’s not simple i tried to recover the configs i configured and my data (not that important) but i realized that reconfigure it is simple than recover because i just forgot what configs i made throughout the journey with that installation.
I just installed the Manjaro and reconfigure it throughout rest of the day
Automation I Made
And i just made a script that help automate some process like this blog thing
i use obsidian to writing this but to publish the blog In past, I manually push the files to server using scp command.
scp posts/filename.md hostname:~/blog/content/posts/
but now the script i made is using rsync to copy files and inotifywait to watch the changes inside the posts/ folder of local system.
while inotifywait -r -e modify,create,delete ~/documents/posts/; do
rsync -avz --delete ~/documents/posts/ username@remote_host:~/blog/content/posts/
done
when this script runs the changes i made is immediately reflect in server too. so, don’t need to manually copy over the files.
Changes to blog
You may noticed that i used hyperlinks in this blogging journal i just learned that so you will see more in coming blog posts
you can connect with me on mastodon the link is on nav bar as well