0

I need to remove Ubuntu 12.04 from my USB Pendrive so that I can add latest Ubuntu version instead.

I tried updating from 12.04 to Ubuntu 14 using the update manager but I dont have enough free storage on my USB.

How do I remove the old version and replace it with the new one?

Edit:

I managed to update to Ubuntu 16.04.3 by using the UniversalUSBInstaller. I didn't format the USB beforehand. Instead the UniversalUSBInstaller overwrote the old Ubuntu 12.04. It seems to be working ok atm. If there's problems, I'll post back here. Thanks for your help.

Zanna
  • 72,312

2 Answers2

2

Single boot USB pendrive

A cloned live-only Ubuntu system on a USB pendrive is the basic and standard system.

An alternative is a persistent live Ubuntu system, where you can install program packages, that survive reboot, and where you can store data files.

Such systems can be installed [almost] automatically, if you use mkusb to install Ubuntu into the pendrive. The previous content of the USB pendrive will be lost during that process, but some fragments might be possible to recover. If you want to remove all traces, you should wipe the whole drive before installing.

A live-only system can also be cloned with the built-in tool (in Ubuntu), Disks alias gnome-disks, and in Ubuntu 16.04 LTS and newer versions, the Startup Disk Creator, and with Win32 Disk Imager in Windows.

Multiboot USB pendrive

If you have/want a multiboot USB pendrive with several live operating systems, you can use another tool, for example MultiBootUSB.

sudodus
  • 47,684
1

Linux

If you are already on ubuntu or any other linux system you can do this.

do lsblk

and that should list every device that is plugged into your system.

You need the ISO of the version of ubuntu that you wanna use.

dd if=(/PATH/FILENAME) of=/dev/(The name of the device in lsblk. Like sdc)

This will write over the files in it and you now have a flashdrive with it.

Windows

Just get UUI from here

Jimbow
  • 11