Forked from leoheck/fix-ubuntu-18.10-on-dell-xps-9570
Last active
December 1, 2018 13:25
-
-
Save aaronmu/4f28dc6640c5a89db390c171b1442c01 to your computer and use it in GitHub Desktop.
Revisions
-
leoheck revised this gist
Oct 28, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -26,7 +26,7 @@ sudo chroot /mnt sudo apt update sudo apt upgrade sudo apt install intel-microcode sudo apt install nvidia-driver-390 # UPDATE KERNEL # http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D -
leoheck created this gist
Oct 21, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,47 @@ # # Run this from the Live USB. # ############################# # EDIT YOUR PARTITIONS HERE # ############################# root_partition=/dev/nvm0n1p2 sudo mount ${root_partition} /mnt sudo mount --bind /dev /mnt/dev sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys sudo mount --bind /usr/ /mnt/usr # Enable internet on chroot sudo ln -s /etc/resolv.conf /mnt/etc/resolv.conf sudo chroot /mnt # # INSIDE THE CROOT # sudo apt update sudo apt upgrade sudo apt install intel-microcode sudo apt install nvidia-driver-930 # UPDATE KERNEL # http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D cd /tmp wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc8/linux-headers-4.19.0-041900rc8_4.19.0-041900rc8.201810150631_all.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc8/linux-headers-4.19.0-041900rc8-generic_4.19.0-041900rc8.201810150631_amd64.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc8/linux-headers-4.19.0-041900rc8-lowlatency_4.19.0-041900rc8.201810150631_amd64.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc8/linux-image-unsigned-4.19.0-041900rc8-generic_4.19.0-041900rc8.201810150631_amd64.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc8/linux-image-unsigned-4.19.0-041900rc8-lowlatency_4.19.0-041900rc8.201810150631_amd64.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc8/linux-modules-4.19.0-041900rc8-generic_4.19.0-041900rc8.201810150631_amd64.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19-rc8/linux-modules-4.19.0-041900rc8-lowlatency_4.19.0-041900rc8.201810150631_amd64.deb dpkg -i *.deb # FIX INTEL i915 echo "options i915 enable_psr=0" > /etc/modprobe.d/i915.conf exit reboot