LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-17-2015, 05:06 PM   #1
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Rep: Reputation: Disabled
Remove Ubuntu from a usb


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.
 
Old 09-17-2015, 05:19 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Format the partitions(s) on the usb drive.
 
Old 09-17-2015, 05:30 PM   #3
Kawar
Member
 
Registered: Sep 2015
Posts: 50

Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Format the partitions(s) on the usb drive.
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.
 
Old 09-17-2015, 06:42 PM   #4
beardedragon
LQ Newbie
 
Registered: Jul 2015
Posts: 13

Rep: Reputation: Disabled
Do not forget most USB drives are formatted for Fat32
 
Old 09-17-2015, 07:09 PM   #5
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Format the partitions(s) on the usb drive.
Don't want to do that, as I have my C: drive backed up on it. (I tried making a system image on USB, but Win. insisted I didn't have the right kind.)
 
Old 09-17-2015, 07:57 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
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.
 
Old 09-17-2015, 07:59 PM   #7
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
I'm not sure, but I know it wasn't just copying the .iso file.
 
Old 09-17-2015, 11:07 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Do you know how many partitions you have on the usb?
Do you know what filesystem types on the partition(s)?
 
Old 09-18-2015, 01:38 PM   #9
Seff
Member
 
Registered: Aug 2015
Distribution: Mint Rafaela
Posts: 144

Original Poster
Rep: Reputation: Disabled
There's only one partition, format fat32.
 
Old 09-18-2015, 04:09 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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.
 
1 members found this post helpful.
Old 09-19-2015, 09:49 AM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by Seff View Post
There's only one partition, format fat32.
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.
 
Old 09-19-2015, 11:53 AM   #12
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by Seff View Post
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.
Hit it with a hammer.
 
  


Reply

Tags
ubuntu 14.04, uninstalling



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
How to remove usb stick U3 partition Pedroski Linux - Hardware 5 12-05-2012 05:35 AM
Cannot safely remove USB memory and USB DISK kujirasan Linux - Hardware 4 09-26-2011 06:39 PM
[SOLVED] How to remove GRUB2 & Ubuntu from MacBook Pro with Windows 7, Ubuntu and OS X? lupusarcanus Linux - Newbie 8 07-18-2010 06:38 PM
remove gnome-desktop ubuntu and strictly use lxde ubuntu 9.04 Jaunty Polanski Linux - Software 1 05-07-2009 01:53 PM
When is it safe to remove USB devices? mysticsound Linux - Laptop and Netbook 8 05-23-2005 05:17 PM

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

All times are GMT -5. The time now is 08:26 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
Open Source Consulting | Domain Registration