@
@
@Richswitch2017-07-08 12:25:19
linux
@Richswitch, 2017-07-08 12:25:19

How to remove Elementary OS from Ubuntu?

Hey!
A long time ago, when I used Win 10, I decided to install linux as a second system, I settled on the Elementary OS distribution kit (because of the graphical shell), but something went wrong and I did not use Elementary OS, instead of a "good" removal, I, with the help of which I don’t remember, the program deleted the OS selection boot when the computer was turned on.
Today I installed Ubuntu (I will not return to Windows) on a fully formatted system disk.
Thus, I have:
1) SSD for the system (Ubuntu lies here)
2) HDD, which is divided into several parts inside:

  • There's room for more
  • Some kind of "Extended section" (plz explain what it is)
  • Swap (as I understand it, something necessary)
  • File system ( sdb5 in which Elementary OS was installed
c2fe6d5a3b184e8bb38c3c891c5e6bee.png
In addition, during the boot of the computer, a menu for selecting a distribution kit and other settings appears.
Tried to format sdb5, didn't work.
The question is how to get rid of an unnecessary distribution kit?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nazar Mokrinsky, 2017-07-08
_

Some kind of "Extended section" (plz explain what it is)

The MBR disk layout has a limit of 4 partitions. But if you create an Extended partition, then you can create 4 more inside it, that is, how to expand the limit (although in your case this was not necessary, this does not create any special problems). Windows does not want to boot from such partitions (at least it didn’t want to before), but Linux still, most likely Elementary OS used such a default markup when it was installed.
Not that it is vital, but yes, it can be used. The truth is that it (apparently) was used in Elementary OS and not the fact that your current system also uses it. Select the partition and see if it is mounted, also look in /etc/fstab to see if there is a swap partition and if so, which one is being used. If this is not used, then you can demolish the entire extended section as a whole.
Tried to format sdb5, didn't work.
The question is how to get rid of an unnecessary distribution kit?

There are 2 aspects here. First you need to demolish the partition in Elementary OS, the formatting of the partition that you did should be able to handle that. After that, you need to re-generate the GRUB boot menu so that the no longer existing Elementary OS disappears from there, this can be done with one command sudo update-grub. After that, reboot and Elementary OS should disappear without a trace.

E
Eugene Wolf, 2017-07-08
@Wolfnsex

Some kind of "Extended section" (plz explain what it is)
It is written in detail here that
Tried to format sdb5, didn't work.
Failed to format?
Swap (as I understand it, something necessary)
This is a section into which data from RAM is merged when there is not enough of it, relatively speaking, a piece of disk that is used as RAM when it is not enough. In new versions of Ubuntu, they were going to move this partition to a file, without creating a separate partition (as in Windows). Regarding its necessity, this is a rhetorical and philosophical question (taking into account the fact that phones with 16+ GB of RAM sometimes already have it).
The question is how to get rid of an unnecessary distribution kit?
Do you need to get rid of the distribution or the menu in the bootloader? If from a distribution, as far as I understand, it should be able to boot. This is true? If so, just delete the partition (completely) on which this distribution was located and that's it. If we are talking about the bootloader menu, it is pretty well written about it here .

S
Sergey Mirchenko, 2017-07-08
@KM-Brothers

1. Transfer all the necessary files to the SSD.
2. Install GParted.
3. Using GParted, format the HDD and make the markup you need.
4. Move the files back.
5. Update GRUB: sudo update-grub
Ps Don't worry about the swap partition, you still have it on your HDD and it won't be of much use. But still, if you need it, make it on an SSD using the same GParted.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question