LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delete LL on machine with dual-boot
#1
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?
Reply
#2

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.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#3
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_t...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/8519...-bios.html

https://www.tenforums.com/tutorials/5831...-10-a.html

This will get you through most anything that comes up.
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#4
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 !
Reply
#5
(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
Reply
#6
(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.
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)  
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Reply
#7
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
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply
#8
(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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)