Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Mount USB Hard Drive with ext4 partition

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mount USB Hard Drive with ext4 partition

    Can't mount (don't know how) my USB external Hard drive, it has 3 partitions.
    (I had this disk in a Ubuntu pc)

    What I trying to do is mount the home partition(it is ext4) don't care about root or swap partitions.

    I know how to do this with Linux command, but with Android, have no idea.

    please help.
    Thanks

    Leo
    MK808
    Finless 1.6 ROM

    #2
    This worked for me:

    My first post on this forum!

    I too was wondering how to do this so I beat my head against it for a good long while editing vold.fstab and such. Then I found out a couple of things:

    1. You have to use the OTG port. My MK808B is the first device I've owned that has one so I didn't know what the heck it was for. Google told me you could hook a USB keyboard up to it but since the normal USB port works for that too, I've been completely ignoring it--until now.

    2. You need power to the drive. I'm using a laptop hard drive with a data transfer cable I got with the SSD that replaced it. The cable is USB and connects to both the power and data SATA connectors. So I have my OTG port plugged into the 'root port' on a powered USB 2.0 hub. When I connect the OTG cable to the hub the hard drive also connected to it comes alive and spins up.

    3. You need USB OTG Helper. With logcat I could watch the drive get recognized and start to mount, fail, then unmount. With this app I connect up the drive and tell it to Mount. I'm using the light version so it's a manual process but the paid ver says it will auto mount.

    w00t! :
    Filesystem Size Used Free Blksize
    /mnt/sdcard/UsbOtgDrives/drive_1 293.4G 190.8M 293.2G 4096

    /dev/block/sda1 /mnt/sdcard/UsbOtgDrives/drive_1 ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0

    Comment


      #3
      Thanks b1g.p0ppa
      I like the idea of using the OTG port, but cant find the way to connect my USB external HD to it.
      you know, both sides (OTG and USB drive) have female mini-b conectors, and I have bunch of usb cables, with different conectors on them, but ther is no way I can conect them, the mayority of the cables I have are Type A (male) to mini-B (male) like this:



      Any way I will save the info you provided, in case got the cable to do the trick.

      keep up the flashing.....

      Comment


        #4
        I use Usb Mass Storage Watcher to mount partitions in ext4

        Comment


          #5
          Originally posted by vnishimoto View Post
          I use Usb Mass Storage Watcher to mount partitions in ext4
          @vnishimoto; Thanks for the report

          one question:
          To have it mounted, do you have to connect it to the OTG port?

          Comment


            #6
            No, you can use any USB port.
            Just wait for recognize the partitions in your HD.

            Comment

            Working...
            X