Join Today
+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11

    Default

    Quote Originally Posted by MarkDark View Post
    In your fw (cramfs-root-CG43/dev) only have mmc and mmca1.
    well now I have managed to mount my ext2 partition on phone

    do like this

    #!/bin/bash
    modules_dir='/mmc/mmca1/modules'
    device_path='/ezxlocal/mmca2'
    mount_path='/ezxlocal/download/mystuff/MMC2'
    #loading modules
    insmod $modules_dir/loop.o
    insmod $modules_dir/jbd.o
    insmod $modules_dir/ext2.o
    insmod $modules_dir/ext3.o

    mknod $device_path b 243 2
    chmod ug+rw $device_path

    mkdir -p $mount_path
    mount $device_path $mount_path
    this should work for you

    but I am unable to view files in file manager

    but Ekonsole shows files
    Last edited by kundancool; 09-15-2011 at 11:40 AM.
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  2. #12
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    your script loads modules successfully, but nothing happen.
    After then, I try
    mount /dev/mmca1 /ezxlocal/download/mystuff/MMC2
    so, it works. I connect my mmc to Window PC via MemoryCard Reader, Window shows my mmc (mmca1 - Linux ) like a FAT partition. (

    because, the File Mgr can't view files, so I reformat my memory card, like this :
    Disk /dev/mmca: 2059 MB, 2059141120 bytes
    255 heads, 63 sectors/track, 250 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/mmca1 1 211 240943 6 FAT16
    /dev/mmca2 212 242 1702890 83 Linux
    /dev/mmca3 243 250 64260 82 Linux swap
    and retry to mount with mmca2 is Linux partition...
    Last edited by MarkDark; 09-16-2011 at 02:37 AM.

  3. #13
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    Code:
    Disk /dev/mmca: 2059 MB, 2059141120 bytes
    255 heads, 63 sectors/track, 250 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
        Device Boot      Start         End      Blocks  Id System
    /dev/mmca1               1          211      160943+ 6 FAT16
    /dev/mmca2              212         242     250890   83 Linux
    /dev/mmca3             243         250       64260  82 Linux swap
    I try

    Code:
    #!/bin/bash
    modules_dir='/lib/modules'
    device_path='/ezxlocal/dev/mmca2'
    mount_path='/ezxlocal/download/mystuff/MMCa2'
    #loading modules
    insmod $modules_dir/loop.o
    insmod $modules_dir/jbd.o
    insmod $modules_dir/ext2.o
    insmod $modules_dir/ext3.o
    
    mknod $device_path b 212 2
    chmod ug+rw $device_path
    
    mkdir -p $mount_path
    mount $device_path $mount_path
    still not working what's the hell
    Last edited by MarkDark; 09-16-2011 at 08:15 AM.

  4. #14
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    I try
    mount -t ext2 /dev/mmca2 /mmc/mmca2 -o noatime
    its show
    mount : /dev/mmca2 iis not a block device


    the same with mount -t ext3
    Last edited by MarkDark; 09-16-2011 at 09:37 AM.

  5. #15

    Default

    Quote Originally Posted by MarkDark View Post
    I try
    mount -t ext2 /dev/mmca2 /mmc/mmca2 -o noatime
    its show
    mount : /dev/mmca2 iis not a block device


    the same with mount -t ext3
    you are doing it wrong
    follow the script commands carefully now I have added comments
    #!/bin/bash
    modules_dir='/mmc/mmca1/modules' #this is a directory where you should have all modules
    device_path='/ezxlocal/mmca2' #this is not a directory
    mount_path='/ezxlocal/download/mystuff/MMC2' #this is a directory where ext3 partition will be mounted
    #loading modules
    insmod $modules_dir/loop.o
    insmod $modules_dir/jbd.o
    insmod $modules_dir/ext2.o
    insmod $modules_dir/ext3.o

    mknod $device_path b 243 2 #creating device for ext3 partition
    chmod ug+rw $device_path #giving permissions to device

    mkdir -p $mount_path # creating directory for mounting ext3 partition
    mount $device_path $mount_path #mounting ext3 partition
    Last edited by kundancool; 09-16-2011 at 04:26 PM.
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  6. #16
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    thank kundan, I has mounted, ^^ but now is new problem: Icant copy or create anything on mount_path
    PS: I think I wrong when format /dev/mmca2, Could you tell me how to format it correct ? I have a Ubuntu OS.
    Last edited by MarkDark; 09-16-2011 at 06:25 PM.

  7. #17
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    on Ubuntu i try
    mkfs -t ext3 /dev/sdb2
    to format my mmc to ext3 type
    then I insert it to phone and run your script. Its working but I cant do anything on it please help.

  8. #18

    Default

    Quote Originally Posted by MarkDark View Post
    thank kundan, I has mounted, ^^ but now is new problem: Icant copy or create anything on mount_path
    PS: I think I wrong when format /dev/mmca2, Could you tell me how to format it correct ? I have a Ubuntu OS.
    Congrats now you can mount you device well I think you must use "Gparted" to format your card and create partition it is best way to manage disk I use it
    install from software centre on Ubuntu
    Quote Originally Posted by MarkDark View Post
    on Ubuntu i try
    mkfs -t ext3 /dev/sdb2
    to format my mmc to ext3 type
    then I insert it to phone and run your script. Its working but I cant do anything on it please help.
    well I have not yet tried to add data to it I have just mounted it just to show you
    I will try and let you know if I can add/edit data on ext3 partition
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  9. #19
    Join Date
    Jun 2008
    Location
    Vietnam
    Posts
    125

    Default

    Solved !
    We need run as root to do everything on ext3 partition,
    and sets root for our applications to working easy on it.
    Thank kundancool so much ^^
    Last edited by MarkDark; 09-17-2011 at 06:32 PM.

  10. #20

    Default

    Quote Originally Posted by MarkDark View Post
    Solved !
    We need run as root to do everything on ext3 partition,
    and sets root for our applications to working easy on it.
    Thank kundancool so much ^^
    good to know you managed it to work
    well since you did most of the thing in root
    like applying permissions mounting and creating things that may be the reason why it needs root
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED



 
+ Reply to Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 22
    Last Post: 07-20-2010, 05:46 PM
  2. how to transfer java app frm phone memory to memory card?
    By osmanrokr in forum E6 General Chat
    Replies: 0
    Last Post: 10-28-2008, 01:07 PM
  3. Help: Phone can not read SD card. Get "Memory card Unavailable"
    By julioszabo in forum A1200 General Chat
    Replies: 9
    Last Post: 02-28-2008, 12:49 AM
  4. Q: How to mount EXT3 to Memory Card?
    By z3r0c001 in forum A1200 General Chat
    Replies: 10
    Last Post: 10-02-2007, 04:43 PM
  5. Ext3 support and swap partition on Micro SD card
    By younker in forum A1200 General Chat
    Replies: 2
    Last Post: 10-13-2006, 04:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1