Removing Linux MInt from dual boot system

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
KenWA
Level 3
Level 3
Posts: 114
Joined: Thu Mar 07, 2019 12:20 pm

Removing Linux MInt from dual boot system

Post by KenWA »

I created a dual boot system on my laptop to experiment with LM. I have now moved to a dual boot system on my desktop and wish to continue to use the laptop just for Windows for the few programs I have not yet transferred to LM to obviate the laborious process of moving between operating systems. The question is how to remove Linux Mint without affecting Windows?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
antikythera
Level 15
Level 15
Posts: 5721
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Removing Linux MInt from dual boot system

Post by antikythera »

can you post your partition layout please? A screenshot of GParted would suffice. While it can be done fairly easily, without knowing what layout you are using it may do more harm than good if someone offers you the wrong generic advice.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
KenWA
Level 3
Level 3
Posts: 114
Joined: Thu Mar 07, 2019 12:20 pm

Re: Removing Linux MInt from dual boot system

Post by KenWA »

file:///home/ken/Desktop/Selection_022.jpg_023.jpg
ralplpcr
Level 6
Level 6
Posts: 1096
Joined: Tue Jul 28, 2015 10:11 am

Re: Removing Linux MInt from dual boot system

Post by ralplpcr »

KenWA wrote: Tue Aug 18, 2020 6:01 am file:///home/ken/Desktop/Selection_022.jpg_023.jpg
You'll need to actually upload your screenshot somewhere. We have no way of viewing files that are situated on your actual PC in that way.

Try imgur.com for an easy upload, and send the link to where it's stored.
KenWA
Level 3
Level 3
Posts: 114
Joined: Thu Mar 07, 2019 12:20 pm

Re: Removing Linux MInt from dual boot system

Post by KenWA »

<blockquote class="imgur-embed-pub" lang="en" data-id="a/upldSga" data-context="false" ><a href="//imgur.com/a/upldSga"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>
KenWA
Level 3
Level 3
Posts: 114
Joined: Thu Mar 07, 2019 12:20 pm

Re: Removing Linux MInt from dual boot system

Post by KenWA »

IMGUR is new to me and I regret I cannot determine how to use it to upload. Above you will see the results of my first effort but after reading several posts I am still unable to proceed. I have not had this trouble posting images on other forums.
cliffcoggin
Level 8
Level 8
Posts: 2297
Joined: Sat Sep 17, 2016 6:40 pm
Location: England

Re: Removing Linux MInt from dual boot system

Post by cliffcoggin »

Ken.
You need to add your screenshot as an attachment to your reply. See the attachment tab below the space where you type the reply. You may need to shrink it if the size is too great so best to copy only the relevant part of the screen.
Cliff Coggin
KenWA
Level 3
Level 3
Posts: 114
Joined: Thu Mar 07, 2019 12:20 pm

Re: Removing Linux MInt from dual boot system

Post by KenWA »

I found an alternative site which is streets ahead of Imgur in simplicity. https://ibb.co/Y7Ltq4h

Image
User avatar
I2k4
Level 5
Level 5
Posts: 784
Joined: Thu Feb 02, 2012 8:33 pm

Re: Removing Linux MInt from dual boot system

Post by I2k4 »

This worked for me a few years ago, reverting to single boot Windows 7 on my little netbook (which is now back to dual booting LM20 XFCE):

https://lifehacker.com/how-to-uninstall ... -508710422

Along with removing the Linux partition will restore the Windows boot loader (get rid of GRUB). Important to be sure data is backed up befoer doing any such procedure.
TRUST BUT VERIFY any advice from anybody, including me. Mint/Ubuntu user since 10.04 LTS. LM20 64 bit XFCE (Dell 1520). Dual boot LM20 XFCE / Win7 (Lenovo desktop and Acer netbook). Testing LM21.1 Cinnamon and XFCE Live for new Lenovo desktop.
KenWA
Level 3
Level 3
Posts: 114
Joined: Thu Mar 07, 2019 12:20 pm

Re: Removing Linux MInt from dual boot system

Post by KenWA »

Thank you. It looked a very clear and simple solution. After checking all data etc. I moved to Win7, identified the 75GB NTFS as Windows, right clicked on the 153GB Linux partition and clicked 'Delete Volume'. This produced the green box of free space so I clicked on 'Delete Volume' again. This produces the message "There is not enough space available on the disk to complete this operation".
Have you any suggestion as yo how I can proceed from here?
User avatar
I2k4
Level 5
Level 5
Posts: 784
Joined: Thu Feb 02, 2012 8:33 pm

Re: Removing Linux MInt from dual boot system

Post by I2k4 »

KenWA wrote: Tue Aug 18, 2020 12:11 pm Thank you. It looked a very clear and simple solution. After checking all data etc. I moved to Win7, identified the 75GB NTFS as Windows, right clicked on the 153GB Linux partition and clicked 'Delete Volume'. This produced the green box of free space so I clicked on 'Delete Volume' again. This produces the message "There is not enough space available on the disk to complete this operation".
Have you any suggestion as yo how I can proceed from here?
It's been years since I did it, and I can't recall any problems. If you're trying the LifeHacker process:

