Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a 4GB SD card which is partitioned into 3GB and 1GB (Well it's not 1GB it's approx. 750 MB) (I used it through my phone 'cause i didn't have a reader and i used mini tool partition wizard) then I put my data back onto the 3GB partition. Link2SD showed me a screen titled :"select the file system of your SD card's second partition" which has 4 options:

  • ext2
  • ext3
  • ext4
  • FAT32/FAT16

The 1GB partition is ext2 so I choose ext2 and restarted my phone. It showed the same message every time and it tells me "If you're getting this message after reboot it means that the second partition cannot be mounted automatically at boot"

My phone is a rooted Vodafone 858 Smart / Huawei 8160 it's running CM7.2

I tried to reformat and repartition but nothing worked.

share|improve this question
    
What does logcat say? Try to 'adb shell' into your device and see if your 2nd partition is the 750gb ext2 one: 'cat /proc/partitions', you should see /dev/block/mmcblk0p1 and /dev/block/mmcblk0p2. In a second step, try to mount your 2nd partition manually. 'mkdir /mnt/sd-ext' then 'mount -t ext2 /dev/block/mmcblk0p2 /mnt/sd-ext' –  ce4 Jun 16 '12 at 15:38
    
i tried what you told me i found /dev/block/mmcblk0p1 and /dev/block/mmcblk0p2 but the problem is in the second step i tried "mkdir /mnt/sd-ext" and it told me "can't create directory /mnt/sd-ext : read-only filesystem" so i tried to remount it using "mount -o rw,remount rootfs /mnt" but it told me "mounting rootfs on /mnt failed : invalid argument" –  Mohamed Essam Jun 17 '12 at 11:37
    
oh, sorry. Just use a writeable fs for the target. Try /dev/sd-ext (it's a temporal location that's forgotten after reboot) and mount there –  ce4 Jun 17 '12 at 12:14
1  
i tried that and link 2 SD showed me the same message –  Mohamed Essam Jun 17 '12 at 12:53
    
Hi Mohamed, missed you yesterday, let's see in chat or just reply here... –  ce4 Jul 16 '12 at 22:53
add comment

3 Answers

up vote 3 down vote accepted

Requirements:

  • have a SDcard with a second partition that is ext2/ext3/ext4/... formatted.
  • be sure /data/sdext2 exists
  • be sure that mount-scripts are in place (menu->more->recreate mount scripts in link2sd)

If unsure, do as root via adb:

df | grep sdext2 should show you a mounted ext2/ext3/... mmcblk0p2 partition

share|improve this answer
    
but it has to quick reboot from link2sd after each real reboot –  Mohamed Essam Jun 17 '12 at 14:13
add comment

In my case, I had formatted the partition of interest in ext2 and used on a CM 10.2 build.

I rolled back to CM 7.2 and selected the default ext2 but it wouldn't work.

After rebooting and having the same problem, I selected the ext4 file system and voila!

share|improve this answer
add comment

For CM7, you have to choose ext3 (for CM10.1 and 10.2, none of them works for me).

share|improve this answer
1  
Please, no leet-talk here. –  Izzy Jan 20 at 7:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.