Find the answer to your Linux question:
Results 1 to 3 of 3
Hello guys, I'm having a hard time with mounting a disk. fdisk -l: fdisk -l Disk /dev/hdb: 160.0 GB, 160041885696 bytes 240 heads, 63 sectors/track, 20673 cylinders Units = cylinders ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Posts
    2

    Mounting drive problem


    Hello guys,

    I'm having a hard time with mounting a disk.

    fdisk -l:

    fdisk -l

    Disk /dev/hdb: 160.0 GB, 160041885696 bytes
    240 heads, 63 sectors/track, 20673 cylinders
    Units = cylinders of 15120 * 512 = 7741440 bytes
    Disk identifier: 0x69205244

    Device Boot Start End Blocks Id System
    /dev/hdb1 2 1761 13305600 f W95 Ext'd (LBA)
    /dev/hdb2 * 1762 20673 142974720 7 HPFS/NTFS
    /dev/hdb5 2 1761 13305568+ 7 HPFS/NTFS

    Disk /dev/sda: 640.1 GB, 640135028736 bytes
    255 heads, 63 sectors/track, 77825 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0009c1e3

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 3916 31455238+ 7 HPFS/NTFS
    /dev/sda2 3917 5222 10490445 83 Linux
    /dev/sda3 5223 77825 583183597+ 5 Extended
    /dev/sda5 5223 5745 4200966 82 Linux swap
    /dev/sda6 5746 77825 578982568+ 7 HPFS/NTFS

    Disk /dev/sdb: 4040 MB, 4040748544 bytes
    125 heads, 62 sectors/track, 1018 cylinders
    Units = cylinders of 7750 * 512 = 3968000 bytes
    Disk identifier: 0xde8e7bb0

    This doesn't look like a partition table
    Probably you selected the wrong device.

    Device Boot Start End Blocks Id System
    /dev/sdb1 ? 389745 389810 253319 e4 SpeedStor
    Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(190, 120, 0) logical=(389744, 41, 51)
    Partition 1 has different physical/logical endings:
    phys=(544, 125, 44) logical=(389809, 88, 24)
    Partition 1 does not end on cylinder boundary.
    /dev/sdb2 ? 129879 386391 993984023 98 Unknown
    Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(1010, 16, 43) logical=(129878, 122, 10)
    Partition 2 has different physical/logical endings:
    phys=(205, 205, 22) logical=(386390, 122, 55)
    Partition 2 does not end on cylinder boundary.
    /dev/sdb3 ? 218920 466650 959953209 7d Unknown
    Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(252, 139, 46) logical=(218919, 56, 54)
    Partition 3 has different physical/logical endings:
    phys=(367, 195, 2) logical=(466649, 39, 25)
    Partition 3 does not end on cylinder boundary.
    /dev/sdb4 ? 483 491 32768 0 Empty
    Partition 4 has different physical/logical beginnings (non-Linux?):
    phys=(0, 10, 0) logical=(482, 0, 53)
    Partition 4 has different physical/logical endings:
    phys=(0, 0, 0) logical=(490, 57, 54)
    Partition 4 does not end on cylinder boundary.

    Partition table entries are not in disk order
    fstab:

    cat fstab
    /dev/sda5 swap swap defaults 0 0
    /dev/sda2 / ext4 defaults 1 1
    /dev/sda1 /dev/sda1 ntfs-3g umask=000 1 0
    #/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
    /dev/fd0 /mnt/floppy auto noauto,owner 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    proc /proc proc defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    Errors:

    mount -t ntfs /dev/sda1 /mnt
    mount: /dev/sda1 is not a block device, and stat fails?
    mount -t ntfs-3g /dev/sda1 /mnt
    ntfs-3g: Failed to access volume '/dev/sda1': Input/output error

    ntfs-3g 2009.4.4 integrated FUSE 27 - Third Generation NTFS Driver

    Copyright (C) 2005-2007 Yura Pakhuchiy
    Copyright (C) 2006-2009 Szabolcs Szakacsits
    Copyright (C) 2007-2009 Jean-Pierre Andre
    Copyright (C) 2009 Erik Larsson

    Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

    Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
    umask=, fmask=, dmask=, streams_interface=.
    Please see the details in the manual (type: man ntfs-3g).

    Example: ntfs-3g /dev/sda1 /mnt/windows

    Ntfs-3g news, support and information:
    Any help is appreciated.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    I don't know if this will solve your problem but, you need to change your fstab entry for sda1. You have:

    /dev/sda1 /dev/sda1 ntfs-3g umask=000 1 0
    The second "/dev/sda1" should be your mount point, like /mnt/sda1. You need to create the sda1 directory in the /mnt directory. You can name it something else, doesn't matter.

    /dev/sda1 /mnt/sda1 ntfs-3g umask=000 1 0

    above should work.

  3. #3
    Just Joined!
    Join Date
    Nov 2010
    Posts
    2
    I tried all of that before firing up KDE and it worked (mkdir, mount). I'll edit fstab and see if it auto-mounts ok. Thank you!

  4. $spacer_open
    $spacer_close

Posting Permissions

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