I have a Lenovo ThinkPad e14 gen 2 AMD which came with 250 gb WD NVME ssd. I decided to install Ubuntu 18.04 in dual boot with windows in a separate drive. So, I bought a second ssd (Kingston 250gb NVME) to install Ubuntu 18.04 on.
I did the following steps before installing Ubuntu:
- Disable Bitlocker
- Disable fast startup
- Disable secure boot in BIOS
I then created a live USB using balena etcher and this Ubuntu iso image
From the boot menu I chose the usb and proceeded with the installation normally.
In the disk partition part, I left the first ssd labelled /dev/nvme0n1 (Windows drive) untouched and to the new ssd (/dev/nvme1n1) I made the following partitions.
- efi - 512 mb Primary - Beginning
- swap - 16000 mb Primary - Beginning
- / - 60000 mb Primary - Beginning - /ext4
- /home - 173547 mb Primary - Beginning - /ext4
For the device for bootloader installation I picked the new drive (/dev/nvme1n1) I proceeded with the installation and rebooted and removed the usb. I intended to install grub in the efi partition. After rebooting I was presented with the grub menu and I realized that the new ssd was partitioned as MBR, because of which I think the bootloader was in MBR and not efi partition. I can boot into both windows and Ubuntu but the times are not syncing. I'm not sure if what I have done is correct.
My question is:
- Why did Ubuntu install as MBR and not gpt even though my laptop is uefi and windows is uefi?
- Why didn't Ubuntu install grub in efi partition?
- Why does the efi partition in ssd 2 show up as local disk D in windows 10?
- Will Ubuntu in proper efi mode solve the time sync issue?
- If I need to reinstall Ubuntu how can I do it safely?
- What change should I make during installation or the bios to install Ubuntu correctly(UEFI with correct bootloader)?
EDIT: On running the command
test -d /sys/firmware/efi && echo efi || echo bios
I get the output:
Does this mean that Ubuntu is booting from efi, then why did the drive get partitioned as mbr?