Right-click on the partition and choose "Delete Volume." This will delete the partition from your hard drive, leaving free space. If you get a green box of "free space," you'll have to right-click on it and choose "Delete Volume" a second time until you get the black "Unallocated Space."

"Right-click on your Windows partition and choose "Extend Volume." Extend it to fill the free space your Linux partition left behind.


It seems you should have been able to delete the green box Free Space producing a black box Unallocated Space, which you can then fill by extending the Windows partition. I can only guess, but it might be possible to extend the Windows partition into the green box Free Space. Failing that, there are some free third-party Wndows partition managers with more capabilities than the built-in Windows tool - I can't recommend any but here's an example at the top of a Google search:

https://www.hdd-tool.com/windows-7/free ... ss%20Enter.

If that works you can go back to the LIfeHacker steps to restore the Master Boot Loader. Hope it helps.
TRUST BUT VERIFY any advice from anybody, including me. Mint/Ubuntu user since 10.04 LTS. LM20 64 bit XFCE (Dell 1520). Dual boot LM20 XFCE / Win7 (Lenovo desktop and Acer netbook). Testing LM21.1 Cinnamon and XFCE Live for new Lenovo desktop.
KenWA
Level 3
Level 3
Posts: 114
Joined: Thu Mar 07, 2019 12:20 pm

Re: Removing Linux MInt from dual boot system

Post by KenWA »

The first thing I did was to try to extend the Windows partition but at this stage the option 'Extend' is greyed out and unavailable.
There are obviously many options for managing partitions but I have no idea where this shortage of space is located. Is it in the Windows partition, the potentially deleted LInux partition or the mysterious unnamed 3.8 GB third partition. In fact I don't understand why deleting the contents of a partition requires any space at all.
Thank you for replying.
asinoro
Level 6
Level 6
Posts: 1285
Joined: Mon Feb 12, 2018 11:43 am

Re: Removing Linux MInt from dual boot system

Post by asinoro »

1-Windows backup.
2-Live medium of Windows to fix MBR.
From live Linux Mint medium.
3- gparted unmount all partitions.
4-Delete Linux partition and swap.
5-incease Windows partition and check again with gparted.
6-Reboot from live Windows medium and fix MBR.
Last edited by asinoro on Wed Aug 19, 2020 12:14 pm, edited 1 time in total.
User avatar
I2k4
Level 5
Level 5
Posts: 784
Joined: Thu Feb 02, 2012 8:33 pm

Re: Removing Linux MInt from dual boot system

Post by I2k4 »

Extending Windows into Free Space might fail becasue Free Space might be in the very different Linus disk format, which Windows doesn't recognize, I have to guess Unallocated Space gets reformatted consistent with the rest of Windows partition. Extending Winows simply recovers the space removed from it to create the Linux dual boot - I'm not in Windows but installing GParted in Linux shows the Windows (NTFS) and the Mint EXT) partitions on my box. You might remember how much space you allocated to Mint while creating the dual boot.
Screenshot GParted_2020-08-19_12-01-10.png
So doing the LIfeHacker procedure would give back to Windows the 75GB now used for Mint. The above advice from Asinoro to do the Windows repartitioning with GParted makes sense, but I have no personal experience.
TRUST BUT VERIFY any advice from anybody, including me. Mint/Ubuntu user since 10.04 LTS. LM20 64 bit XFCE (Dell 1520). Dual boot LM20 XFCE / Win7 (Lenovo desktop and Acer netbook). Testing LM21.1 Cinnamon and XFCE Live for new Lenovo desktop.
KenWA
Level 3
Level 3
Posts: 114
Joined: Thu Mar 07, 2019 12:20 pm

Re: Removing Linux MInt from dual boot system

Post by KenWA »

"You might remember how much space you allocated to Mint while creating the dual boot."
I never set any space just allowed LInux to do its own thing. THe result is shown in the Gparted diagram on my post of 18/8/20 10.20.

asinore - Since I have already deleted the Linux partition ( my post of 18/8 12.11.), presumably I would need a live LM disk with Gparted to carry out your plan. Unfortunately I do not have this at the moment. I probably need a Windows solutin if possible.
User avatar
I2k4
Level 5
Level 5
Posts: 784
Joined: Thu Feb 02, 2012 8:33 pm

Re: Removing Linux MInt from dual boot system

Post by I2k4 »

People do things differently, but on your screen shot I read that out of about 230GB of drive space, 75GB is formatted to Windows NTFS and over 150GB for Linux as ext 4 disk format. You apparently have converted that 150 of Linux to Free Space, but what does Windows tell you is the total file apace available for it? If it's only 75GB that would indicate work repartitiioning is warranted to get the 150GB back.

I have always had to choose the amount of space to allocate from an all-Windows drive to install Mint during the initial procedure, but your hard drive might have been set up otherwise beforehand so that Mint installed where it is. Still looks necessary to find the way to extend Windows onto that big ext4 partition in order to use the whole hard drive - personally would be looking for partition manager to do it.
TRUST BUT VERIFY any advice from anybody, including me. Mint/Ubuntu user since 10.04 LTS. LM20 64 bit XFCE (Dell 1520). Dual boot LM20 XFCE / Win7 (Lenovo desktop and Acer netbook). Testing LM21.1 Cinnamon and XFCE Live for new Lenovo desktop.
Locked

Return to “Beginner Questions”