Trying to install Dual Boot with Win10 on a GPT partitioned disk

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

Thought I should have new place to put Mint 21, so got another Thinkpad T470s.
It came with win10 on a GPT partitioned disk (My first experience with it)

I went through the install process, seemingly OK, No errors anyway, but there is no grub menu, the machine boots to Windows every time.

Secure boot, and fast startup disabled.
I put grub on partition 2, the SYSTEM boot partition, but I do notice the lacking "mount points". Can I assume that is bad, or normal for a GPT disk?

Screenshot of Gparted
ksnip220818-171636.jpg
And the inxi.

Code: Select all

System:
  Kernel: 5.15.0-41-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: MATE 1.26.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 20JS0015US v: ThinkPad T470s W10DG
    serial: <superuser required>
  Mobo: LENOVO model: 20JS0015US v: SDK0J40705 WIN
    serial: <superuser required> UEFI-[Legacy]: LENOVO v: N1WET46W (1.25 )
    date: 03/16/2018
Battery:
  ID-1: BAT0 charge: 19.7 Wh (100.0%) condition: 19.7/23.5 Wh (83.7%)
    volts: 12.7 min: 11.4 model: SMP 00HW023 status: Full
  ID-2: BAT1 charge: 18.9 Wh (100.0%) condition: 18.9/26.1 Wh (72.7%)
    volts: 12.6 min: 11.5 model: SMP 01AV406 status: Full
