schu777
Posts: 5
Joined: Mon Dec 14, 2015 4:12 pm

How to mount SD card in SanDisk ImageMate 8 in 1?

Mon Dec 14, 2015 4:28 pm

I've been searching for ways to find my blank SD card (32 gig) on the SanDisk ImageMate 8 in 1 USB mass storage. I found the following shows the ImageMate is there...but not for sure how to locate the SD card now.

Thanks, Michael

Code: Select all

pi@raspberrypi /mnt $ lsusb
Bus 001 Device 010: ID 0781:8889 SanDisk Corp. SDDR-88 Imagemate 8-in-1 Reader
Bus 001 Device 007: ID 1c4f:0016 SiGma Micro 
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 008: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

flubbard
Posts: 65
Joined: Tue Dec 08, 2015 12:41 pm
Location: Ohio, USA
Contact: Website

Re: How to mount SD card in SanDisk ImageMate 8 in 1?

Mon Dec 14, 2015 9:21 pm

Typically, you will first need to find where it is placed. To see if it is already mounted, you can go type the following at the command prompt:

Code: Select all

sudo df -h
This should show if you have your 32GB drive mounted at some point (you should see something in the range of 31GB).

If it is not showing, I would typically try

Code: Select all

sudo fdisk -l
To show all of the drives. Again, you should see something in the range of 31-32 GB showing in a place such as

Code: Select all

/dev/sde
Under /dev/sde, you will normally see sde1 and possible sde2, if you have 2 partitions (such as if you have already put Raspbian or another Pi based distribution).

Try these commands and let me know what the results are.

Hope this helps:

- Barry

schu777
Posts: 5
Joined: Mon Dec 14, 2015 4:12 pm

Re: How to mount SD card in SanDisk ImageMate 8 in 1?

Mon Dec 14, 2015 10:55 pm

Here is the results from running the commands - no luck or I'm not seeing the right thing...

Code: Select all

pi@raspberrypi ~ $ sudo df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       5.5G  4.1G  1.2G  79% /
devtmpfs        459M     0  459M   0% /dev
tmpfs           463M     0  463M   0% /dev/shm
tmpfs           463M  6.4M  457M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           463M     0  463M   0% /sys/fs/cgroup
/dev/mmcblk0p6   60M   20M   41M  33% /boot
tmpfs            93M  8.0K   93M   1% /run/user/1000
/dev/mmcblk0p5  488M  408K  452M   1% /media/pi/data
/dev/mmcblk0p3   27M  397K   25M   2% /media/pi/SETTINGS


pi@raspberrypi ~ $ sudo fdisk -l

Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 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 /dev/ram1: 4 MiB, 4194304 bytes, 8192 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 /dev/ram2: 4 MiB, 4194304 bytes, 8192 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 /dev/ram3: 4 MiB, 4194304 bytes, 8192 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 /dev/ram4: 4 MiB, 4194304 bytes, 8192 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 /dev/ram5: 4 MiB, 4194304 bytes, 8192 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 /dev/ram6: 4 MiB, 4194304 bytes, 8192 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 /dev/ram7: 4 MiB, 4194304 bytes, 8192 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 /dev/ram8: 4 MiB, 4194304 bytes, 8192 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 /dev/ram9: 4 MiB, 4194304 bytes, 8192 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 /dev/ram10: 4 MiB, 4194304 bytes, 8192 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 /dev/ram11: 4 MiB, 4194304 bytes, 8192 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 /dev/ram12: 4 MiB, 4194304 bytes, 8192 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 /dev/ram13: 4 MiB, 4194304 bytes, 8192 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 /dev/ram14: 4 MiB, 4194304 bytes, 8192 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 /dev/ram15: 4 MiB, 4194304 bytes, 8192 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 /dev/mmcblk0: 7.3 GiB, 7860125696 bytes, 15351808 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
Disklabel type: dos
Disk identifier: 0x000a7b13

Device         Boot    Start      End  Sectors  Size Id Type
/dev/mmcblk0p1          8192  2121093  2112902    1G  e W95 FAT16 (LBA)
/dev/mmcblk0p2       2121728 15286271 13164544  6.3G 85 Linux extended
/dev/mmcblk0p3      15286272 15351807    65536   32M 83 Linux
/dev/mmcblk0p5       2129920  3178495  1048576  512M 83 Linux
/dev/mmcblk0p6       3186688  3309567   122880   60M  c W95 FAT32 (LBA)
/dev/mmcblk0p7       3317760 15286271 11968512  5.7G 83 Linux

