LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2019, 09:07 PM   #1
DorKen
LQ Newbie
 
Registered: Oct 2019
Posts: 10

Rep: Reputation: Disabled
Remove Ubuntu


Hello, I have been dual booting with LinuxMint & Ubuntu to try both os I would like to remove Ubuntu,can i do it without reinstalling Mint and wiping my hard drive clean. Is it possible to just delete the partition that Ubuntu is using,i do not understand the command sequence so that is out, thanks in advance for any suggestions. Ken.
 
Old 12-02-2019, 09:28 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,615
Blog Entries: 26

Rep: Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555Reputation: 4555
You don't even need to delete the Ubuntu partition. You can simply reformat it; then you can use it for data.

A web search for "reformat existing partition linux" will turn up a number of links. One of them should apply to your situation. If it were me, I'd use cfdisk, but that's because I've used it for years.

Just be careful that you reformat the correct partition(s) and don't accidentally blow away your Mint partitions. As the old carpenters' saying goes, "Measure twice, cut once."
 
1 members found this post helpful.
Old 12-02-2019, 09:33 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,286

Rep: Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992
You need to make sure Mint is the default boot before doing anything drastic. Which system boots by default if you don't select anything ?.
 
1 members found this post helpful.
Old 12-02-2019, 09:36 PM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,668

Rep: Reputation: 605Reputation: 605Reputation: 605Reputation: 605Reputation: 605Reputation: 605
from linux mint post the output of
Code:
lsblk -f
and which is the first grub menu entry mint or ubuntu?
 
1 members found this post helpful.
Old 12-02-2019, 10:01 PM   #5
DorKen
LQ Newbie
 
Registered: Oct 2019
Posts: 10

Original Poster
Rep: Reputation: Disabled
Ubuntu boots first as i installed it after Mint
 
1 members found this post helpful.
Old 12-02-2019, 10:22 PM   #6
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,668

Rep: Reputation: 605Reputation: 605Reputation: 605Reputation: 605Reputation: 605Reputation: 605
still need the output of the lsblk -f from a terminal
 
1 members found this post helpful.
Old 12-02-2019, 10:26 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,286

Rep: Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992
And this - install efibootmgr in need.
Code:
sudo efibootmgr -v
 
Old 12-03-2019, 06:52 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,704

Rep: Reputation: 1791Reputation: 1791Reputation: 1791Reputation: 1791Reputation: 1791Reputation: 1791Reputation: 1791Reputation: 1791Reputation: 1791Reputation: 1791Reputation: 1791
Do you know if you have UEFI installs or Legacy/CSM (or do you know what that means)? To determine if you have a Legacy or UEFI install, while booted either, copy and paste the command below into a terminal.

Quote:
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
If the output is: Legacy boot on HDD, boot into Mint and install Grub to the MBR: sudo grub-install /dev/sda

The above would be if both Mint/Ubuntu are on sda, if not change the drive name to the correct one. That will put Mint Grub boot files in the MBR and then you can safely copy any data from the Ubuntu partition and format it. If your output above is "EFI boot on HDD", post back as the process is different.
 
Old Yesterday, 05:50 PM   #9
DorKen
LQ Newbie
 
Registered: Oct 2019
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi everyone, I wouldn`t know what i was doing with Terminal commands so i backed up my files and reinstalled Mint from a usb image,and got rid of Ubuntu that way, so everything is going along nicely with a clean install. thanks for all your suggestions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
On uninstall, does it make more sense to remove or remove completely? annadane Debian 6 01-30-2017 03:47 PM
apt-get remove kolf-kde4 will remove kde4? michielv Linux - Software 1 02-10-2009 07:02 AM
Remove Evolution - remove everything?! samjh Debian 4 01-13-2009 07:26 AM
# yum remove dbus - trying to remove the whole system... atnonis Fedora 4 11-23-2007 07:31 AM
apt-get remove chrony doesn't remove all? asgerhallas Debian 3 06-05-2007 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration