I'm running Ubuntu 20.4 on a USB. But only has 16GB. Would like to switch to another USB stick, but don't know how or with which program.
The new USB stick is empty (brand new).
I also wanted to ask how I can delete the OS from the small USB so that I can use it again as a normal USB stick.
PS: I use USB sticks for the laptop because the pins for the hard drives on the motherboard broke.
Install Win32DiskImager on another PC and "Read" the small stick. Then on the big "Write" in the same program.
Copy with "dd" and enlarge the partition (s) with "gparted".
And where do i do that? Incidentally, my pc is running on the stick so if I should have made that incomprehensible
Here is a description of how "dd" works (with examples):
https://wiki.ubuntuusers.de/dd/
… As long as you have a second USB port, it will also work if the system comes from the stick.
… And gparted is almost self-explanatory:
https://wiki.ubuntuusers.de/GParted/
Getting Ubuntu as a full-fledged persistent operating system on a USB stick - with which you can then operate any computer - that's no problem. Linux can do this without third-party programs.
Download the latest Ubuntu image under the old Ubuntu, insert any USB pen, it does not have to be formatted. In Ubuntu, start the "Create Startup Medium", select Image and specify the target pin + press Create Startup Medium.
Now you have Ubuntu as an image on the pen and can use it live or install it on any PC. Label the pen with "Image U20.4" and do not delete it again (is always helpful).
Turn off the computer, plug in the generated pen and boot, insert an additional 128 GB pen, click Install on the desktop, click through… That's it.
Cloning is also super easy on Linux.
On the console: sudo dd if = / dev / sdb of = / dev / sdc bs = 1M clones from USB pin 2 to 3 (bit-accurate and bootable).