Windows and Linux Mint Dual boot

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
HKhan
Level 1
Level 1
Posts: 5
Joined: Sun Sep 15, 2019 5:45 pm

Windows and Linux Mint Dual boot

Post by HKhan » Sun Sep 15, 2019 6:08 pm

Experts, I am new to Linux. I have installed Linux yesterday on pre-installed windows but i am not seeing the boot option menu at start up i have tried the following
sudo grub-mkconfig -o /boot/grub/grub.cfg
but even this have not solved my problem. My windows and Linux both are installed on Legacy mode probably because at the time of installing both the UEFI mode was disabled .

User avatar
Spearmint2
Level 16
Level 16
Posts: 6876
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Windows and Linux Mint Dual boot

Post by Spearmint2 » Sun Sep 15, 2019 7:30 pm

take nomodeset out of your boot line in grub.cfg, just use quiet splash.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

HKhan
Level 1
Level 1
Posts: 5
Joined: Sun Sep 15, 2019 5:45 pm

Re: Windows and Linux Mint Dual boot

Post by HKhan » Mon Sep 16, 2019 11:21 am

Thanks for your support. Actually i was wrong i have just checked my windows is installed in UEFI mode and Linux Mint is installed in Legacy mode. Is there any solution to show the dual boot option in this case or do i have to reinstall Mint ?

User avatar
Moem
Level 19
Level 19
Posts: 9519
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Windows and Linux Mint Dual boot

Post by Moem » Mon Sep 16, 2019 11:33 am

Since this is a new installation, the easiest solution is to reinstall.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

athi
Level 6
Level 6
Posts: 1461
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Windows and Linux Mint Dual boot

Post by athi » Mon Sep 16, 2019 11:35 am

You will need to reinstall Mint in UEFI mode to get GRUB menu with both Mint and Windows. Right now, you will need to select Mint or Windows from the firmware boot menu. Links to Pjotr excellent tutorial on dual booting:
https://easylinuxtipsproject.blogspot.c ... ws-10.html
https://easylinuxtipsproject.blogspot.c ... -mint.html

Also, please run below command in Terminal (ctrl+alt+t) to output system information and post results here to help us better assist you.

Code: Select all

inxi -Fxz
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

HKhan
Level 1
Level 1
Posts: 5
Joined: Sun Sep 15, 2019 5:45 pm

Re: Windows and Linux Mint Dual boot

Post by HKhan » Mon Sep 16, 2019 12:29 pm

The result of the upper command are as follows

System:
Host: Lenovo-ideapad-110-15ISK Kernel: 4.15.0-62-generic x86_64 bits: 64
compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.2.4
Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic
Machine:
Type: Laptop System: LENOVO product: 80UD v: Lenovo ideapad 110-15ISK
serial: <filter>
Mobo: LENOVO model: Lenovo ideapad 1 v: No DPK serial: <filter>
UEFI [Legacy]: LENOVO v: 1TCN22WW(V2.03) date: 12/27/2016
Battery:
ID-1: BAT1 charge: 8.4 Wh condition: 24.3/31.7 Wh (77%)
model: LG PABAS0241231 status: Discharging
CPU:
Topology: Dual Core model: Intel Core i5-6200U bits: 64 type: MT MCP
arch: Skylake rev: 3 L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19200
Speed: 600 MHz min/max: 400/2800 MHz Core speeds (MHz): 1: 558 2: 567
3: 506 4: 502
Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Lenovo driver: i915
v: kernel bus ID: 00:02.0
Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7
M520]
vendor: Lenovo driver: radeon v: kernel bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: ati,modesetting,radeon
unloaded: fbdev,vesa resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
v: 4.5 Mesa 19.0.8 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: ALSA v: k4.15.0-62-generic
Network:
Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Lenovo
driver: r8169 v: 2.3LK-NAPI port: 5000 bus ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Device-2: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter
vendor: Lenovo driver: rtl8821ae v: kernel port: 4000 bus ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Device-3: KYE Systems (Mouse Systems) GF3000F Ethernet Adapter type: USB
driver: hid-generic,usbhid bus ID: 1-4:2
Drives:
Local Storage: total: 931.51 GiB used: 10.74 GiB (1.2%)
ID-1: /dev/sda vendor: Western Digital model: WD10JPCX-24UE4T0
size: 931.51 GiB
Partition:
ID-1: / size: 13.69 GiB used: 9.99 GiB (73.0%) fs: ext4 dev: /dev/sda6
ID-2: /home size: 107.04 GiB used: 766.6 MiB (0.7%) fs: ext4
dev: /dev/sda8
ID-3: swap-1 size: 3.73 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda7
Sensors:
System Temperatures: cpu: 47.0 C mobo: N/A gpu: radeon temp: 35 C
Fan Speeds (RPM): N/A
Info:
Processes: 204 Uptime: 1h 30m Memory: 3.73 GiB used: 1.42 GiB (38.1%)
Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20
inxi: 3.0.32

