Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: my openSUSE 11.2 can't mount USB device automaticaly

  1. #1
    Join Date
    Mar 2010
    Location
    Beijing, China
    Posts
    123

    Default my openSUSE 11.2 can't mount USB device automaticaly

    It can mount USB device automatically.

    how can I fix this?

    and before, all windows partitions can be mount automatically after boot up, now, don't mount automatically too.

    any help will be appreciated.

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,564
    Blog Entries
    38

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    Quote Originally Posted by baijingjiao View Post
    It can mount USB device automatically.

    how can I fix this?

    and before, all windows partitions can be mount automatically after boot up, now, don't mount automatically too.

    any help will be appreciated.
    Is this a USB stick ? An external NTFS formatted USB hard drive drive ?

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,153

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    Quote Originally Posted by baijingjiao View Post
    It can mount USB device automatically.

    how can I fix this?

    and before, all windows partitions can be mount automatically after boot up, now, don't mount automatically too.

    any help will be appreciated.
    Esplecialy about the second one we need more information. Post the output of
    Code:
    cat /etc/fstab
    and (as root):
    Code:
    fdisk -l
    Henk van Velden

  4. #4
    Join Date
    Mar 2010
    Location
    Beijing, China
    Posts
    123

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    linux-dkkq:~ # fdisk -l

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xd594d594

    Device Boot Start End Blocks Id System
    /dev/sda1 1 2611 20971408+ 7 HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 2611 6528 31457160 83 Linux
    Partition 2 does not end on cylinder boundary.
    /dev/sda3 * 6529 10444 31455270 83 Linux
    /dev/sda4 10445 14346 31342815 f W95 Ext'd (LBA)
    /dev/sda5 10445 10705 2096451 82 Linux swap / Solaris
    /dev/sda6 10706 14346 29246301 b W95 FAT32

  5. #5
    Join Date
    Mar 2010
    Location
    Beijing, China
    Posts
    123

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    linux-dkkq:~ # cat /etc/fstab
    /dev/disk/by-id/ata-FUJITSU_MHV2120BH_PL_NW9ST6C262YM-part3 / ext4 acl,user_xattr 1 1
    /dev/disk/by-id/ata-FUJITSU_MHV2120BH_PL_NW9ST6C262YM-part5 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0

  6. #6
    Join Date
    Mar 2010
    Location
    Beijing, China
    Posts
    123

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    the important thing is after the installation of openSUSE 11.2,
    all windows partitions would be mounted automatically.

    and if I connect a USB harddisk, it can be mounted automatically too.

    but these days, the behavior changed, no automatic mount any more.

  7. #7
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,564
    Blog Entries
    38

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    Quote Originally Posted by baijingjiao View Post
    the important thing is after the installation of openSUSE 11.2,
    all windows partitions would be mounted automatically.

    and if I connect a USB harddisk, it can be mounted automatically too.

    but these days, the behavior changed, no automatic mount any more.
    When you ran the "fdisk -l" command above, was your external hard drive plugged in ?

    If your external hard drive is an NTFS formatted hard drive, I recommend you connect it to an MS-Windows PC, run chkdsk against it (in case it is not clean) and then ensure you remove it properly from MS-Windows (ie use the remove icon in the lower right corner of MS-Windows). Dependant on how "dirty" your NTFS formatted drive may be (assuming it is ntfs) then your Linux PC may not see it.

  8. #8
    Join Date
    Mar 2010
    Location
    Beijing, China
    Posts
    123

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    Quote Originally Posted by oldcpu View Post
    When you ran the "fdisk -l" command above, was your external hard drive plugged in ?

    If your external hard drive is an NTFS formatted hard drive, I recommend you connect it to an MS-Windows PC, run chkdsk against it (in case it is not clean) and then ensure you remove it properly from MS-Windows (ie use the remove icon in the lower right corner of MS-Windows). Dependant on how "dirty" your NTFS formatted drive may be (assuming it is ntfs) then your Linux PC may not see it.
    My USB is formated as FAT 32;
    fdisk -l again here:

    linux-dkkq:~ # fdisk -l

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xd594d594

    Device Boot Start End Blocks Id System
    /dev/sda1 1 2611 20971408+ 7 HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 2611 6528 31457160 83 Linux
    Partition 2 does not end on cylinder boundary.
    /dev/sda3 * 6529 10444 31455270 83 Linux
    /dev/sda4 10445 14346 31342815 f W95 Ext'd (LBA)
    /dev/sda5 10445 10705 2096451 82 Linux swap / Solaris
    /dev/sda6 10706 14346 29246301 b W95 FAT32

    Disk /dev/sdb: 4021 MB, 4021288960 bytes
    124 heads, 59 sectors/track, 1073 cylinders
    Units = cylinders of 7316 * 512 = 3745792 bytes
    Disk identifier: 0x04030201

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 1074 3927036 b W95 FAT32

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    try this in a su - terminal

    Code:
    mount /dev/sdb1 /media
    Please tell us if you use gnome or kde
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,564
    Blog Entries
    38

    Default Re: my openSUSE 11.2 can't mount USB device automaticaly

    Quote Originally Posted by baijingjiao View Post
    Disk /dev/sdb: 4021 MB, 4021288960 bytes
    124 heads, 59 sectors/track, 1073 cylinders
    Units = cylinders of 7316 * 512 = 3745792 bytes
    Disk identifier: 0x04030201

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 1074 3927036 b W95 FAT32
    OK, so it appears your external drive is recognized as /dev/sdb with the partition in it being /dev/sdb1.

    In addition to answering caf4926's question, can you also, with your extra drive NOT plugged in, provide the output of:
    Code:
    dir /media
    We are looking for a directory (possibly called 'disk' or something else) that should not be there. But don't remove anything, just report the output of that command.

    Note if you create a directory /home/baijingjiao/extdrive
    you can likely then insert your external drive, and if it is not auto-mounted, you can then manually mount it via:
    Code:
    mount -t vfat -o rw,users,uid=baijingjiao /dev/sdb1 /home/baijingjiao/extdrive
    but lets see if we can get automount to work.

Page 1 of 3 123 LastLast

Posting Permissions

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