Last active
May 8, 2021 12:16
-
-
Save coenraadhuman/fea3054d6510b1e1d7c714099e27fbcd to your computer and use it in GitHub Desktop.
Dell Vostro 5590 - Linux Notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# See link in comments for more information from articles. | |
# NVME Issues | |
# After install, it was necessary to boot with USB and chroot (https://www.techzim.co.zw/2021/01/how-to-restore-ubuntus-efi-partition-in-ubuntu-20-04/): | |
sudo fcsk /dev/nvme0n1p2 | |
sudo mount /dev/nvme0n1p2 /mnt | |
sudo mount /dev/sda1 /mnt/boot/efi | |
or i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done | |
sudo chroot /mnt | |
# Changes to grub for NVME issue (https://tekbyte.net/2020/fixing-nvme-ssd-problems-on-linux/): | |
echo "Append GRUB_CMDLINE_LINUX with nvme_core.default_ps_max_latency_us=0" | |
nano /etc/default/grub | |
echo "Reboot machine" | |
# Reboot | |
echo "Verify changes are active: cat should return 0." | |
cat /sys/module/nvme_core/parameters/default_ps_max_latency_us |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment