Find the answer to your Linux question:
Results 1 to 2 of 2
My ipod nano works fine. It plays my stored music and I can browse all I have stored in it. However, I am trying to mount it but I get ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    5

    mount ipod nano problem

    My ipod nano works fine. It plays my stored music and I can browse all I have stored in it.
    However, I am trying to mount it but I get this error message

    me@mycomputer:$ mount /mnt/usbhd
    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

    I am using the /mnt/usbhd mount point for any mass storage device I have (usb hard disk, a memory stick) and everything works fine. This is my fstab contents:

    me@mycomputer:$ cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda6 /swap ext3 defaults 0 2
    /dev/scd0 /media/cdrom0 iso9660 ro,user,noauto 0 0
    /dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    /dev/sda1 /mnt/usbhd vfat rw,user,noauto 0 0


    Then I do this:

    me@mycomputer:$ dmesg | tail

    and gives me this:

    usb.c: registered new driver hiddev
    usb.c: registered new driver hid
    hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
    hid-core.c: USB HID support drivers
    Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
    SCSI device sda: 3999744 512-byte hdwr sectors (2048 MB)
    sda: Write Protect is off
    /dev/scsi/host1/bus0/target0/lun0: p1 p2
    FAT: bogus logical sector size 23597
    VFS: Can't find a valid FAT filesystem on dev 08:01.

    Any ideas? Any feedback much appreciated.

    - - - - - - -
    Debian Sarge 2.4 Kernel
    Last edited by Daidalus13; 09-01-2007 at 12:04 AM. Reason: added OS, added fstab contents

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    5

    solved

    The problem is that ipod nano (perhaps all ipods) has two partitions. Which one to mount can be found using fdisk. Here is the solution

    me@mycomputer$ sudo fdisk -l

    Disk /dev/sda: 2047 MB, 2047868928 bytes
    255 heads, 63 sectors/track, 248 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 10 80293+ 0 Empty
    /dev/sda2 11 248 1911732 b W95 FAT32

    (Note: sudo gives me root priveleges. If you don't want to use it, login as root)

    So, I mount the second partition

    me@mycomputer$ sudo mount /dev/sda2 /mnt/usbhd -t vfat

    and everything works fine.

    By the way. This was answered in Debian User Forums :: Index.

    Daidalus13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •