@@ -168,11 +168,6 @@ grub-install --recheck /dev/sda #Or /dev/vda for VPS
168
168
# # https://wiki.archlinux.org/title/GRUB#Configuration
169
169
# sed -i 's/#GRUB_DISABLE_OS_PROBER=false/GRUB_DISABLE_OS_PROBER=false/' /etc/default/grub
170
170
# sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/' /etc/default/grub
171
- # # https://ventureo.codeberg.page/source/kernel-parameters.html
172
- # sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash rootfstype=btrfs raid=noautodetect mitigations=off preempt=none audit=0 page_alloc.shuffle=1 split_lock_detect=off pci=pcie_bus_perf"/' /etc/default/grub
173
- # sed -i "s/rootfstype=btrfs /rootfstype=btrfs lpj=$(dmesg | grep -Po '(?<=BogoMIPS \(lpj=)(\d+)') /" /etc/default/grub
174
- # echo "GRUB_EARLY_INITRD_LINUX_STOCK=''" >> /etc/default/grub
175
- grub-mkconfig -o /boot/grub/grub.cfg
176
171
177
172
# Double check files!
178
173
cat /etc/fstab /etc/hostname /etc/hosts
@@ -199,8 +194,6 @@ printf "[Service]\nExecStart=\nExecStart=/usr/lib/systemd/systemd-networkd-wait-
199
194
systemctl enable systemd-networkd
200
195
201
196
# Zram https://wiki.archlinux.org/title/Zram#Using_zram-generator
202
- sed -i " s/quiet/quiet zswap.enabled=0 /;s/ / /" /etc/default/grub
203
- grub-mkconfig -o /boot/grub/grub.cfg
204
197
pacman -S zram-generator
205
198
printf " [zram0]\nzram-size = min(ram / 2, 4096)\ncompression-algorithm = zstd\n" > /etc/systemd/zram-generator.conf
206
199
@@ -288,4 +281,4 @@ cd paru && makepkg -fsri && cd .. && rm -rf paru
288
281
# echo "/.swap/swapfile none swap defaults 0 0" | sudo tee -a /etc/fstab
289
282
290
283
# Todo https://wiki.archlinux.org/title/Btrfs#Booting_into_snapshots grub-btrfs
291
- # Optional: https://ventureo.codeberg.page/source/extra-optimizations.html#alhp-repository
284
+ # Optional: https://ventureo.codeberg.page/source/
0 commit comments