WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [solved] mount usb mp3-player  (Read 2967 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
[solved] mount usb mp3-player
« on: September 14, 2010, 04:02:40 PM »
Hi!

I have an usb mp3-player that won't show up in fstab when doing sudo rebuildfstab. It shows up as /dev/sdb: UUID="68DE-5DE7" TYPE="vfat" when doing blkid. When doing sudo mount /dev/sdb /mnt/sdb i get "failed: Invalid argument". How can I mount it?

regards
/Uggla
« Last Edit: September 14, 2010, 04:41:27 PM by uggla »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: mount usb mp3-player
« Reply #1 on: September 14, 2010, 04:12:05 PM »
Does it show in
Code: [Select]
fdisk -l
?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: mount usb mp3-player
« Reply #2 on: September 14, 2010, 04:16:11 PM »
Yes

Disk /dev/sdb: 4072 MB, 4072669184 bytes
126 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7812 * 512 = 3999744 bytes

   Device Boot      Start         End      Blocks  Id System

/Uggla

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: mount usb mp3-player
« Reply #3 on: September 14, 2010, 04:31:27 PM »
Blind guessing, but it couldnt harm to do a fsck (dosfstools-*.tcz required)

Also you could try to specify fs with mount, e.g. -t vfat
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: mount usb mp3-player
« Reply #4 on: September 14, 2010, 04:38:39 PM »
It isn't in fstab because it isn't partitioned.
Just:
mkdir /mnt/work
mount /dev/sdb /mnt/work

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: mount usb mp3-player
« Reply #5 on: September 14, 2010, 04:40:45 PM »
Specifying the fs (vfat) solved it. Thanks!

/Uggla

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [solved] mount usb mp3-player
« Reply #6 on: September 14, 2010, 04:44:59 PM »
In this case I would still do a fsck. Better safe than sorry.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: [solved] mount usb mp3-player
« Reply #7 on: September 14, 2010, 05:01:30 PM »
I got this:

tc@box:~$ fsck /dev/sdb
fsck 1.41.11 (14-Mar-2010)
fsck: fsck.vfat: not found
fsck: Error 2 while executing fsck.vfat for /dev/sdb

what does that say?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [solved] mount usb mp3-player
« Reply #8 on: September 14, 2010, 05:19:15 PM »
try
Code: [Select]
dosfsck -vrf /dev/sdb
unmounted!
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: [solved] mount usb mp3-player
« Reply #9 on: September 15, 2010, 06:35:03 AM »
I got:

tc@box:~$ dosfsck -vrf /dev/sdb
dosfsck 3.0.3 (18 May 2009)
dosfsck 3.0.3, 18 May 2009, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
     16384 bytes per cluster
        32 reserved sectors
First FAT starts at byte 16384 (sector 32)
         2 FATs, 32 bit entries
   1007616 bytes per FAT (= 1968 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 2031616 (sector 3968)
    248452 data clusters (4070637568 bytes)
63 sectors/track, 255 heads
         0 hidden sectors
   7954432 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sdb: 135 files, 217847/248452 clusters

Then it's safe to use mount -t vfat?

/Uggla

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [solved] mount usb mp3-player
« Reply #10 on: September 15, 2010, 07:31:42 AM »
Yeah, I couldn't see anything wrong.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)