I missed the usb drive on the desktop, how can I eject it?

Asked by Denni Agung Pambudi on 2012-09-03

Yes, after I plug my usb phone cable to my pc, at first, it apeears and I unplug it without ejecting. But, in second time, the usb drive won't appear and I'm still using the usb, and don't wanna unplug it without ejection. How can I make it appears?

Question information

English Edit question
Ubuntu util-linux Edit question
No assignee Edit question
Solved by:
Denni Agung Pambudi
Last query:
Last reply:

This question was reopened

If you run:

sudo fdisk -l; mount

You can see the devices as well as if and how they are mounted. If any partitions on the USB are mounted, you must unmount them first with:

sudo umount /dev/sga1

(yes, it's umount, not unmount and obviously use the correct partition for your device). Once all partitions are unmounted from the device you can run (using my example above):

sudo eject /dev/sga

and you can now remove it safetly. /dev/sga is the actual drive, /dev/sga1 is the first partition.

Yes, I have typed sudo fdisk -l; mount
And below is the result.......

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00062247

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 973103103 486550528 83 Linux
/dev/sda2 973105150 976771071 1832961 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 973105152 976771071 1832960 82 Linux swap / Solaris
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/denniagungpambudi/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=denniagungpambudi)

I hope you can help me with this..................

There is no other drive there, other than the bootable drive in the system. Is the USB drive attached?

Yes, of course. On the phone, there is an icon of usb conection. If so, does it mean that the usb is not mounted? So, Can I unplug i without ejection?

Hoping for your reply.


But, there is a text, i.e. "Partition 2 does not start on physical sector boundary". So, what does it mean? Can you explain?

Yes, its not present as a drive so it is ejected. Unplug away :)

Okay. Thanks for your reply.