View previous topic :: View next topic |
Author |
Message |
treibholz Tux's lil' helper
Joined: 12 Sep 2004 Posts: 90 Location: Germany
|
Posted: Sat Dec 25, 2004 3:40 pm Post subject: Kann 32MB-USB-Uhr nicht mounten. |
|
|
Moin,
hab zu Weihnachten so ne geekige USB-Drive-Uhr gekriegt.
Problem: ich kann das Ding nur dann mounten, wenn ich es nicht mit mkfs.vfat oder mkfs.msdos formatiere. Die Partitionstabelle ist in Ordnung, wenn ich das Teil mit ext2 formatiere geht alles. Aber das ist nicht Sinn von nem USB-Stick, wenn der nur unter Linux lesbar ist. Ich will ja keine Minderheiten diskriminieren. Hab das Teil auch schon unter Windows formatiert, das half auch nicht..
Code: |
# mount -t vfat /dev/sde1 /mnt/uhr
mount: /dev/sde1: can't read superblock
|
(auch mit -t msdos geht es nicht)
und in /var/log messages steht:
Code: |
FAT: unable to read bootsector
|
Vorschläge?
Achja: Problem getestet mit 2.6.9-gentoo-r6 und -r12 und mein USB-Cardreader, dessen Karten ja auch mit vfat formatiert sind gehen.
Gruß
Treibholz |
|
Back to top |
|
|
Sas Veteran
Joined: 05 Jul 2003 Posts: 1229 Location: Germany
|
Posted: Sat Dec 25, 2004 3:42 pm Post subject: |
|
|
Versuchs mal mit /dev/sde (ohne 1). _________________ 42 |
|
Back to top |
|
|
treibholz Tux's lil' helper
Joined: 12 Sep 2004 Posts: 90 Location: Germany
|
Posted: Sat Dec 25, 2004 3:47 pm Post subject: |
|
|
ändert auch nix, hab ich schon probiert. Da ist auch schon ne Partition drauf.
siehe:
Code: |
# fdisk -l /dev/sda
Disk /dev/sda: 32 MB, 32768000 bytes
2 heads, 32 sectors/track, 1000 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1000 31984 6 FAT16
|
(das device hat sich beim reboot geändert, daran liegt es nicht) |
|
Back to top |
|
|
Sas Veteran
Joined: 05 Jul 2003 Posts: 1229 Location: Germany
|
Posted: Sat Dec 25, 2004 3:53 pm Post subject: |
|
|
Müsste vfat nicht FAT32 sein? _________________ 42 |
|
Back to top |
|
|
treibholz Tux's lil' helper
Joined: 12 Sep 2004 Posts: 90 Location: Germany
|
Posted: Sat Dec 25, 2004 4:00 pm Post subject: |
|
|
nein, vfat ist einfach nur ein FAT[12|16|32], das die erweiterten Dateinamen unterstützt, also Dateinamen mit mehr als 8.3 zeichen.
ohne diese Unterstützung wäre es msdos, aber wie oben beschrieben geht es auch damit nicht.
Treibholz |
|
Back to top |
|
|
peje Tux's lil' helper
Joined: 11 Jan 2003 Posts: 100
|
Posted: Sat Dec 25, 2004 4:53 pm Post subject: |
|
|
wie wärs zuerst mal die partitionstabelle mit fdisk oder so neu zu schreiben und dann makefat drüberzujagen? |
|
Back to top |
|
|
treibholz Tux's lil' helper
Joined: 12 Sep 2004 Posts: 90 Location: Germany
|
Posted: Sun Dec 26, 2004 10:35 am Post subject: |
|
|
Hab ich auch schon gemacht, ich hab den kompletten Stick mit Nullen überschrieben (dd if=/dev/zero of=/dev/sda) und danach eine komplett neue Partitionstabelle angelegt. Das brachte alles nix.
Komischerweise kann ich die Uhr mit ner Knoppix aber mounten, auch mit vfat/msdos.
Treibholz |
|
Back to top |
|
|
Sas Veteran
Joined: 05 Jul 2003 Posts: 1229 Location: Germany
|
Posted: Sun Dec 26, 2004 12:09 pm Post subject: |
|
|
Hmm, sehr seltsam. Da würde ich mal auf irgendwelche Kernel-Optionen (codepages?) tippen. Allerdings sollte man normalerweise auch Dateisysteme mounten können, die man erstellt hat _________________ 42 |
|
Back to top |
|
|
treibholz Tux's lil' helper
Joined: 12 Sep 2004 Posts: 90 Location: Germany
|
Posted: Sun Dec 26, 2004 1:21 pm Post subject: |
|
|
Es wird noch wirrer: wenn ich mir die fat16-Partition mit dd auf die Platte hole, kann ich sie als loopback mounten, da hab ich mir einfach aus blödsinn gedacht:
Code: |
mount -o loop /dev/sda1 /mnt/uhr
|
Und das schlimme ist: so funktioniert es! Nunja, zumindest ist das mal ein lustiger workaround... |
|
Back to top |
|
|
ignatz Tux's lil' helper
Joined: 04 Aug 2003 Posts: 112 Location: Germany/BaWü
|
Posted: Sun Dec 26, 2004 5:00 pm Post subject: |
|
|
gehen normale USB Sticks bei dir? bzw. bist du sicher, dass du alles nötige im Kernel hast? _________________ Feel the unbeliveable power of the new Bistr-O-Matic: <su -c "emerge -CD `qpkg -I -nc`"> |
|
Back to top |
|
|
treibholz Tux's lil' helper
Joined: 12 Sep 2004 Posts: 90 Location: Germany
|
Posted: Sun Dec 26, 2004 8:04 pm Post subject: |
|
|
ja, ich bin sicher.
a) mein USB-Cardreader geht ohne Probleme (auch mit vfat)
b) das Gerät wird sauber erkannt und auch die Partitionstabelle wird eingelesen
c) es funktioniert ja mit ext2 problemlos, nur eben nicht mit fat. |
|
Back to top |
|
|
|