PC2系统修复与升级Arch

Clayton Ryan Lv2

(As this is outdated, I want to move things from my TG channel to here.)

image-20230330210100386

All of this are caused by a failed SSD.First I discovered data loss, in the form of I/O Error, then after recovering ext4 files to Windows PC, the Disk suddenly got corrupted and the system won’t boot! My next step was e2fsck, which lead to a situation that all existing files were moved to “lost+found” and lost their filenames. Then I tried a lot to move recovered file back to disk, after many tries, the files got back, the grub was reinstalled again, but it still failed to boot, with the missing of so many files such as “vmlinuz”.

After that, I executed Ubuntu installer to overwrite system files to the existing partition. To be short, the system booted up, but all my apps are corrupted, only left error shortcuts on the Desktop.
OK, so I tried re-copy recovered file from Win PC to the previous partition, and selected overwrite on conflict. Now some of my apps recovered, however, the system was Inoperable, maybe some system files are replaced with corrupted ones.
So, the last option for me is install a new Operating system.

Then, I installed centos, without much meaningless tries(excluded many tries to compile VMware kernel modules that I finally get rescued by a patch.sh on Github )
However, its kernel cannot support btrfs ?! It is said that RedHat removed this feature on Centos 8, and I could not find any working method to install that, even after I downloaded the source of btrfs-progs and tried to compile them. I was, emm, heartbroken, so after the evening class on Monday, I spent 2 hours on Arch Linux Installer, with almost no errors reported. Thanks to the Arch Wiki, I learned some inner principle of linux kernel, and put all things back online.
I have to say that Arch is an OS of freedom, it gave me many choices on Packages, Desktop Environment and so.

Now I installed Budgie (its freedom on docks and panels help me a lot) as my normal Desktop Environment. Welcome other budgie users!!

  • Title: PC2系统修复与升级Arch
  • Author: Clayton Ryan
  • Created at : 2023-03-30 15:43:33
  • Updated at : 2024-04-29 00:14:36
  • Link: https://blog.eddy.moe/2023/03/30/PC2系统修复与升级Arch/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments
On this page
PC2系统修复与升级Arch