Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aaronmu/4f28dc6640c5a89db390c171b1442c01 to your computer and use it in GitHub Desktop.
Save aaronmu/4f28dc6640c5a89db390c171b1442c01 to your computer and use it in GitHub Desktop.

Revisions

  1. @leoheck leoheck revised this gist Oct 28, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-ubuntu-18.10-on-dell-xps-9570
    Original 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-930
    sudo apt install nvidia-driver-390

    # UPDATE KERNEL
    # http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D
  2. @leoheck leoheck created this gist Oct 21, 2018.
    47 changes: 47 additions & 0 deletions fix-ubuntu-18.10-on-dell-xps-9570
    Original 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