Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Briefly, what's the easiest way to remove Ubuntu from a USB key? I'd usually just take it off with a Linux Live Creator batch file, but for whatever reason this particular live USB wasn't made with L.L.C.
or if you want the lazy mans way to do it. hook it up to a windows computer and do a quick format unless you want to install ccleaner like I use and do 3 formats on the drive then use it.
Don't want to do that, as I have my C: drive backed up on it.
How did you put Ubuntu on the flash drive? Generally, software such as unetbootin/pendrivelinux will use a FAT32 partition for a Linux Live CD on a flash drive. Did you do a Live CD install? Did you just copy the Ubuntu iso file to the flash drive and boot it from Grub on your hard drive? Did you do a full install? I would think you would need an ntfs partition for a windows backup but I haven't used windows for years so don't really know.
I assume if whatever software was used displayed a message that all data will be overwritten that you would of cancelled the operation and therefore your backup is still intact. I also assume that you have examined the drive to see if your backup is still intact.
The disk creators that use a FAT32 I believe basically extracts and copy the files to the drive and then use syslinux to make it bootable. I have not heard of delete or restore feature for the flash drive. Just by examining the drive you should be able to find those directories that are part of the Ubuntu and delete them. If unsure you could extract the files from the ISO and compare them with the contents of the flash drive.
There's only one partition which is both an Ubuntu live installation and a backup for your Windows system? That doesn't make a lot of sense...but either way can you find the directory where your Windows drive is backed up to and delete everything else?
Last edited by suicidaleggroll; 09-19-2015 at 09:53 AM.
Briefly, what's the easiest way to remove Ubuntu from a USB key? I'd usually just take it off with a Linux Live Creator batch file, but for whatever reason this particular live USB wasn't made with L.L.C.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.