How to Install Ubuntu 18.10 in a HP Pav Gaming Laptop

In this post, I would like to share my experience of installing Ubuntu 18.10 on my new HP Gaming Laptop. Prior to buying this laptop, I had been using an Asus laptop all the while for the last 7 years, I thought it would be good to share the technology changes in my blog about the Linux Installation Procedure.

I had been looking for a high-end configuration laptop for quite some time, to learn new technologies such as OpenStack, OpenShift, Kubernetes, Docker and so on. I believe this laptop configuration will definitely help me in learning these new technologies.

I have understood that the world has changed a lot in terms of installing the Linux OS along with Windows Partition.  Back in the day, it was so easy to do Linux installation along with Windows. I used to have only one Hard Disk which usually identifies in sda or hda format. However, this has changed a lot after SSD disk being emerged. Nowadays, most of the laptops are coming with two disks. One for fast booting (SSD) and the other one for storing the data (SATA DISK).

Linux identifies the SSD disk in nvme0n1 disk format. If you have partitioned the SSD disk, your disk partition would be identified as nvme0n1p[no] disk format in Linux.  With this understanding, let’s now learn how to successfully install the Ubuntu Linux along with windows partition.

Before starting the installation,  you need to create an unallocated partition in windows typing diskmgmt.msc in the run terminal.

Once the partition is created, reboot the laptop and boot the Ubuntu from USB. Make sure, you have already downloaded the ISO from the Ubuntu site and created a Bootable image in USB. And, ensure you have changed the boot order in BIOS as well.

If you have done this setup correctly, you should be able to see a menu below like the one shown below.

Press the Enter key button and continue to load. Ubuntu will be booted now.

Let’s install the OS in the disk. I am not going to explain the entire installation procedure in this blog. There are multiple sites available to show the step-by-step installation. Please google it if you are interested in it.

Just click Install Ubuntu 18.10 icon on the home screen, the new screen will display the options that enable you to choose a language and a couple of options to select. Click the continue button and move on until you reach the below Installation type window. For this exercise,  I have selected something else option in the installation type and press Continue button.

Finally, we have come to the Installing type page where we can choose the desired Ubuntu installation disk. I have allocated 50Gb for / partition and 3Gb for a swap partition. This is because I wanted to use ext4 filesystem for / partition. It is good practice to have a separate boot partition, but in my case, I don’t need it.

After the above-mentioned partition is allocated, Click Install Now button to allow the filesystem to be formatted and install Ubuntu on it. Click the continue button and move on until the installation to begin. Once the installation is completed, Click restart button and remove the Bootable USB or disk from the drive.

Fantastic! Ubuntu Installation has been completed successfully. Enjoy using Ubuntu Linux.

In case, you happen to face any grub issue after installing the Ubuntu OS, please follow the below steps to bring it up. My Ubuntu Linux is installed at 4th partition. This will change in your setup if you have chosen the different partition to install.

grub> set root=(hd0,gpt4)
grub> linux /vmlinuz root=/dev/nvme0n1p4
grub> initrd /initrd.img
grub> boot

Thanks for reading! Do share the post if you like it.


2 thoughts on “How to Install Ubuntu 18.10 in a HP Pav Gaming Laptop”

Leave a Comment

Your email address will not be published. Required fields are marked *

7 + three =