athi
Level 6
Level 6
Posts: 1461
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Windows and Linux Mint Dual boot

Post by athi » Mon Sep 16, 2019 1:21 pm

HKhan wrote:
Mon Sep 16, 2019 12:29 pm
The result of the upper command are as follows

Code: Select all

System:
  Host: Lenovo-ideapad-110-15ISK Kernel: 4.15.0-62-generic x86_64 bits: 64 
  compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.2.4 
  Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: LENOVO product: 80UD v: Lenovo ideapad 110-15ISK 
  serial: <filter> 
  Mobo: LENOVO model: Lenovo ideapad 1 v: No DPK serial: <filter> 
  UEFI [Legacy]: LENOVO v: 1TCN22WW(V2.03) date: 12/27/2016 
Battery:
  ID-1: BAT1 charge: 8.4 Wh condition: 24.3/31.7 Wh (77%) 
  model: LG PABAS0241231 status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i5-6200U bits: 64 type: MT MCP 
  arch: Skylake rev: 3 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19200 
  Speed: 600 MHz min/max: 400/2800 MHz Core speeds (MHz): 1: 558 2: 567 
  3: 506 4: 502 
Drives:
Local Storage: total: 931.51 GiB used: 10.74 GiB (1.2%)
ID-1: /dev/sda vendor: Western Digital model: WD10JPCX-24UE4T0
size: 931.51 GiB
Partition:
ID-1: / size: 13.69 GiB used: 9.99 GiB (73.0%) fs: ext4 dev: /dev/sda6
ID-2: /home size: 107.04 GiB used: 766.6 MiB (0.7%) fs: ext4
dev: /dev/sda8
ID-3: swap-1 size: 3.73 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda7 
Lenovo ideapad 110-15ISK comes pre-installed with Win10 and firmware in UEFI mode. Your output is showing boot mode as legacy BIOS which is consistent with Mint installation in legacy BIOS mode. Can you even boot Win10 with firmware in legacy BIOS mode?

Anyway, to install Mint in UEFI mode, you will need to set the firmware to UEFI mode, disable secure boot and SATA is not set to RAID mode. You will also need to boot into Win10, disable Win10 fast startup feature, hybernation support and do a full shutdown of Win10 before Mint installation. Most of these steps are in Pjotr tutorials. Please run below commands in Terminal to determine current state of secure boot and SATA settings.

Code: Select all

mokutil --sb-state

Code: Select all

sudo dmraid -Er
Before installation of Mint, please run below command in Terminal to confirm that Mint booted in UEFI mode. From the partition layout, looks like you installed using "Something Else" option. I would recommend that you use the "Install Alongside" option to allow Mint installer to do its magic until you have more experience. For this, you will need to use GParted or Disks to delete the 13.7GB ext4 / partition, 107GB ext4 /home partition, 3.7GB SWAP partition and tell Mint installer to install into the free space.

Code: Select all

[ -d /sys/firmware/efi ] && echo "Currently in UEFI mode" || echo "Currently in Legacy mode"
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

HKhan
Level 1
Level 1
Posts: 5
Joined: Sun Sep 15, 2019 5:45 pm

Re: Windows and Linux Mint Dual boot

Post by HKhan » Mon Sep 16, 2019 3:48 pm

Thank you very much for your detailed reply. No i cannot boot win in Legacy mode. I have to switch to UEFI mode to boot windows.

athi
Level 6
Level 6
Posts: 1461
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: Windows and Linux Mint Dual boot

Post by athi » Mon Sep 16, 2019 4:18 pm

Please prepare Win10 and firmware as per tutorials, it maybe difficult to find settings for secure boot and SATA, look in all the sections of firmware. You can always confirms status of secure boot and SATA mode when you boot into Mint live session. SATA in RAID mode will cause installation failure. Secure boot enabled will allow Mint installation but prevent Mint from booting but should be correctable after installation. Before installation, please confirms that Mint booted into UEFI mode so the installer can properly install Mint per UEFI requirements.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

Post Reply

Return to “Installation & Boot”