LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 06: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, 06:19 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,903

Rep: Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859
Format the partitions(s) on the usb drive.
 
Old 09-17-2015, 06: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, 07: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, 08: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, 08:57 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,903

Rep: Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859
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, 08: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-18-2015, 12:07 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,903

Rep: Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859Reputation: 1859
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, 02: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, 05:09 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,532

Rep: Reputation: 3137Reputation: 3137Reputation: 3137Reputation: 3137Reputation: 3137Reputation: 3137Reputation: 3137Reputation: 3137Reputation: 3137Reputation: 3137Reputation: 3137
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, 10:49 AM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137
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 10:53 AM.
 
Old 09-19-2015, 12:53 PM   #12
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,648

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:35 AM
Cannot safely remove USB memory and USB DISK kujirasan Linux - Hardware 4 09-26-2011 07: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 07:38 PM
remove gnome-desktop ubuntu and strictly use lxde ubuntu 9.04 Jaunty Polanski Linux - Software 1 05-07-2009 02:53 PM
When is it safe to remove USB devices? mysticsound Linux - Laptop and Netbook 8 05-23-2005 06:17 PM

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

All times are GMT -5. The time now is 06:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration