Hi Jason,
In June last year, I bought myself a Lenovo Thinkpad E580 laptop. It also came with Windows 10 pre-installed. After googling around the web and some research, I managed to gather a fair bit of info, knowledge bases, how-to forums, etc on how to dual-boot this PC. Later, I successfully installed Ubuntu 18.04, dual-booting with the existing Windows 10 (which I hardly used ever since). Then in August, I compiled all my notes on my dual-boot install experience and gave a talk in that month's LUV Beginners Workshop.
Please find attached my notes (in Markdown format). I didn't include any of the images linked in this notes, but they are just screenshots of my installation. All the useful URLs are near the end of this notes, under References & Resources.
Some points to note:
- As I had mentioned in my notes, the most important part is a number of preparatory steps. After that, the actual Distro installation itself is usually easy.
- Among them, is to keep the UEFI mode (rather than reverting to the 'Legacy' mode), but have the "Secure Boot" turned off (disabled).
- Even though a lot of online resources and opinions out there are saying that the most recent Linux distros (e.g. Ubuntu since a couple of years ago) can co-exist with Secure Boot enabled just fine, the majority of the opinions I had come across suggest turning off secure boot before installing a dual-boot linux - for the peace of mind down the track.
- For my new Thinkpad, its secure boot was disabled by default when I got it - so I am not sure whether your existing Windows 10 would still boot if you disabled the secure boot that was enabled by default. (Online opinions generally suggest the outcome tend to be dependent on the manufacturer of the PC or its BIOS/UEFI). Did your Lenovo P51 come with secure boot On or Off?
- Another thing I found important is the shrinking of your Windows disk partition to make way for your Linux distro install. In a sense this also depends on the size of your PC's hard disk. If your disk is large (say from 500 GB to 1 or more TB), then you can just use the Windows built-in Disk Management tool to shrink your Windows partition to as low as you can get - but this usually gives you a blank partition that is less than half of the total disk size. However, if your laptop disk is relatively small (like mine, which is a SSD with only 256 GB), then you can consider using a third-party Windows tool - say: AOMEI Partition Assistant Standard (free) - which can allow you to squeeze/shrink your Windows disk partition to even further - to slightly lower than half the total disk space - thereby giving you a larger blank partition to install your distro. (A couple of URLs in my notes talk about this in great details).
I hope my notes here can be of help to your dual-boot attempt. I'm sure you will get there eventually!
All the best!
Regards,
Wen