Xps 15: Difference between revisions
(Created page with "Following instructions from https://www.reddit.com/r/Dell/comments/60a907/xps_15_9560_from_the_box_to_productivity_how_i/ * booted windows 10, completed setup * downloaded an...") |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Following instructions from | Following instructions from | ||
* https://github.com/rcasero/doc/wiki/Ubuntu-linux-on-Dell-XPS-15-(9560) | |||
* https://www.reddit.com/r/Dell/comments/60a907/xps_15_9560_from_the_box_to_productivity_how_i/ | |||
Stuff I did: | |||
* booted windows 10, completed setup | * booted windows 10, completed setup | ||
* downloaded and installed windows updates | * downloaded and installed windows updates | ||
* downloaded bios update from http://www.dell.com/support/home/us/en/19/products/?app=drivers | * downloaded bios update from http://www.dell.com/support/home/us/en/19/products/?app=drivers | ||
* created a recovery drive: http://www.dell.com/support/article/us/en/19/sln299044/how-to-create-and-use-the-dell-windows-recovery-image?lang=en | |||
* turned on developer mode and enabled windows subsystem for Linux: https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ | |||
* install ubuntu on the linux subsystem | |||
* install xming | |||
*Change SATA Operation so that Ubuntu can see the SSD | |||
**Login into Windows 10, and set up Safe Mode: "Change advanced Startup Options" -> "Restart Now" -> "Troubleshoot" > "Advanced options" > "Startup Settings" > "Restart" | |||
**Boot laptop and press F2 -> BIOS Setup | |||
**System Configuration -> SATA Operation | |||
**Change SATA Operation from "RAID On" to "AHCI" | |||
**Apply and Exit. This will reboot the laptop, and provide several boot options | |||
**Choose "4. Safe Mode" | |||
**"Start" -> "Windows System" -> "Control Panel" -> "Device Manager". Check that the "IDE ATA/ATAPI controller" is "Intel(R) 100 Series/C230 Chipset Family SATA AHCI Controller" | |||
**Reboot normally. This should boot into the regular Window 10 | |||
**If you reboot and go into the BIOS, SATA Operation should still be AHCI | |||
* Install Ubuntu: | |||
** boot bootable usb stick (hold F2 during boot, and select it from the boot sequence menu) | |||
** run `sudo gparted`, and reduce the size of the main windows partition to 173000MB | |||
** run installer, choose option to install along windows boot | |||
== Switching between Nvidia and Intel == | |||
Use these commands: | |||
sudo prime-select intel | |||
sudo prime-select nvidia | |||
prime-select query | |||
After switching, you have to reboot. When Intel is selected, it seems to hang on reboot, but can be booted in recovery mode (and immediately leave recovery mode). | |||
== Updating cuda toolkit == | |||
See https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_network |
Latest revision as of 16:32, 25 April 2024
Following instructions from
- https://github.com/rcasero/doc/wiki/Ubuntu-linux-on-Dell-XPS-15-(9560)
- https://www.reddit.com/r/Dell/comments/60a907/xps_15_9560_from_the_box_to_productivity_how_i/
Stuff I did:
- booted windows 10, completed setup
- downloaded and installed windows updates
- downloaded bios update from http://www.dell.com/support/home/us/en/19/products/?app=drivers
- created a recovery drive: http://www.dell.com/support/article/us/en/19/sln299044/how-to-create-and-use-the-dell-windows-recovery-image?lang=en
- turned on developer mode and enabled windows subsystem for Linux: https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
- install ubuntu on the linux subsystem
- install xming
- Change SATA Operation so that Ubuntu can see the SSD
- Login into Windows 10, and set up Safe Mode: "Change advanced Startup Options" -> "Restart Now" -> "Troubleshoot" > "Advanced options" > "Startup Settings" > "Restart"
- Boot laptop and press F2 -> BIOS Setup
- System Configuration -> SATA Operation
- Change SATA Operation from "RAID On" to "AHCI"
- Apply and Exit. This will reboot the laptop, and provide several boot options
- Choose "4. Safe Mode"
- "Start" -> "Windows System" -> "Control Panel" -> "Device Manager". Check that the "IDE ATA/ATAPI controller" is "Intel(R) 100 Series/C230 Chipset Family SATA AHCI Controller"
- Reboot normally. This should boot into the regular Window 10
- If you reboot and go into the BIOS, SATA Operation should still be AHCI
- Install Ubuntu:
- boot bootable usb stick (hold F2 during boot, and select it from the boot sequence menu)
- run `sudo gparted`, and reduce the size of the main windows partition to 173000MB
- run installer, choose option to install along windows boot
Switching between Nvidia and Intel
Use these commands:
sudo prime-select intel sudo prime-select nvidia prime-select query
After switching, you have to reboot. When Intel is selected, it seems to hang on reboot, but can be booted in recovery mode (and immediately leave recovery mode).