CPU:
  Info: dual core model: Intel Core i5-6300U bits: 64 type: MT MCP
    arch: Skylake rev: 3 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 800 min/max: 400/3000 cores: 1: 800 2: 800 3: 800
    4: 800 bogomips: 19999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-8:4
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 22.0.1
    direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.15.0-41-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel bus-ID: 3a:00.0
  IF: wlp58s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-7:3
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.2
Drives:
  Local Storage: total: 480.69 GiB used: 3.2 MiB (0.0%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HAJQ-000L7
    size: 476.94 GiB temp: 29.9 C
  ID-2: /dev/sda type: USB vendor: Generic model: Flash Disk size: 3.75 GiB
Partition:
  ID-1: / size: 9.6 GiB used: 361.9 MiB (3.7%) fs: overlay source: ERR-102
  ID-2: /var/log size: 409.9 MiB used: 3.2 MiB (0.8%) fs: ext4
    dev: /dev/sda2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 32.0 C pch: 33.0 C mobo: N/A
  Fan Speeds (RPM): fan-1: 0
Info:
  Processes: 208 Uptime: 56m Memory: 19.2 GiB used: 2 GiB (10.4%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.2.0 Packages: 2151 Shell: Bash
  v: 5.1.16 inxi: 3.3.13
Is it a problem in the way I burned the USB.
Last edited by LockBot on Sat Feb 18, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
Jo-con-Ël
Level 10
Level 10
Posts: 3489
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by Jo-con-Ël »

You are booting Linux MInt Live USB on BIOS legacy mode. You can not see mount point as Linux MInt installed is not running.

Get into computer setup, Boot or Startup tab depending on firmware and change to EUFI only, disable CSM if any and also change Quick with another option boot mode.
Image

On Security tab disable Secure Boot , save changes and exit (F10) and get into Computer setup another time. Try to find an ubuntu option on and place it first on boot order.

If you can not find that option restar and use boot menu key (F12). If you can not find there an ubuntu option there, just boot Linux Mint live USB in that way (UEFI only).

On a working Linux MInt Live session open a terminal and post back following codes result

Code: Select all

inxi -SMDPxxx
lsblk -f
mokutil --sb-state
sudo efibootmgr -v
Last edited by Jo-con-Ël on Fri Aug 19, 2022 7:50 am, edited 1 time in total.
Arrieritos semos y en el camino nos encontraremos.
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

Jo-con-Ël wrote: Thu Aug 18, 2022 7:49 pm You are booting Linux MInt Live USB on BIOS legacy mode. You can not see mount point as Linux MInt installed is not running.

Get into computer setup, Boot or Startup tab depending on firmware and change to EUFI only, disable CSM if any and also change Quick with another option boot mode.You are booting Linux MInt Live USB on BIOS legacy mode. You can not see mount point as Linux MInt installed is not running.

On Security tab disable Secure Boot , save changes and exit (F10) and get into Computer setup another time. Try to find an ubuntu option on and place it first on boot order.
Thanks @Jo-con,
I've done all those things.
I do NOT see any "Ubuntu" option.

Command output, you requested;

Code: Select all

ystem:
  Host: t420 Kernel: 5.15.0-41-generic x86_64 bits: 64 compiler: gcc
    v: 11.2.0 Desktop: MATE 1.26.0 info: mate-panel wm: marco 1.26.0 vt: 7
    dm: LightDM 1.30.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: LENOVO product: 20JS0015US v: ThinkPad T470s W10DG
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20JS0015US v: SDK0J40705 WIN
    serial: <superuser required> UEFI: LENOVO v: N1WET46W (1.25 )
    date: 03/16/2018
Drives:
  Local Storage: total: 480.69 GiB used: 4.2 MiB (0.0%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HAJQ-000L7
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: S3TNNF0K744367
    rev: 4L2QEXA7 temp: 32.9 C scheme: GPT
  ID-2: /dev/sda type: USB vendor: Generic model: Flash Disk size: 3.75 GiB
    type: SSD serial: 49FBEFC7 rev: 8.07 scheme: MBR
Partition:
  ID-1: / size: 9.71 GiB used: 297.2 MiB (3.0%) fs: overlay source: ERR-102
  ID-2: /var/log size: 409.9 MiB used: 4.2 MiB (1.0%) fs: ext4
    dev: /dev/sda2

Code: Select all

rick@t420:~$ lsblk -f
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0
     squash 4.0                                                    0   100% /rofs
sda  iso966 Jolie sblive
│                       2022-08-09-00-40-06-00                              
├─sda1
│    iso966 Jolie sblive
│                       2022-08-09-00-40-06-00                     0   100% /cdrom
└─sda2
     ext4   1.0   writable
                        fe4db18b-4db5-415b-8df8-e1a51638c889  373.7M     1% /var/log
sdb                                                                         
nvme0n1
│                                                                           
├─nvme0n1p1
│                                                                           
├─nvme0n1p2
│    vfat   FAT32 SYSTEM
│                       D437-3C07                                           
├─nvme0n1p3
│    ntfs         Windows
│                       BBA54461269CFD04                                    
├─nvme0n1p4
│    ntfs         WinRE_DRV
│                       2B52BDFC30ED17D0                                    
├─nvme0n1p5
│    ext4   1.0   mint21
│                       9c4ef0cd-3fa1-4e07-ba23-a7521dbee35a                
└─nvme0n1p6
     ext4   1.0   home21
                        83bb8d70-b151-46bb-943b-f7068ea821e7                
rick@t420:~$ 

,I missed some, but that is a start
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
Jo-con-Ël
Level 10
Level 10
Posts: 3489
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by Jo-con-Ël »

rickNS wrote: Thu Aug 18, 2022 10:12 pm

Code: Select all

I missed some, but that is a start
Last codes result sudo efibootmgr -v will ensure Linux Mint UEFI loader was installed properly even you can not see and ubuntu option on your boot order. In that case you will see a boot option (BootXXXX) pointing to /EFI/ubuntu/shimx64.efi on nvme0n1 EFI partition in the same way Windows option is pointing to /EFI/Microsoft/boot/bootmgfw.efi on that disk and partition..

if it is so the problem would be your firmware is not completely compatible with efibootmgr (it is used on installing to create that ubuntu boot option and place it frst on UEFI boot order.)
You will need to create ubuntu option from inside Windows cmd as administrator running bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi or using a Windows tools as EasyUEFI.
It that boot option does not exist (most probably) something went wrong on installing. You will need to Install/reinstall grub-efi loader.
Booting as indicated (UEFI only) Linux Mint Live you can run Menu>Administration>Boot Repair>Bootinfo summary option and share url when offered to confirm. At final lines on that summary you will find what Recommended standard repair will do when choosing that option.

BR Recommended repair option will reinstall grub-efi loader of nvme0n1p5 on EFI partition (nvme0n1p2) in any case, even if it is already installed and the problem would be your firmware, and also install other .efi files that would be different boot options complicating your boot menu.

You don't need Boot Repair for such (see pbearś tutorial to instal from Linux Mint Live on UEFI mode replacing sda, sda1 and sda2 with nvem0n1 (disk), nvme0n1p2 (efi) and nvme0n1p5 (Mint's root) in codes.
rickNS wrote: Thu Aug 18, 2022 4:23 pm I put grub on partition 2, the SYSTEM boot partition, but I do notice the lacking "mount points". Can I assume that is bad, or normal for a GPT disk?
Notice when installing grub (i.e. when running grub-install) you do not place loader on any partition (EFI partition nvem0n1p2 or sda1), as it is already mounted on /boot/efi. Loader needs to be placed on disk (sda in pbear's examples, in your case nvme0n1 if reinstalling grub or on Mint installer GUI when installing).

Other case is Mint installer GUI is very slow on refreshing (there are lot of problems with gtk you can see clicking on Details), it takes so much time showing changes you have made on partitioning (mount points on root and /home partition) but they would be mounted if you wait enough time to see.

Also you wont be able to choose or see EFI partition is already mounted, in any case (no matter the time you waste on waiting), because a bug.
Arrieritos semos y en el camino nos encontraremos.
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

Jo-con-Ël wrote: Fri Aug 19, 2022 3:44 am
Last codes result sudo efibootmgr -v will ensure Linux Mint UEFI loader was installed properly even you can not see and ubuntu option on your boot order. In that case you will see a boot option (BootXXXX) pointing to /EFI/ubuntu/shimx64.efi on nvme0n1 EFI partition in the same way Windows option is pointing to /EFI/Microsoft/boot/bootmgfw.efi on that disk and partition..

[/quote]

here is the rest.

Code: Select all

~$ mokutil -sb-state
mokutil: invalid option -- 'b'
mokutil: invalid option -- '-'
Usage:
  mokutil OPTIONS [ARGS...]

and

Code: Select all

 sudo efibootmgr -v
[sudo] password for rick:   
BootCurrent: 001B
Timeout: 0 seconds
BootOrder: 001B,001C,001A,0019,0000,0018,0017,001D,001E
Boot0000* Windows Boot Manager	HD(2,GPT,834396a0-4625-4cd5-90a2-13b60a29bfb9,0x40800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012  Diagnostic Splash Screen	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013  Lenovo Diagnostics	FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014  Startup Interrupt Menu	FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015  Rescue and Recovery	FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016  MEBx Hot Key	FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* USB CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0018* USB FDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* NVMe0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001A* ATA HDD0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001B* USB HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001C* PCI LAN	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001D  Other CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot001E  Other HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot001F* IDER BOOT CDROM	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
Boot0020* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
Boot0021* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0022* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0023* PCI LAN	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

Jo-con-Ël wrote: Fri Aug 19, 2022 3:44 am
Booting as indicated (UEFI only) Linux Mint Live you can run Menu>Administration>Boot Repair>Bootinfo summary option and share url when offered to confirm. At final lines on that summary you will find what Recommended standard repair will do when choosing that option.

BR Recommended repair option will reinstall grub-efi loader of nvme0n1p5 on EFI partition (nvme0n1p2) in any case, even if it is already installed and the problem would be your firmware, and also install other .efi files that would be different boot options complicating your boot menu.

Summary;

http://sprunge.us/MpFuEC
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

I ran the boot repair tool,
got this back,
An error occurred during the repair.
Error: NVram is locked (Linuxmint not found in efibootmgr). Please report this message to boot.repair@gmail.com


Note: I'm NOT liking UEFI, or GPT at all, haha.
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

as to pbear's instructions

"For UEFI, assuming the system partition is sda2 and the EFI partition is sda1:

Code: Select all

apt install grub-efi-amd64-signed shim-signed
sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
sudo grub-install /dev/sda --boot-directory=/mnt/boot --uefi-secure-boot"

Code: Select all

rick@t420:~$ sudo mount /dev/nvme0n1p2 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
rick@t420:~$ sudo grub-install /dev/nvme0n1
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
This is a bloody nightmare.
Maybe time to just wipe, and start over. I certainly don't "need" windows, only in case the PC is ever resold.
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
Jo-con-Ël
Level 10
Level 10
Posts: 3489
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by Jo-con-Ël »

First, my bad, it is not mokutil -sb-state but mokutil --sb-state. As per BootInfo summary Secure boot is disbled so no problem.

Second, It looks like you are not booting on UEFI only mode, as some os those boot obtion looks like BIOS legacy options (including nvme0 option)

Third, it is clear you have installed Mint on BIOS legacy mode grub-bios was placed on EFI partition PBR so maybe you will be able to boot Mint in BIOS legacy mode choosing that nvme0 option.

In any case it is not what you want (to get dual boot both systems need to be installed in the same UEFI mode) so you will need to install grub-efi as you have already tried.

I don't know about the fail you get when you tried Boot Repair recommended options.

Code: Select all

An error occurred during the repair.
Error: NVram is locked (Linuxmint not found in efibootmgr). Please report this message to boot.repair@gmail.com
It is clear Linux Mint is not on efibootmgr (it is installed on BIOS legacy mode) but never will. It will be ubuntu boot option after reinstalling grub-efi, so first intention would be ignoring and try it again.
I will look for such error in case it happen when installing grub-efi as per pbear's, maybe there is a setting on computer setup you need to disable (you didn't say aternative options to such boot mode [Quick] on last image by example) or need to load defaul(optimized) options on Restart/Exit tab.
About that fail on installing gub-efi, there is no /boot/efi folder as you have installed on BIOS legacy mode. I didn't notice that toturial didn't make this consideration but it is clare enough on fail (mount: /mnt/boot/efi:mount point does not exist) that you need to create that folder before mounting EFI partition.

Code: Select all

sudo mount /dev/nvme0n1p5 /mnt
sudo mkdir /mnt/boot/efi
sudo mount /dev/nvme0n1p2 /mnt/boot/efi
Be sure you follow chroot method as you will need to load efivars (modprobe efivars) i.e. after those first codes lines

Code: Select all

for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
sudo cp /etc/resolv.conf /mnt/etc
modprobe efivars
sudo chroot /mnt
apt install grub-efi-amd64-signed shim-signed 
grub-install /dev/nvme0n1 --uefi-secure-boot
update-grub
exit
sudo umount /mnt/boot/efi 
sudo umount -R /mnt
Last edited by Jo-con-Ël on Fri Aug 19, 2022 10:21 am, edited 1 time in total.
Arrieritos semos y en el camino nos encontraremos.
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

Thanks Jo, for your continued support.
I'll look at all that.

In the mean time I reinstalled, (BIOS mode I think) attempted to put grub in the correct place.
Now the computer boots to a GRUB > command prompt. Even if I choose nvme0 from the boot menu.

And somewhere in doing all this I lost the "Lenovo" splash screen?

When I booted the USB installer in UEFI ONLY mode, the "where to put grub was greyed out, with a blue colored message to put it in /boot/efi, but no further instruction?

**With this UEFI, and GPT I can see why people don't recommend dual boot.**

OK, will try again in UEFI Only.
sudo mount /dev/nvme0n1p2 /mnt/boot/efi
While running the live system i get;
mount: /dev/nvme0n1p2; can't find in /etc/fstab

This is a custom iso made with Systemback, maybe that makes a difference...the installer ?
I'm downloading Mint MATE 21 now, and will try that, it will take an hour to download, so it will be awhile before I get back.
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
Jo-con-Ël
Level 10
Level 10
Posts: 3489
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by Jo-con-Ël »

One important thing to take into account when following instructions on help forums is not to try anything else in the meantime. I tell you do not change UEFI only boot mode in any case, also disable CSM, Secure boot,...

I know about different "features" (or bugs) on new Mint installer, so yes you'd better try a new Linux Mint live USB created from LM 21 iso, (not custum isos) on Windows with Rufus for UEFI systems only (GPT partitioning scheme) and ISO writting method (not DD).

Booting that live on UEFI mode, install choosing Somethig else options, change already created root and home (forget about EFI partition it will be used by deafult w/o a warning) an place loader on nvme0n1.
Arrieritos semos y en el camino nos encontraremos.
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

Jo-con-Ël wrote: Fri Aug 19, 2022 10:40 am
Booting that live on UEFI mode, install choosing Somethig else options, change already created root and home
What do you mean by "change" already created root, and home.

And no I won't do anything else in meantime...sorry.
Download running slow. another 30 minutes to go.
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
Jo-con-Ël
Level 10
Level 10
Posts: 3489
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by Jo-con-Ël »

Wait to run Linux Mint live to understand. After choosing Something else.. option on Mint's installer GUI you need to select already created home (nvme0n1p5) click on Change button downside and complete pop-up windows accordingly (do not change size, use as Ext 4 filysystem, mount as / and check to format). Do the same with /home partition (select nvme0n1p6, Click on Change, use as Ext 4, mount as /home, check to format). Wait a few to see mount points on GUI (slow refresh I told).That is what I meant when I said "change".

You wont be able to do the same with EFI partition, don't waste time trying, but it will be used as EFI and mounted on /boot/efi automatically never mind you can not see it on GUI.

Do not forget to place loader on disk (nvem0n1) not on any partition.


You need to be sure you are booting Linux Mint Live (so installing) on UEFI mode doing as indicated to create Live USB and keep computer setup and/or running inxi -M to see UEFI as per second inxi report
UEFI: LENOVO v: N1WET46W (1.25 ) date: 03/16/2018

not UEFI[legacy] as per first inxi report or BIOS 'cause on that cases you are booting Live (so installing or repairing) on BIOS legacy mode.
UEFI-[Legacy]: LENOVO v: N1WET46W (1.25 )date: 03/16/2018
Arrieritos semos y en el camino nos encontraremos.
rickNS
Level 9
Level 9
Posts: 2905
Joined: Tue Jan 25, 2011 11:59 pm

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by rickNS »

Jo-con-Ël wrote: Fri Aug 19, 2022 11:10 am
Do not forget...
Done.
So basically my ONLY problem was my custom .iso. Kind of a drag, but I do have one sheet of paper notes for Mint 21 so I can make a "duplicate" on this new machine, just take a little longer.
IMG_3318.JPG
Thanks Jo.
I did not think I would get here, and was close to trashing windows....and I might yet.
Rest assured I won't be switching any other machine to GPT.
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
Jo-con-Ël
Level 10
Level 10
Posts: 3489
Joined: Sun Jun 20, 2021 12:41 pm
Location: donde habita el olvido

Re: Trying to install Dual Boot with Win10 on a GPT partitioned disk

Post by Jo-con-Ël »

I was ignoring what you said about GPT and UEFI mode...till now.

There are so many advantages on choosing GPT and not MBR/dos partitioning scheme you can find easily googling a few. You can install Mint on GPT disks on BIOS legacy mode. You only need to create a bios-boot partition (1-2 MB partition formatted as clean/empty and flagged accordingly) on where to place grub loader.

Even more one warning you would received on installing on BIOS mode on that GPT disk was about you need to create that bios-boot partition or Installer will try to place bios-grub on first partition PBR it could (and did on EFI partition PBR).
nvme0n1p2: _____________________________________________________________________

File system: vfat
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of
nvme0n1p2 and looks at sector 137713104 of the same
hard drive for core.img. core.img is at this location
and looks for (,gpt5)/boot/grub.
Other case is UEFI. Windows need EFI mode to boot from GPT disk, Windows was installed on UEFI mode you wanted dual boot ergo Linux Mint need to be installed on UEFI mode.

Thinking on installing w/o Windows, there are also certain advantages (not only because of security also boot times) on installing Linux on UEFI mode (e.i. installing loader on dedicated EFI partition).

Last thing is Secure boot, I disabled eight years ago and I've never noticed the loss (nor on Linux neither on Windows ). :D
Arrieritos semos y en el camino nos encontraremos.
Locked

Return to “Installation & Boot”