[SOLVED] Getting rid of Windows dual boot

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
ccase01
Level 1
Level 1
Posts: 37
Joined: Mon Nov 25, 2019 11:52 pm
Location: Portland

[SOLVED] Getting rid of Windows dual boot

Post by ccase01 »

I set up Linux in a dual-boot configuration with Windows. I want to get rid of Windows and reclaim the space. I want to stick with Mint. Any advice on best wat to do this? I've been reading up on it but there are soooo many different posts and a seemingly equal number of ways to do it.
Last edited by ccase01 on Wed Mar 18, 2020 8:59 am, edited 2 times in total.
Linux Mint 19.3
Lenovo Legion 17.3 Laptop
Intel© 6 Core™ i7-9750H CPU @ 2.60GHz
64GB
Nvidia RTX 2080 MAXQ

User avatar
JerryF
Level 12
Level 12
Posts: 4228
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Getting rid of Windows dual boot

Post by JerryF »

Start by giving us some information about your system.

Run the following command from Terminal, then copy and paste the result in between [code][/code] tags. It's the </> button above where you type a message.

Code: Select all

inxi -Fdxz
Also helpful would be these two:

Code: Select all

lsblk

Code: Select all

blkid
IF your problem has been solved, please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line. It helps other members when browsing posts.

ccase01
Level 1
Level 1
Posts: 37
Joined: Mon Nov 25, 2019 11:52 pm
Location: Portland

Re: Getting rid of Windows dual boot

Post by ccase01 »

c@CC-LaptopDUALBoot:~$ inxi -Fdxz
System: Host: CC-LaptopDUALBoot Kernel: 5.3.0-24-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.4.6
Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Machine: Type: Laptop System: LENOVO product: 81LK v: IdeaPad L340-15IRH Gaming serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <filter> UEFI: LENOVO v: BGCN19WW date: 04/19/2019
Battery: ID-1: BAT0 charge: 45.7 Wh condition: 45.7/45.0 Wh (101%) model: Celxpert L18C3PF1 status: Full
CPU: Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 12.0 MiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399
Speed: 1375 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 1375 2: 1316 3: 1314 4: 1321 5: 1330 6: 1400 7: 1325
8: 1394 9: 1382 10: 1335 11: 1330 12: 1343
Graphics: Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA vendor: Lenovo driver: nvidia v: 440.44 bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 440.44 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k5.3.0-24-generic
Network: Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel port: 5000 bus ID: 00:14.3
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000
bus ID: 07:00.0
IF: enp7s0 state: down mac: <filter>
Drives: Local Storage: total: 10.01 TiB used: 778.94 GiB (7.6%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS200T3X0C-00SJG0 size: 1.82 TiB
ID-2: /dev/sda vendor: Samsung model: SSD 860 EVO 4TB size: 3.64 TiB
ID-3: /dev/sdb type: USB vendor: Seagate model: BUP Portable size: 4.55 TiB
Message: No Optical or Floppy data was found.
Partition: ID-1: / size: 1.16 TiB used: 343.73 GiB (28.9%) fs: ext4 dev: /dev/nvme0n1p6
Sensors: System Temperatures: cpu: 61.0 C mobo: N/A gpu: nvidia temp: 45 C
Fan Speeds (RPM): N/A
Info: Processes: 384 Uptime: 12h 45m Memory: 31.24 GiB used: 8.40 GiB (26.9%) Init: systemd runlevel: 5 Compilers:
gcc: 9.2.1 Shell: bash v: 4.4.20 inxi: 3.0.32


cc@CC-LaptopDUALBoot:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 14.7M 1 loop /snap/remmina/3754
loop1 7:1 0 54.6M 1 loop /snap/core18/1279
loop2 7:2 0 44.2M 1 loop /snap/gtk-common-themes/1353
loop3 7:3 0 201.3M 1 loop /snap/hiri/56
loop4 7:4 0 89.1M 1 loop /snap/core/8268
loop5 7:5 0 168.5M 1 loop /snap/brave/63
loop6 7:6 0 14.7M 1 loop /snap/remmina/3743
loop7 7:7 0 167.6M 1 loop /snap/brave/62
loop8 7:8 0 54.6M 1 loop /snap/core18/1288
loop9 7:9 0 89.1M 1 loop /snap/core/8213
loop10 7:10 0 156.7M 1 loop /snap/gnome-3-28-1804/110
loop11 7:11 0 56.4M 1 loop /snap/powershell/77
sda 8:0 0 3.7T 0 disk
└─sda1 8:1 0 3.7T 0 part /media/cc/Data
sdb 8:16 0 4.6T 0 disk
└─sdb1 8:17 0 4.6T 0 part /media/cc/Backup
nvme0n1 259:0 0 1.8T 0 disk
├─nvme0n1p1 259:1 0 529M 0 part
├─nvme0n1p2 259:2 0 99M 0 part /boot/efi
├─nvme0n1p3 259:3 0 16M 0 part
├─nvme0n1p4 259:4 0 653.9G 0 part
├─nvme0n1p5 259:5 0 617M 0 part
└─nvme0n1p6 259:6 0 1.2T 0 part /


cc@CC-LaptopDUALBoot:~$ blkid
/dev/nvme0n1p1: LABEL="Recovery" UUID="64BE4AFCBE4AC5F0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="48b5924e-976c-4e72-ab7c-5cd46a0ed9d3"
/dev/nvme0n1p2: UUID="7C4B-55DF" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="f6287323-a24e-4068-91a4-1e98edbe7a05"
/dev/nvme0n1p4: UUID="B8A64CABA64C6BC6" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="498e2044-7214-4d41-8e51-138810f9c9d6"
/dev/nvme0n1p5: UUID="084CF2034CF1EB78" TYPE="ntfs" PARTUUID="785aa4cf-cf76-417f-ab23-8c2d827e4b40"
/dev/nvme0n1p6: UUID="9bdc8283-ece8-4c06-b7e5-c3fa3d684039" TYPE="ext4" PARTUUID="a37726a7-bf5e-4f1e-8788-1aa52dd28cd3"
/dev/sda1: LABEL="Data" UUID="f218eff3-b900-49ca-8d18-04a9ca61cc28" TYPE="ext4" PARTUUID="8e38ae52-3abb-447b-8a2c-6909a68e2f86"
/dev/sdb1: LABEL="Backup" UUID="5f230fbf-95e3-4637-9068-7b0f09b56566" TYPE="ext4" PARTLABEL="Backup" PARTUUID="ce137428-6a9b-49d6-8db2-91bc683d8dd1"
Linux Mint 19.3
Lenovo Legion 17.3 Laptop
Intel© 6 Core™ i7-9750H CPU @ 2.60GHz
64GB
Nvidia RTX 2080 MAXQ

ccase01
Level 1
Level 1
Posts: 37
Joined: Mon Nov 25, 2019 11:52 pm
Location: Portland

Re: Getting rid of Windows dual boot

Post by ccase01 »

Anyone care to share any insights?
Linux Mint 19.3
Lenovo Legion 17.3 Laptop
Intel© 6 Core™ i7-9750H CPU @ 2.60GHz
64GB
Nvidia RTX 2080 MAXQ

User avatar
Pierre
Level 19
Level 19
Posts: 9785
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Getting rid of Windows dual boot

Post by Pierre »

as always, there is several ways to do that:
- one way, is to simply format the C: drive / partition, from the program - Disks
- another way is to use the program Gparted, to also format the C: drive / partition
in both cases, you still have to manually remove the Windows entry from the grub Boot Menu.

you could also just redo the command sudo update-grub in Terminal,
but that could still find the Windows Boot Loader in the .EFI partition & still load that entry again,
- - it would not work, as you've now formatted that C: drive / partition - haven't you !

NB: once you've formatted that partition, you would then simply re-use it, again, as an /DATA storage area.
8)
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

