LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-22-2016, 09:06 PM   #1
jcrickard
LQ Newbie
 
Registered: Jan 2016
Posts: 4

Rep: Reputation: Disabled
New To Linux/Ejecting USB Drive


I am new to Linux, going back to school to get my Bachelors and I am taking I Linux Admin course and I just love Linux so far. I have been running Ubuntu 14.4 on a VM. but tonight I installed Ubuntu 14.4 on a older Acer netbook I had, using a bootable usb I created with the Ubuntu iso file, and then I realized I dont know how to properly eject the thumbdrive. So a little help would be great.
System Info:
10 Inch Acer netbook
1.4 Ghz CPU
2.0 GB Ram
200 GB HD
Thank You
JC
 
Old 01-23-2016, 07:16 PM   #2
flshope
Member
 
Registered: Jul 2009
Location: Murfreesboro TN (United States)
Distribution: Ubuntu 16.04.1, 14.04.4, Debian 8.6
Posts: 119
Blog Entries: 32

Rep: Reputation: 26
I am running Ubuntu 14.04 but with the Gnome Classic desktop. One of the menu items from your top bar should be a "Computer" menu item. On my machine, a USB drive icon will show up here. If so, you should be able to right-click on the icon and either eject or unmount the device.

Failing that, you can use the file manager to look at /media where the drive might be mounted, perhaps in a subdirectory. Again, the right-click and eject option should be operable.
 
1 members found this post helpful.
Old 01-23-2016, 07:21 PM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
OTOH, bootable media is not necessarily mounted, if it is not just unplug it. Eject/umount is needed only if there were writes to the media to ensure the cache is flushed.
 
2 members found this post helpful.
Old 01-23-2016, 07:22 PM   #4
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,091
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Hi.

And if those don't work to find the drive the:
Code:
sudo fdisk -l
then:
Code:
sudo umount /dev/theDrive
best wishes and have fun!
 
Old 01-23-2016, 07:29 PM   #5
jcrickard
LQ Newbie
 
Registered: Jan 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you for your help, i was looking for the cli commands and i got them. Everyone has been so helpful on this forum. Thank you
 
Old 01-23-2016, 09:13 PM   #6
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
to see what is currently mounted run:

Quote:
mount
and then you can umount the relevant file system, using either the file system or the mount point as the exit point- note you drop the 'n' in the umount command.

fred.
 
1 members found this post helpful.
Old 01-24-2016, 02:50 PM   #7
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 2,062

Rep: Reputation: Disabled
MY OPTION, in what I do is just pull it out. it is hot plugged.
 
Old 01-24-2016, 02:58 PM   #8
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,091
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
It's an option, I've done it but only at risk... http://superuser.com/questions/18072...-unplugging-it

Last edited by jamison20000e; 01-24-2016 at 02:59 PM.
 
Old 01-24-2016, 03:56 PM   #9
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 2,062

Rep: Reputation: Disabled
Quote:
Originally Posted by jamison20000e View Post
It's an option, I've done it but only at risk... http://superuser.com/questions/18072...-unplugging-it
is that a tech page on the perils of unpluging before its done writting to the media? I do have a built in wait state (sometimes) I don't even use USB/SD Cards much so it is not something that is often done by me. but Hot Plug is to eliminate mount - umount commands - in most linux distros they auto mount the usb, so you have to do a umount in order to dd it or ( format ?) it -- I use Gparted to format and most of my hdd usb needs. when ever I come across them which is few and far between.

Code:
sudo blkid
to get the /dev/sxx then umount it. done...

Last edited by BW-userx; 01-24-2016 at 04:00 PM.
 
Old 01-24-2016, 04:10 PM   #10
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,091
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Best not trust in one or two storage devices\media*...

:edit:

Last edited by jamison20000e; 01-24-2016 at 04:53 PM. Reason: + \media*
 
  


Reply


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
[SOLVED] How to umount USB drive without ejecting in XFCE BoraxMan Linux - Desktop 4 01-31-2013 04:23 AM
[SOLVED] --current , xorg crashes and computer locks up ejecting optical drive Old_Fogie Slackware 4 12-22-2010 08:32 PM
Linux ejecting my DVDRW stefaandk Linux - Newbie 5 01-16-2007 05:41 PM
The cd-rom drive is not ejecting Gald3r Linux - Newbie 13 03-31-2006 12:50 AM
External USB DVD combo drive keep ejecting by itself nnsg Linux - Hardware 0 06-24-2004 11:05 AM


All times are GMT -5. The time now is 10:05 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