Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: uggla 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
-
Does it show in
fdisk -l
?
-
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
-
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
-
It isn't in fstab because it isn't partitioned.
Just:
mkdir /mnt/work
mount /dev/sdb /mnt/work
-
Specifying the fs (vfat) solved it. Thanks!
/Uggla
-
In this case I would still do a fsck. Better safe than sorry.
-
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?
-
try
dosfsck -vrf /dev/sdb
unmounted!
-
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
-
Yeah, I couldn't see anything wrong.