nocom2
June 6th, 2018, 08:13 PM
I had a dual setup in which first Windows 10 was installed and after that Linux Mint 18.3. Because Mint started to behave erratically when I inserted a new Nvidia graphics card I decided to give Ubuntu 18.04 a try. Created some space on the disk, booted from USB and installed. After reboot I noticed that the Windows 10 option had disappeared from the boot menu. Linux Mint still existed. When I look with Gparted I see that the Windows partition still exists. I can access the Windows and Mint partitions. Fdisk -l gives the following results:
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 923647 921600 450M Windows recovery environment
/dev/nvme0n1p2 923648 1126399 202752 99M EFI System
/dev/nvme0n1p3 1126400 1159167 32768 16M Microsoft reserved
/dev/nvme0n1p4 1159168 484268031 483108864 230,4G Microsoft basic data
/dev/nvme0n1p5 573440000 933367807 359927808 171,6G Linux filesystem
/dev/nvme0n1p6 484268032 484270079 2048 1M BIOS boot
/dev/nvme0n1p7 484270080 573439999 89169920 42,5G Linux filesystem
/dev/nvme0n1p4 is the Windows partition. I tried this:
sudo update-grub
sudo grub-install /dev/nvme0n1p4
That didn’t help. I tried to run os-prober, but that saw only the Mint partition.
I saw a lot of advice but they differed greatly in content and quality. If somebody could point me to
some reliable answer I would greatly appreciate that.
Thanks for your time.
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 923647 921600 450M Windows recovery environment
/dev/nvme0n1p2 923648 1126399 202752 99M EFI System
/dev/nvme0n1p3 1126400 1159167 32768 16M Microsoft reserved
/dev/nvme0n1p4 1159168 484268031 483108864 230,4G Microsoft basic data
/dev/nvme0n1p5 573440000 933367807 359927808 171,6G Linux filesystem
/dev/nvme0n1p6 484268032 484270079 2048 1M BIOS boot
/dev/nvme0n1p7 484270080 573439999 89169920 42,5G Linux filesystem
/dev/nvme0n1p4 is the Windows partition. I tried this:
sudo update-grub
sudo grub-install /dev/nvme0n1p4
That didn’t help. I tried to run os-prober, but that saw only the Mint partition.
I saw a lot of advice but they differed greatly in content and quality. If somebody could point me to
some reliable answer I would greatly appreciate that.
Thanks for your time.