Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Montaggio Mp3 Player
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
BikE
Guru
Guru


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Sun Dec 25, 2005 12:55 pm    Post subject: [RISOLTO] Montaggio Mp3 Player Reply with quote

Ho da poco un lettore MP3 che, una volta riconfigurato il kernel, viene correttamente riconosciuto.
Il device e' /dev/sda; Tentando di fare una partizione fat32, viene creata ma risulta impossibile montarla. Tentando di formattarlo da Windows la periferica viene riconosciuta e formattata correttamente in fat32 ma su Linux non c'e' verso di montarla nemmeno specificando il filesystem.. leggendo il man di fdisk:
Code:

DOS 6.x WARNING
       The  DOS 6.x FORMAT command looks for some information in the first sector of the data area of the par-
       tition, and treats this information as more reliable than the information in the partition table.   DOS
       FORMAT  expects  DOS FDISK to clear the first 512 bytes of the data area of a partition whenever a size
       change occurs.  DOS FORMAT will look at this extra information even if the /U flag is given -- we  con-
       sider this a bug in DOS FORMAT and DOS FDISK.

       The  bottom  line is that if you use cfdisk or fdisk to change the size of a DOS partition table entry,
       then you must also use dd to zero the first 512 bytes of that partition before using DOS FORMAT to for-
       mat  the  partition.   For  example,  if  you were using cfdisk to make a DOS partition table entry for
       /dev/hda1, then (after exiting fdisk or cfdisk and rebooting Linux so that the partition table informa-
       tion  is  valid)  you  would  use the command "dd if=/dev/zero of=/dev/hda1 bs=512 count=1" to zero the
       first 512 bytes of the partition.

       BE EXTREMELY CAREFUL if you use the dd command, since a small typo can make all of  the  data  on  your
       disk useless.

       For  best  results,  you  should  always  use an OS-specific partition table program.  For example, you
       should make DOS partitions with the DOS FDISK program and Linux partitions  with  the  Linux  fdisk  or
       Linux cfdisk program.

Provato anche azzerando i primi 512 byte ma nulla da fare.... l'output e' sempre questo:
Code:

Atlantide mnt # mount /dev/sda1 /mnt/usb/ -t vfat
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

La partizione risulta corretta:
Code:

Atlantide mnt # fdisk /dev/sda -l
Disk /dev/sda: 254 MB, 254541824 bytes
16 heads, 32 sectors/track, 971 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         971      248560    b  W95 FAT32

L'output di dmesg e':
Code:

VFS: Can't find a valid FAT filesystem on dev sda1.

Consigli???

EDIT: Risolto compilando in build-in il Codepage 437 (United States, Canada)


Last edited by BikE on Sun Dec 25, 2005 8:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Sun Dec 25, 2005 5:10 pm    Post subject: Reply with quote

Allora metti il tag [Risolto] :D
Ciao
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
SMiL3
n00b
n00b


Joined: 16 Jun 2005
Posts: 62

PostPosted: Wed Dec 28, 2005 11:14 am    Post subject: Re: [RISOLTO] Montaggio Mp3 Player Reply with quote

BikE wrote:

EDIT: Risolto compilando in build-in il Codepage 437 (United States, Canada)


scusami,
ho lo stesso identico problema (credo) con un hard-disk,
potresti dirmi com'è che hai risolto esattamente?

grazie ;)

[edit] uh scusa, è ovvio che vanno compilati nel kernel :D
https://forums.gentoo.org/viewtopic.php?t=257432&sid=bed669751aae8448c324fcf639603715

scusate :oops:
_________________
caesar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum