Linux Lite Forums
Delete LL on machine with dual-boot - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Linux Lite (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=17)
+--- Thread: Delete LL on machine with dual-boot (/showthread.php?tid=4431)



Delete LL on machine with dual-boot - thoughtinstinct - 09-13-2017

Hi


I have bought a personal laptop so i will like to delete LL from a shared desktop that had both LL and Windows 10 installed. How is the best way to go about deleting LL without touching Windows 10?


Re: Delete LL on machine with dual-boot - gold_finger - 09-13-2017


NOTE:  for any solution listed below, have a live LL USB/DVD handy where you will use GParted from it to delete the LL partition(s).

Answer depends on how the two OSs were installed (what boot mode both are using).


If both are installed in Legacy mode and LL's grub menu gives you the choice to boot into either OS on startup, then you'll need to have Windows 10's boot loader take back control of booting the computer before you delete LL, so computer boots properly without LL.


Unless you went through rather complicated procedure to get LL installed and working in UEFI mode (you would remember if you actually did this), I'm going to assume LL is installed in Legacy mode.  So main thing you need to determine is what boot mode is Windows using?


Answer will be Legacy mode if the following are true:
  • You are able to boot into Windows from LL's grub menu choice on startup.
  • In an LL terminal, if you run command sudo parted --list and see "msdos" listed next to "Partition Table" in the output.
If confirmed that Windows is in Legacy mode, do either of these things to have it take back control of booting the computer before you delete LL: Once completed, computer should boot straight to Windows offering no choice for booting LL.


Now, reboot computer using live LL USB/DVD and open GParted from there.
  • In GParted, right-click on the Swap partition and choose "swapoff".
  • Delete your LL related partitions (should be any formatted as "ext4") and the Swap partition.
  • Hit "Apply" button to carry out the deletions.
  • Close GParted, shutdown computer when done.
Boot back into Windows when done and you can use its Disk Management utility to reclaim the space previously occupied by LL.




If Windows is installed in UEFI mode and LL in Legacy mode, then you probably have to invoke the appropriate boot mode during startup to boot into either of the two and LL's grub menu will either not show at all when you select booting in Legacy mode or it will show, but not give a choice for booting Windows.  Confirm for sure that Windows was installed in UEFI mode before deleting LL by doing either of these:
  • Use terminal command sudo parted --list while booted in LL.  If "Partition Table" shows "gpt" then Windows is installed in UEFI mode.
  • Follow instructions shown here while booted into Windows.
If confirmed that Windows is in UEFI mode, follow instructions above to delete LL's partitions while booted into live LL USB/DVD.  No need to fix Windows MBR first.  Just set UEFI/Bios to always boot in UEFI mode and Windows will boot every time.


Re: Delete LL on machine with dual-boot - trinidad - 09-13-2017

You can do this from a Windows installation disc if you have one.  There are instructions here for EFI or MBR. Make sure you read the Windows 10 section.

https://neosmart.net/wiki/fix-mbr/#Fix_the_MBR_in_Windows_10

I will get you the other links to do this from a running Windows 10 sys. In a moment.

Okay read these too.

https://www.tenforums.com/tutorials/85195-check-if-windows-10-using-uefi-legacy-bios.html

https://www.tenforums.com/tutorials/5831-boot-uefi-firmware-settings-inside-windows-10-a.html

This will get you through most anything that comes up.


Re: Delete LL on machine with dual-boot - thoughtinstinct - 09-21-2017

Hi guys

Thanks for your detailed replies especially gold_finger, it's very evident why you are documentation writer. Unfortunately i spent so many days trying to remove LL and i ended up not being able to boot into either OS. I lost my patience and decided to get rid of Windows and just install LL, seems to have been a blessing in disguise and what i should have done from the beginning.

Thanks again for your efforts and taking the time to help out !


Re: Delete LL on machine with dual-boot - Valtam - 09-21-2017

(09-21-2017, 01:34 PM)thoughtinstinct link Wrote: I lost my patience and decided to get rid of Windows and just install LL, seems to have been a blessing in disguise and what i should have done from the beginning.

I ALWAYS appreciate it when people use this solution Smile


Re: Delete LL on machine with dual-boot - m654321 - 09-21-2017

(09-21-2017, 01:34 PM)thoughtinstinct link Wrote: I lost my patience and decided to get rid of Windows and just install LL, seems to have been a blessing in disguise and what i should have done from the beginning.

A noble sentiment, but ...

If not dual-booting, it can be useful to leave Windows OS on one computer in your house (if you have more than one PC), for those tasks that are either impossible, or only very complicated to do, with Linux, e.g. specific hardware that only comes with Windows drivers (e.g. some scanner makes/models, routers, updating BIOS, etc). One day, I had to reconfigure my router and was glad to have had an installed copy of Windows, even though in principle I don't like this OS and would prefer to be a 100%-Windows-free-household.


Re: Delete LL on machine with dual-boot - Moltke - 09-21-2017

If you ever happen to dual boot Windows and Linux again, I suggest install EasyBCD http://neosmart.net/EasyBCD/ in Windows, it lets you get the job of getting rid of Linux done without any harm to Windows. It's very easy to use. Just download the non-commercial version. Register or not, your choice but not needed. There are plenty of tutorials on the web explaining the procedure which I insist, it's very very easy to follow. I've used everytime and works flawlessly.  ;D


Re: Delete LL on machine with dual-boot - thoughtinstinct - 09-21-2017

(09-21-2017, 02:02 PM)m654321 link Wrote: If not dual-booting, it can be useful to leave Windows OS on one computer in your house (if you have more than one PC), for those tasks that are either impossible, or only very complicated to do, with Linux

That was my reasoning as well but having spent so many hours to fix something i most probably won't use personally i decided its not worth it. Besides the problem i was encountering seems to be a known issue with Windows recovery disk.


Thanks [member=7109]Moltke[/member], i will try that if i happen to be in a similar situation in the future.