Partition table entries are not in disk order.
pi@raspberrypi ~ $

MrEngman
Posts: 3870
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: How to mount SD card in SanDisk ImageMate 8 in 1?

Mon Dec 14, 2015 11:15 pm

I have a small USB card reader on a couple of my Pi's.

Code: Select all

Bus 001 Device 004: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
With an SD card plugged into the reader I check the SD card is visible using command ls /dev and see something like sda sda1 sda2 sdb sdc sdd listed. The SD card usually shows as /dev/sda and /dev/sda1 and /dev/sda2. sda1 and sda2 being the two partitions on the card. Sometimes the SD card doesn't show so I disconnect and then reconnect the card reader and then re-insert the SD card and it is then normally visible.

I then mount the partition, usually sda2, I want to access using sudo mount /dev/sda2 /mnt. The SD card partition is then accessible in directory /mnt.

Code: Select all

pi@Pi-B-plus /mnt/home/pi $ ls /mnt
bin  boot  boot.bak  dev  etc  home  lib  lost+found  media  mnt  opt  proc  root  run  sbin  selinux  srv  sys  tmp  usr  var
This is what my raspbian SD card shows.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

schu777
Posts: 5
Joined: Mon Dec 14, 2015 4:12 pm

Re: How to mount SD card in SanDisk ImageMate 8 in 1?

Tue Dec 15, 2015 12:09 am

Perhaps one thing I didn't mention - the SD Card is not formatted, just brand new and I'm trying to get to the point of installing Fedora onto it...

Michael

MrEngman
Posts: 3870
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: How to mount SD card in SanDisk ImageMate 8 in 1?

Tue Dec 15, 2015 12:46 am

I would expect as it is a new SD card it will already be formatted so I would expect you to see a partition listed. So you should see a basic disk and a single partition if using command ls /dev, such as /dev/sda and /dev/sda1. The SD card may have a different name, sdb, sdc etc. depending on your card reader.

To copy an image to the card I would expect you would need to use dd something like

Code: Select all

sudo dd bs=1m if=path_of_your_image.img of=/dev/sda
if necessary replacing sda with the name your SD card shows as.

The command @flubbard mentioned in his post earlier in this thread, sudo df -h, will probably only show the card info if the SD card is auto-mounted when you plug it into your card reader. If it is auto mounted you will need to unmount it using sudo umount /dev/sda1 or whatever the SD card is referenced as before copying the image to it.

When I plug SD cards into my card reader connected to my Pi's they do not get auto-mounted and I expect this will be the same for you.

Just a warning. I'm fairly sure the info above is OK but I have never copied an image to an SD card using my Pi so be careful. I always use win32diskimager on a windows laptop. ;)

There is a load of info here about copying images to SD cards on different systems but I find it very confusing.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

flubbard
Posts: 65
Joined: Tue Dec 08, 2015 12:41 pm
Location: Ohio, USA
Contact: Website

Re: How to mount SD card in SanDisk ImageMate 8 in 1?

Tue Dec 15, 2015 2:20 pm

What was the result of the

Code: Select all

fdisk -l
command, as that should show the sd card if it is being seen by the system (even if not partitioned or formatted, which is unlikely)

As for the dd command shown in Engman's post, that should work fine, but you need to identify where your sd card is coming in first.

- Barry

schu777
Posts: 5
Joined: Mon Dec 14, 2015 4:12 pm

Re: How to mount SD card in SanDisk ImageMate 8 in 1?

Tue Dec 15, 2015 4:06 pm

Well, end result is that after plugging it into my Windows 7 laptop, it doesn't even see it. In fact, the drives don't show up UNTIL I take out the sd card, then it sees those. I'm thinking I've had issues with this one port on the reader. Guess I'll have to look into getting a new one - UGH.

Tired of having stuff not working...

jahboater
Posts: 4837
Joined: Wed Feb 04, 2015 6:38 pm

Re: How to mount SD card in SanDisk ImageMate 8 in 1?

Wed Dec 16, 2015 10:15 am

Plug the card reader in and then type "dmesg" - you might then see the device name within the last few lines even if the mount failed.

Return to “Beginners”