Have you created a partition and a file system on the USB stick?

On Monday, April 21, 2014 5:27:30 AM UTC-5, Sanghyuk Lee wrote:
>
>   hello  
>
>   I installed ubuntu 12.04 in emmc memory.  because  I need sdio interface 
> for another device.
>
> But  BBK cannot mount usb stick  memory. 
>  
>  When  i  insert  usb stick memory in BBK ,  logo is as below. 
>
>
>  How can I mount usb stick memory beagle board.
>
>
>  May  it need   udisk2?   
>
>  if needed  udisk2   how  and where can  I get  udisk2  in beagle bone 
> ubuntu. 
>  
>  I am waiting for your reply.
>
>  thank u.   
>
>
>
>
> buntu@ubuntu-armhf:/media$ [  213.188718] sd 2:0:0:0: [sda] No Caching 
> mode page present
> [  213.194637] sd 2:0:0:0: [sda] Assuming drive cache: write through
> [  213.222809] sd 2:0:0:0: [sda] No Caching mode page present
> [  213.228759] sd 2:0:0:0: [sda] Assuming drive cache: write through
> [  213.288317] sd 2:0:0:0: [sda] No Caching mode page present
> [  213.294330] sd 2:0:0:0: [sda] Assuming drive cache: write through
>
> ubuntu@ubuntu-armhf:/media$
> ubuntu@ubuntu-armhf:/media$ dmesg | tail
> [  213.184549] sd 2:0:0:0: [sda] Write Protect is off
> [  213.184607] sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00
> [  213.188718] sd 2:0:0:0: [sda] No Caching mode page present
> [  213.194637] sd 2:0:0:0: [sda] Assuming drive cache: write through
> [  213.222809] sd 2:0:0:0: [sda] No Caching mode page present
> [  213.228759] sd 2:0:0:0: [sda] Assuming drive cache: write through
> [  213.273099]  sda: sda1
> [  213.288317] sd 2:0:0:0: [sda] No Caching mode page present
> [  213.294330] sd 2:0:0:0: [sda] Assuming drive cache: write through
> [  213.300852] sd 2:0:0:0: [sda] Attached SCSI removable disk
> ubuntu@ubuntu-armhf:/media$ [  726.051209] tilcdc 4830e000.fb: timeout 
> waiting for framedon
>
> ubuntu@ubuntu-armhf:/media$ ls -al
> total 8
> drwxr-xr-x  2 root root 4096 Apr 21 06:08 .
> drwxr-xr-x 23 root root 4096 Apr 21 07:02 ..
>
> /etc/udev/automount script 
>
> Start at sdb to avoid system harddrive.
> KERNEL!="sd[a-z][0-9]",  GOTO="media_by_label_auto_mount_end"
>
> #Import FS infos
> IMPORT{program}="/sbin/blkid -o udev -p %N"
>
> # Create a label
> ENV{dir_name}=="usbhd-%k"
>
> #Global mount options
> ACTION=="add", ENV{mount_option}="defaults, relatime"
>
> #Filesystem-specific mount options
> ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", 
> ENV{mount_option}=="$env{mount_option},utf8,gid=100,umask=002"
>
> #Mount the device
> ACTION=="add", RUN+="/bin/mkdir -p /media/%E{dir_name}", RUN+="/bin/mount 
> -o $env{mount_options} /dev/%k /media/%E{dir_name}"
>
> # Clean up after removal
> ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l 
> /media/%E{dir_name}", RUN+="/bin/rmdir /media/%E{dir_name}"
>
> # Exit
> LABEL="media_by_label_auto_mount_end"
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to