ccase01
Level 1
Level 1
Posts: 37
Joined: Mon Nov 25, 2019 11:52 pm
Location: Portland

Re: Getting rid of Windows dual boot

Post by ccase01 »

My goal is to eliminate Win 10 altogether. Then expand the former Win 10 partition as part of Linux ext4 Mint
Linux Mint 19.3
Lenovo Legion 17.3 Laptop
Intel© 6 Core™ i7-9750H CPU @ 2.60GHz
64GB
Nvidia RTX 2080 MAXQ

User avatar
JerryF
Level 12
Level 12
Posts: 4228
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Getting rid of Windows dual boot

Post by JerryF »

ccase01 wrote:
Sat Jan 04, 2020 3:07 pm

Code: Select all

c@CC-LaptopDUALBoot:~$ inxi -Fdxz
System: Host: CC-LaptopDUALBoot Kernel: 5.3.0-24-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.4.6
Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Machine: Type: Laptop System: LENOVO product: 81LK v: IdeaPad L340-15IRH Gaming serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <filter> UEFI: LENOVO v: BGCN19WW date: 04/19/2019
Battery: ID-1: BAT0 charge: 45.7 Wh condition: 45.7/45.0 Wh (101%) model: Celxpert L18C3PF1 status: Full
CPU: Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 12.0 MiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399
Speed: 1375 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 1375 2: 1316 3: 1314 4: 1321 5: 1330 6: 1400 7: 1325
8: 1394 9: 1382 10: 1335 11: 1330 12: 1343
Graphics: Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA vendor: Lenovo driver: nvidia v: 440.44 bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa
resolution: 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 440.44 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k5.3.0-24-generic
Network: Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel port: 5000 bus ID: 00:14.3
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000
bus ID: 07:00.0
IF: enp7s0 state: down mac: <filter>
Drives: Local Storage: total: 10.01 TiB used: 778.94 GiB (7.6%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS200T3X0C-00SJG0 size: 1.82 TiB
ID-2: /dev/sda vendor: Samsung model: SSD 860 EVO 4TB size: 3.64 TiB
ID-3: /dev/sdb type: USB vendor: Seagate model: BUP Portable size: 4.55 TiB
Message: No Optical or Floppy data was found.
Partition: ID-1: / size: 1.16 TiB used: 343.73 GiB (28.9%) fs: ext4 dev: /dev/nvme0n1p6
Sensors: System Temperatures: cpu: 61.0 C mobo: N/A gpu: nvidia temp: 45 C
Fan Speeds (RPM): N/A
Info: Processes: 384 Uptime: 12h 45m Memory: 31.24 GiB used: 8.40 GiB (26.9%) Init: systemd runlevel: 5 Compilers:
gcc: 9.2.1 Shell: bash v: 4.4.20 inxi: 3.0.32

Code: Select all

cc@CC-LaptopDUALBoot:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 14.7M 1 loop /snap/remmina/3754
loop1 7:1 0 54.6M 1 loop /snap/core18/1279
loop2 7:2 0 44.2M 1 loop /snap/gtk-common-themes/1353
loop3 7:3 0 201.3M 1 loop /snap/hiri/56
loop4 7:4 0 89.1M 1 loop /snap/core/8268
loop5 7:5 0 168.5M 1 loop /snap/brave/63
loop6 7:6 0 14.7M 1 loop /snap/remmina/3743
loop7 7:7 0 167.6M 1 loop /snap/brave/62
loop8 7:8 0 54.6M 1 loop /snap/core18/1288
loop9 7:9 0 89.1M 1 loop /snap/core/8213
loop10 7:10 0 156.7M 1 loop /snap/gnome-3-28-1804/110
loop11 7:11 0 56.4M 1 loop /snap/powershell/77
sda 8:0 0 3.7T 0 disk
└─sda1 8:1 0 3.7T 0 part /media/cc/Data
sdb 8:16 0 4.6T 0 disk
└─sdb1 8:17 0 4.6T 0 part /media/cc/Backup
nvme0n1 259:0 0 1.8T 0 disk
├─nvme0n1p1 259:1 0 529M 0 part
├─nvme0n1p2 259:2 0 99M 0 part /boot/efi
├─nvme0n1p3 259:3 0 16M 0 part
├─nvme0n1p4 259:4 0 653.9G 0 part
├─nvme0n1p5 259:5 0 617M 0 part
└─nvme0n1p6 259:6 0 1.2T 0 part /

Code: Select all

cc@CC-LaptopDUALBoot:~$ blkid
/dev/nvme0n1p1: LABEL="Recovery" UUID="64BE4AFCBE4AC5F0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="48b5924e-976c-4e72-ab7c-5cd46a0ed9d3"
/dev/nvme0n1p2: UUID="7C4B-55DF" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="f6287323-a24e-4068-91a4-1e98edbe7a05"
/dev/nvme0n1p4: UUID="B8A64CABA64C6BC6" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="498e2044-7214-4d41-8e51-138810f9c9d6"
/dev/nvme0n1p5: UUID="084CF2034CF1EB78" TYPE="ntfs" PARTUUID="785aa4cf-cf76-417f-ab23-8c2d827e4b40"
/dev/nvme0n1p6: UUID="9bdc8283-ece8-4c06-b7e5-c3fa3d684039" TYPE="ext4" PARTUUID="a37726a7-bf5e-4f1e-8788-1aa52dd28cd3"
/dev/sda1: LABEL="Data" UUID="f218eff3-b900-49ca-8d18-04a9ca61cc28" TYPE="ext4" PARTUUID="8e38ae52-3abb-447b-8a2c-6909a68e2f86"
/dev/sdb1: LABEL="Backup" UUID="5f230fbf-95e3-4637-9068-7b0f09b56566" TYPE="ext4" PARTLABEL="Backup" PARTUUID="ce137428-6a9b-49d6-8db2-91bc683d8dd1"
I set up a virtual machine and simulated your setup of the nvme0n disk.
Caution: do this at your own risk.
Backup important data first.

I did the following:

Boot a live USB of Mint.

Using Gparted, delete partitions 1, 3, 4, 5 on your M.2 drive (I'm seeing nvme0n1 as your disk, so I'm assuming it's an M.2 drive). Don't touch sda or sdb drives.
Move partition 2 (your EFI partition) all the way to the left.
Resize partition 6 by dragging the left boundary of partition 6 to the left so it's abutting the recently moved partition 2.
Apply the changes.

You should be able to boot. If not, boot the live USB again.
Run Boot Repair.
Click on Advanced Options.
Click on the GRUB location tab.
Check to see if "OS to boot by default" is nvme0n1p6 (Linux Mint...)
Check to see if "Separate /boot/efi partition" is checkmarked and says nvme0n1p2
Answer Yes or No to the prompts. Either is fine. Those will install and upload your boot information to pasetbin.
IF your problem has been solved, please edit your ORIGINAL post and add [SOLVED] to the beginning of the Subject Line. It helps other members when browsing posts.

Petermint
Level 5
Level 5
Posts: 860
Joined: Tue Feb 16, 2016 3:12 am

Re: Getting rid of Windows dual boot

Post by Petermint »

Gparted is good for those partition changes. Deleting and formatting is fast. Moving can be real slow. Have battery based devices on mains power. Have several backups of the partition you are moving just in case the disk or something else has an error.

Post Reply

Return to “Newbie Questions”