LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problems installing USB (https://www.linuxquestions.org/questions/linux-hardware-18/problems-installing-usb-255031/)

thorin2004 11-15-2004 06:30 AM

Problems installing USB
 
Hello, I can not mount USB pendrive....

thorin:/mnt # cat /etc/fstab
/dev/hda4 / reiserfs defaults 1 1
/dev/hda2 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-15,code=437 0 0
/dev/hda5 /windows/D vfat users,gid=users,umask=0002,iocharset=iso8859-15,code=437 0 0
/dev/hda3 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/sda1 /mnt/pendrive vfat user,noauto,umask=022,exec 0 0
thorin:/mnt # fdisk -l /dev/sda
Atención: no se tienen en cuenta los datos adicionales de la tabla de particiones 5
Atención: no se tienen en cuenta los datos adicionales de la tabla de particiones 5
Atención: no se tienen en cuenta los datos adicionales de la tabla de particiones 5
Atención: el indicador 0xfffffeff inválido de la tabla de particiones 5 se corregirá mediante w(rite)

Disco /dev/sda: 4 cabezas, 62 sectores, 1024 cilindros
Unidades = cilindros de 248 * 512 bytes

Disposit. Inicio Principio Fin Bloques Id Sistema
/dev/sda1 1 1024 126945 5 Extendida
/dev/sda5 ? 1 1 2147483647+ ff BBT
thorin:/mnt #

What's wrong? some help?
Sorry, some lines in spanish....

michaelk 11-15-2004 07:21 AM

sda1 appears to be an extended partition which means you can not mount to it. sda5 has a partition ID of ff which is a xenix bad block table and overlaps sda1.

So the drive is corrupted. I would reformat it and see what happens.

thorin2004 11-15-2004 08:21 AM

Thak you very much.....

how could I reformat it?...

michaelk 11-15-2004 08:57 AM

Use fdisk to wipe out the existing partitions and create a new one.

Then use mkdosfs command to format a filesystem.

You might have some windows utilities to create a new filesystem too.

thorin2004 11-15-2004 09:17 AM

Thank you very much michaelk,

it works....

(Now, I am going to try the same with a TRANSCEND HDD 2.5"... )

See you!


All times are GMT -5. The time now is 10:03 PM.