6

Is there a way to mount back a USB stick that is once ejected, without physically detaching it and then plugging it in?

It was a live-usb of Linux Mint 14 in it, if it helps.

Rifaz Nahiyan
  • 320
  • 2
  • 4
  • 13

1 Answers1

1

You can mount a device by typing i.e. sudo mount /dev/sdxX /mnt (change "xX" to your device)

Identify your USB-Stick by sudo fdisk -l to know the devicename and partition number which looks like sdbxX i.e. sdb1

prophecy201
  • 2,690
  • 15
  • 21
  • 3
    You can do this only if the device is unmounted. It is not possible to remount an ejected USB device without restarting the USB port the device is connected to (which is a huge overkill imo). The question should make up its mind whether it wants to mount ejected devices or unmounted devices. – infiniteRefactor Apr 02 '13 at 12:17
  • Have you tried `mount -o remount -rw `? – prophecy201 Apr 02 '13 at 12:27
  • 4
    When you eject a USB device the device node is destroyed. There is nothing to mount. – infiniteRefactor Apr 02 '13 at 12:36
  • Can I get it back in connection with the PC once I eject it? Without removing and plugging it back in? – Rifaz Nahiyan Apr 02 '13 at 17:57
  • @utkuerd, see http://unix.stackexchange.com/a/74066/14907, btw -1 for weak answer that only works when device is not actually ejected but only umounted. – akostadinov Jul 06 '15 at 09:15