custom-hypr - chore: update way to do after udpate kernel on arch

This commit is contained in:
huyjaky
2024-09-29 12:50:37 +07:00
parent bc0e99d522
commit 1c69ffd077
8 changed files with 567 additions and 942 deletions

View File

@@ -4,29 +4,29 @@ install conda nvm nvim
use for reconfig grub for fix stuck at initial ramdisks:
how does i get out stuck at initial ramdisk:
first, access local os:
```bash
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
arch-chroot /mnt/
```
-idk how its work but do same thing below
-> change file name from grub.cfg to grub.cfg.off
second, remove all initframs and vmlinuz, amd-ucode on `\boot`
third, copy each vmlinuz from `usr\lib\modules` to boot
example:
```bash
mv grub.cfg grub.cfg.off
```
-> reboot and reboot command grub command line:
```bash
grub>reboot
cp \usr\lib\modules\6.10.10-lts..\vmlinuz \boot\vmlinuz-linux-lts
```
-> rename grub.cfg.off to grub.cfg
```bash
mv grub.cfg.off grub.cfg
```
remember install linux-zen-headers and linux-headers idk but but just do it
forth, check on `etc\modprob.d` have any file `.conf` if it exist remove it
fifth, reinstall amd-ucode `pacman -S amd-ucode`
six, run `mkinitcpio -P`
done!
-> recopy newest vmlinuz from /usr/lib/modules/<latest kerner>/vmlinuz /boot/vmlinuz-linux -> do for all linux kernel vmware
-> reinstall amd-ucode pacman -S amd-ucode