Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: usb key and drive won't mount in hardy

  1. #21
    Join Date
    Jun 2008
    Beans
    1

    Re: usb key and drive won't mount in hardy

    yellowbread thanks for your tip, saved me a lot of headache!
    Now I can access my Maxtor usb external hdd again!

  2. #22
    Join Date
    May 2007
    Beans
    59

    Re: usb key and drive won't mount in hardy

    Thanks yellowbread!!! How could I miss that one?? I had the same problem, it seems that whenever you're using the USB drive while installing (I installed FROM a USB Drive) it keeps that line in /etc/fstab , I commented it out and everything is fine now.
    Thanks!
    Ziv

  3. #23
    Join Date
    Mar 2009
    Beans
    17

    Re: usb key and drive won't mount in hardy

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda1
    UUID=1cc335cc-8cfe-4ca7-b8e0-c39d79dec4e7 / ext3 relatime,errors=remount-ro 0 1
    # /dev/sda5
    UUID=a8b6c509-438d-4a61-a8c3-79b07d2558f7 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

    I still cannot mount my external. I am looking at it right here, but I have no access to it. /dev/sda5 is my external. Sda1 is my internal, and the cdrom is obvious. I am still way new to Ubuntu, thanks for the help!
    Last edited by bikerman2299; March 26th, 2009 at 06:26 PM.

  4. #24
    Join Date
    Mar 2009
    Beans
    17

    Re: usb key and drive won't mount in hardy

    So another thing I was looking at was my system monitor. it says /dev/sda5 is my internal HD. It doesn't show sda1 at all. Is my sysmonitor and my /etc/fstab is backwards? like labeled incorrectly? I thought I almost had it, but my ntfs config tool showed up, but it still won't pull anything up. Thank you so much for the help.

  5. #25
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,803
    Distro
    Ubuntu Development Release

    Re: usb key and drive won't mount in hardy

    Quote Originally Posted by bikerman2299 View Post
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda1
    UUID=1cc335cc-8cfe-4ca7-b8e0-c39d79dec4e7 / ext3 relatime,errors=remount-ro 0 1
    # /dev/sda5
    UUID=a8b6c509-438d-4a61-a8c3-79b07d2558f7 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

    I still cannot mount my external. I am looking at it right here, but I have no access to it. /dev/sda5 is my external. Sda1 is my internal, and the cdrom is obvious. I am still way new to Ubuntu, thanks for the help!
    Sorry, but you've got it all wrong.

    a) /dev/sda5 is not your external; it is the internal drive.
    b) /dev/sda5 is not usable (directly) by you; it is a "swap" drive, and only the operating system accesses it.
    c) Your external drive will not be sda; it will be sdb or sdc and so on.
    d) Your external drive should automatically mount when you plug it in. (Just like in Windows)
    e) If your external drive is not automatically mounting, try the following for more information:

    i. If the drive is plugged in, unplug it.
    ii. Open a terminal (Applications-Accessories-Terminal)
    iii. Plug in the drive, then give this command in the terminal
    Code:
    sleep 15 && dmesg | tail
    iv. Post back the result of the above command for more relevant troubleshooting.
    v. I suspect that you have not safely unmounted (safely remove hardware) when you were using it in Windows.

    Post back with the above information for a proper resolution.
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  6. #26
    Join Date
    Mar 2009
    Beans
    17

    Re: usb key and drive won't mount in hardy

    sleep 15 && dmesg | tail
    [ 240.253964] sd 2:0:0:0: [sdb] Mode Sense: 10 00 00 00
    [ 240.253967] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [ 240.255697] sd 2:0:0:0: [sdb] 3907017568 512-byte hardware sectors (2000393 MB)
    [ 240.256568] sd 2:0:0:0: [sdb] Write Protect is off
    [ 240.256574] sd 2:0:0:0: [sdb] Mode Sense: 10 00 00 00
    [ 240.256577] sd 2:0:0:0: [sdb] Assuming drive cache: write through
    [ 240.256581] sdb: sdb1 sdb2 sdb3
    [ 240.265839] sd 2:0:0:0: [sdb] Attached SCSI disk
    [ 240.265902] sd 2:0:0:0: Attached scsi generic sg2 type 0
    [ 240.266027] scsi 2:0:0:1: Attached scsi generic sg3 type 13


    Thanks you so much! I knew I was way new to Ubuntu. I really appreciate it! This external is straight out of the box. It hasn't been plugged into anything else. Thank you for your help.

  7. #27
    Join Date
    Oct 2007
    Location
    Chennai, India
    Beans
    3,803
    Distro
    Ubuntu Development Release

    Re: usb key and drive won't mount in hardy

    Quote Originally Posted by bikerman2299 View Post
    [ 240.256581] sdb: sdb1 sdb2 sdb3
    Everything looks fine; your external is recognized and assigned /dev/sdb; each partition within it (looks like 3 partitions) are assigned sdb1, sdb2 and sdb3.

    If this is a new drive, it may need to be formatted. Formatting will erase any data already on the drive, so please be careful in which drive (/partition) you select.

    To confirm this, or for further steps on how to use / prepare your drive, plug it in, then open the terminal, and give the commands (one after another, don't copy/paste both lines at a go)
    Code:
    sleep 15 && sudo fdisk -l
    mount | grep sdb
    and post back the full information. (btw, the "-l" following the fisk command is "minus lowercase-letter-L", and not "minus one")
    Cheers,PRShah
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."

  8. #28
    Join Date
    Mar 2009
    Beans
    17

    Re: usb key and drive won't mount in hardy

    Hi, sorry it took me so long to get back to you. I was flying back to Iraq, and the military travel system is not the most efficent. Anyways this is what I got.

    sleep 15 && sudo fdisk -l

    Disk /dev/sda: 100.0 GB, 100030242816 bytes
    255 heads, 63 sectors/track, 12161 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x41ab2316

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 11784 94654948+ 83 Linux
    /dev/sda2 11785 12161 3028252+ 5 Extended
    /dev/sda5 11785 12161 3028221 82 Linux swap / Solaris

    Disk /dev/sdc (Sun disk label): 255 heads, 63 sectors, 46592 cylinders
    Units = cylinders of 16065 * 512 bytes

    Device Flag Start End Blocks Id System
    /dev/sdc1 0 243194 -194027843 83 Linux native
    /dev/sdc2 u 243194 243200 48195 82 Linux swap
    /dev/sdc3 0 243200 -193979648 5 Whole disk

    Disk /dev/sdc1 (Sun disk label): 255 heads, 63 sectors, 46592 cylinders
    Units = cylinders of 16065 * 512 bytes

    Device Flag Start End Blocks Id System
    /dev/sdc1p1 0 243194 -194027843 83 Linux native
    /dev/sdc1p2 u 243194 243200 48195 82 Linux swap
    /dev/sdc1p3 0 243200 -193979648 5 Whole disk

    Disk /dev/sdc3 (Sun disk label): 255 heads, 63 sectors, 46592 cylinders
    Units = cylinders of 16065 * 512 bytes

    Device Flag Start End Blocks Id System
    /dev/sdc3p1 0 243194 -194027843 83 Linux native
    /dev/sdc3p2 u 243194 243200 48195 82 Linux swap
    /dev/sdc3p3 0 243200 -193979648 5 Whole disk

    The other command just bumped me right back to the prompt. I didn't show anything.

  9. #29
    Join Date
    Mar 2009
    Beans
    17

    Re: usb key and drive won't mount in hardy

    Bump

    I have been kinda over worked the last few days. My brain is mostly mush. This current now. I had a friend format the external into NTFS. Now, I can see it in my places folder. The error is this:

    Unable to mount location
    Can't mount file.

    This is what this sleep 15 && sudo fdisk -l pulls up.

    Disk /dev/sda: 100.0 GB, 100030242816 bytes
    255 heads, 63 sectors/track, 12161 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x41ab2316

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 11784 94654948+ 83 Linux
    /dev/sda2 11785 12161 3028252+ 5 Extended
    /dev/sda5 11785 12161 3028221 82 Linux swap / Solaris

    Disk /dev/sdb: 2000.3 GB, 2000392994816 bytes
    255 heads, 63 sectors/track, 243200 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xbc3dd011

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 243200 1953503968+ 7 HPFS/NTFS

    Its a two TB drive. I tried this, mount | grep sdb but it still won't mount. any help?

    This is my fstab

    # /etc/fstab: static file system information.
    #
    # -- This file has been automaticly generated by ntfs-config --
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0
    # Entry for /dev/sda1 :
    UUID=1cc335cc-8cfe-4ca7-b8e0-c39d79dec4e7 / ext3 relatime,errors=remount-ro 0 1
    # Entry for /dev/sda5 :
    UUID=a8b6c509-438d-4a61-a8c3-79b07d2558f7 /dev/sda5 /mnt/ntfs-sys ntfs 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

    Thank you for the help!

  10. #30
    Join Date
    Mar 2009
    Beans
    17

    Re: usb key and drive won't mount in hardy

    Ok, so I did some stuff. I have a few more questions for you though. This is my new fstab

    # /etc/fstab: static file system information.
    #
    # -- This file has been automaticly generated by ntfs-config --
    #
    # <file system> <mount point> <type> <options> <dump> <pass>

    proc /proc proc defaults 0 0
    # Entry for /dev/sda1 :
    UUID=1cc335cc-8cfe-4ca7-b8e0-c39d79dec4e7 / ext3 relatime,errors=remount-ro 0 1
    # Entry for /dev/sda5 :
    UUID=a8b6c509-438d-4a61-a8c3-79b07d2558f7 /dev/sda5 /mnt/ntfs-sys ntfs 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    # Entry for /dev/sdb1 :
    UUID=AC5C04885C044F8E /media/usb ntfs 0 0 0

    Notice the last two lines. I pulled up my UUID for the sdb1 and added it. this was the command for getting by UUID: ls /dev/disk/by-uuid -lah

    Then, I made a mount point: mkdir /media/usb

    after that, this command did the rest.

    mount -t ntfs-3g /dev/sdb1 /media/usb -o force

    now I have access to the the 2 TB. I am pulling some info off it right now, then I will see I am can rrw to the drive. The question I have now, is if I reboot and leave the extern plugged in, will it auto mount, since I added those last two lines to my fstab? Or, will I have to force mount it each time? I tried running ntfs config, and it doesn't do anything for me. I would rather not force mount my drive. But, this is the only way I have gotten it to work. Thanks!!

    Signed a newbie

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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