USB stick not visible
When I insert my USB stick in the computer it doen't show in the file manager. If I check the /media directory it doesn't show there either. If I use sudo fdisk -l it does show as "sdb". What would be the command to make it visible? Since I cannot see it I have no path for it either?
|
When you run fdisk, do you see any partitions on the USB stick, e.g. sdb1. If so,
Code:
sudo mount /dev/sdb1 /media Code:
sudo mount /dev/sdb /media |
You didn't indicate which distribution of Linux you are using.
You also haven't indicated if there is anything on the usb stick, what filesystem. The standard command to mount an ext4 type filesystem on a flash drive which is seen as the second drive with one partition is to first create a mount point: sudo mkdir /media/usb Then mount: sudo mount -t /dev/sdb1 /media/usb If it is something else, you will need to make the appropriate changes. |
My USB stick was automatically made an installation disk with the command dd
After I installed Linux Debian Wheezy from it after rebooting and inserting back the USB stick it was not seen anymore (the other sticks automatically seen in the file managers) What I wanted to do is after the computer recognizes the USB stick as an installation CD, I can still use it with commands like apt-get install... (i thought by mounting it would do that...) Below is what the USB stick shows like: root@debian:/home/children# sudo fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000c7be7 Device Boot Start End Blocks Id System /dev/sda1 * 2048 152143871 76070912 83 Linux /dev/sda2 152145918 156301311 2077697 5 Extended /dev/sda5 152145920 156301311 2077696 82 Linux swap / Solaris Disk /dev/sdb: 4040 MB, 4040724480 bytes 64 heads, 32 sectors/track, 3853 cylinders, total 7892040 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x39884cb6 Device Boot Start End Blocks Id System /dev/sdb1 * 64 1327103 663520 17 Hidden HPFS/NTFS |
Quote:
Code:
[root@centos ~]# tail -f /var/log/messages now if your system automagically mounts, then you will look as pointed out above in either /media or /run, but in either case df -Th will show you were it is mounted if it is mounted automagically. enjoy and good luck. |
Your example is for "Win95 FAT32 (LBA)".
Mine is listed as "Hidden HPFS/NTFS". I tried "vfat"... it didn't work I tried "hpfs" instead of "vfat" ... it didn't work I tried "ntfs" instead of "vfat" ... it dind't work Also /mnt/usb it is for me instead /media/usb (there is no point mounted /mnt/usb in my system. so what do I use for the mount command now? |
You might see if the info at the site below helps. I haven't got anything to test it with right now.
http://major.io/2010/12/14/mounting-...scue-in-linux/ If you have parted installed on Debian you could try the command below which should show the filesystem type: Code:
parted /dev/sda print all |
Quote:
have you installed ntfs-3g, if not that needs to be installed before Debian can access the HPFS/NTFS file system. |
All times are GMT -5. The time now is 01:26 AM. |