Ext partition not mounting on boot - HD2 Android Q&A, Help & Troubleshooting and Genera

It seems that my rom is not mounting the SD ext partition I have to do it manually by running this command in terminal emulator on every reboot this problem suddenly started yesterday
mount -o rw /dev/block/mmcblk0p2 /sd-ext
...I have reflashed and repartitiond many times but it still hasn't fixed j problem ... please help me ..
Edit:I can see the SD ext folder in root. ..but it isn't mounted
I am using miui
Sent from my HTC HD2 using XDA App

its done ...i modified int.rc to load mount script

please could you clearly explain me what you did to solve the problem?

Related

How to I run repair ext filesytems

I tried everything possible to install jachero and I continually get a bootloop in the HTC opening intro. Ive used unbuto , pargon partition manager to make , format the ext2/ ext3 partitions. But whenever I try to install I always get a bootloop. I don't know what the hell is wrong but i spent hour upon hour trying to get this to work.. Im usuing Cyanogenmod 1.2 and am trying to repair the ext filesystems and then it says,
Erro checking filesystem! Run e2fsck maually from console! can someone give me exact instructions on how to run e2fsck and do what has to be done so i can install Jachero.
Stuck in the same boat as you... I get to the Hero/HTC bootloop and I've tried what you have. In the recovery do this: Alt+X to get to console then type: e2fsck /dev/block/mmcblk0p2 to run the fix. I tried that, but still boot looping, maybe you'll have better luck with it...
Bootlooping, I had that issue after I tried to link my /data folder back to my SD. Didnt like that. Is your data folder there?
ok first of all, are you running the latest Radio and SPL? Access fastboot (Camera and Power OR Back and Power) and post the info you get here.
for the command to e2fsck try running this
e2fsck /dev/block/mmcblk0p2 <--- For ext2
e2fsck /dev/block/mmcblk0p3 <--- For ext3
nephron said:
e2fsck /dev/block/mmcblk0p3 <--- For ext3
Click to expand...
Click to collapse
I should point out that this block here could also be the linux-swap partition for alot of people and that the 2nd one could be ext3 if its been converted.
jhood99 said:
I tried everything possible to install jachero and I continually get a bootloop in the HTC opening intro. Ive used unbuto , pargon partition manager to make , format the ext2/ ext3 partitions. But whenever I try to install I always get a bootloop. I don't know what the hell is wrong but i spent hour upon hour trying to get this to work.. Im usuing Cyanogenmod 1.2 and am trying to repair the ext filesystems and then it says,
Erro checking filesystem! Run e2fsck maually from console! can someone give me exact instructions on how to run e2fsck and do what has to be done so i can install Jachero.
Click to expand...
Click to collapse
I fixed this by using a different SD Card

[Q] Anybody had success with "Linux Installer" app on WajkIUI?

Hi the question is in the title.
I got it working on quarx's cm7 RC 1.0(only with directory method), but on WIUI 2.2.3 i get errors.
On startup i get this error:
Internal tests failed!
-Kernel config is not known becouse /proc/config.gz file is not found. /this was present on cm7 too/
Here i click override.
Directory method:
And when i click "Install in chroot directory" it says "Error: Partition is mounted with nodev: Can't remount with nodev!"
Loop method:
Creating and formating the loop finishes fine.
When i click mount loop it says: "Can't mount BLOCK Part: Did you forget to format? I think this ext version is not supported!"
however i'm using the ext2 file format, which is included in the application. In the log i found this line: "MountLoop > Error:mount mounting /dev/block/loop1 on /data/local/mnt/Linux failed: No such device"
I think this is the source of the error. Beside that i didn't found any strange entries in the log.
I managed to get it working.
All i had to do is remount /data with dev option. After that the directory method is working on internal memory. I've also tried to install linux on sdcard, but that fails, because when i try to change the "Chroot point" in the setup i get "Directory is nodev!, not saved", even after remounting /mnt/sdcard with dev option.
Anybody have an idea to fix this?
for me it worked!
..unfortunetly only for debian squeeze :/ would like to get at least ubuntu 10.4.
i had to manually umount my sdcard.
i'm not shure if this was necessary, but i also remounted all devices that where mounted as nodev.
my mountpoint was /data/local/linux
EDIT: *sigh sorry i forgot to say, i'm on atrix,not on defy.. but the point is, that i also get those errors whenever i try to install any ubuntu while debian squeeze works fine.
I have the same problem
Hi!
I have the same problem,I tried all the 3 roms (Wiui,CM,Miui)+the stock with root,but on these roms,the linux installer sends the same message: "Kernel features is not know because the /proc/config.gz file is not found"
I tried to install Ubuntu too with the ubuntu installer app from market ,it didn't work too.
Is there anybody,who use any linux on his/her Defy?
I' sorry for my English.
On CM10 the application named "Complete Linux Installer" is working fine. Unfortunately i'm still not able to use loop method on CM7. If you really need this on your phone you should try CM10.
By the way i would happy to hear about anybody who have a working loop device setup on CM7.
jumika said:
Directory method:
And when i click "Install in chroot directory" it says "Error: Partition is mounted with nodev: Can't remount with nodev!"
Click to expand...
Click to collapse
I may have partially solved this if you haven't already. Here's what I did to install using BLOCK method:
First, used an old HTC Dream that had an Amon RA recovery on it to format the SD card. The recovery has an automated option to make an ext2, 3, or 4 partition + swap on the sdcard. I first made an ext2, then coverted it into ext3, then into ext4. I then put the sdcard back into my main phone. My main phone did not support the Amon RA recovery and that's why I needed to use another phone.
Then I used another app called "Linux Deploy" to see what the ext4's /dev/block was. The app has a menu option called "sysinfo". I think you can also just use that command in Terminal Emulator. Look at the partition sizes carefully. Remember the filesize you used to create your EXT (the swap partition is right under your EXT as well). Use that block device in the Linux Installer setup menu. You shouldn't see the "nodev" anymore.
What happens is that the sdcard itself is usually formatted as FAT32 (vfat) and will always be "nodev". Partition some or all of the space as EXT + SWAP and it will be fine. I've successfully installed to sdcard using this way. Let me know how this works for you or if I need to clarify some things.

[Q] About custom roms and storage

Hey GT540 users!
I tryed many roms so far, for example utopia, aokp 4.0.4, project icecreamswift, some 2.3.7 roms which i dont remember the developers and etc. On every single custom rom i realise that i have space probs. I install around 15 apps and my device runs out of storage (or space) really really fast.
Please can you suggest some ideas about this problem? I allready made an ext3 partition on my sd card and really really care to use it smarter and wiser. I tryed link2sd but seems it crash a lot and all my apps are really messed up. If again ext3 is not needed, thats fine. i really need some suggestions.
Is anything i can do without an application? If not, do u mind suggest me some application please that works 100%?
Anything you want to ask im here.
Thanx in advance!!!
For 2.2 and 2.3 roms just use this, http://forum.xda-developers.com/showthread.php?t=1171531
i really really dont think thats a good idea... i really prefer i simple way than this...
manthos1978 said:
Hey GT540 users!
I tryed many roms so far, for example utopia, aokp 4.0.4, project icecreamswift, some 2.3.7 roms which i dont remember the developers and etc. On every single custom rom i realise that i have space probs. I install around 15 apps and my device runs out of storage (or space) really really fast.
Please can you suggest some ideas about this problem? I allready made an ext3 partition on my sd card and really really care to use it smarter and wiser. I tryed link2sd but seems it crash a lot and all my apps are really messed up. If again ext3 is not needed, thats fine. i really need some suggestions.
Is anything i can do without an application? If not, do u mind suggest me some application please that works 100%?
Anything you want to ask im here.
Thanx in advance!!!
Click to expand...
Click to collapse
I use link2sd without any issues - try an ext2 partition
Also, try the link -Grift- posted. That is actually quite easy, all you do is boot into fastboot, connect to PC, run a program, click some buttons DONE!
If you don't want to do any of these, then you are a bit stuck, sorry to say!
ok thanx for your info!
will try make an ext2 1st and retry link2sd, if not changing partiotion is my last hope
ok i installed link2sd and this time seems it works fine... well.. so far
the only problem i got, when i reboot the phone, the application link2sd requires a 2nd restart (soft one) because cant mount the apps. Is this ok or done again something wrong?
Cheers
manthos1978 said:
ok i installed link2sd and this time seems it works fine... well.. so far
the only problem i got, when i reboot the phone, the application link2sd requires a 2nd restart (soft one) because cant mount the apps. Is this ok or done again something wrong?
Cheers
Click to expand...
Click to collapse
I have the same problem too. link2sd cannot automount the 2nd partition at boot so each time I have to reboot the phone I must reboot it 2 more times to get link2sd mount the 2nd partition correctly. How can I solve this problem
no1 intrested to help us?
In Link2SD, Press the menu button, then select 'More'. Select Recreate mount script. Choose your ext partition type, then ok. Reboot your phone. If it still asks you to remount, try these command on Terminal:
Code:
mount -rw -t ext2 -o remount /dev/block/vold/179:2 /data/sdext2
then
Code:
mount -rw -t ext2 -o remount /dev/block/mmmcblk0p2 /sd-ext
If it's not an ext2 partition, change the 'ext2' in the command with what your ext partition is.
Did you use the Android "Move to USB storage" or "Move to SD card" idk function? on android 2.2 and above?
You don't need to repartition your SD card for it
I would suggest to use Apps2ROM app. This is an application that has the ability to move normal (user) application into the ROM and use them as system apps. Th application can also uninstall system apps.
So, first you can get rid of system applications that you do not use and you utilize also the available system memory. Be careful not to go under 20 MB of the system mem.
You need root access to do so and some care not to uninstall essential system apps for the stability of the Operating system.
Sent from my LG GT540 using XDA
jhonnyx1000 said:
In Link2SD, Press the menu button, then select 'More'. Select Recreate mount script. Choose your ext partition type, then ok. Reboot your phone. If it still asks you to remount, try these command on Terminal:
Code:
mount -rw -t ext2 -o remount /dev/block/vold/179:2 /data/sdext2
then
Code:
mount -rw -t ext2 -o remount /dev/block/mmmcblk0p2 /sd-ext
If it's not an ext2 partition, change the 'ext2' in the command with what your ext partition is.
Click to expand...
Click to collapse
When i type the 1st code, the terminal is keep question me if im root....
To be exact it says:
Code:
mount: permission denied (are you root?)
Any solutions?
ahh type
su
first
the start of the line should change from
$
to a
#
jhonnyx1000 said:
In Link2SD, Press the menu button, then select 'More'. Select Recreate mount script. Choose your ext partition type, then ok. Reboot your phone. If it still asks you to remount, try these command on Terminal:
Code:
mount -rw -t ext2 -o remount /dev/block/vold/179:2 /data/sdext2
then
Code:
mount -rw -t ext2 -o remount /dev/block/mmmcblk0p2 /sd-ext
If it's not an ext2 partition, change the 'ext2' in the command with what your ext partition is.
Click to expand...
Click to collapse
I guess the 1st code is fine, no errors on my phone, but when i type the 2nd code, i get this message:
Code:
mount: mounting /dev/block/mmmcblk0p2 on /sd-ext failed: Invalid argument
So... what have i done wrong now?

[Q] e2fsck on boot time for fail-proofing SD Card?

I spent more than eight hours to set up HD2 mount /data to sd-ext; but I found that LogCat keeps saying that the error EROFS(Read-only file system) has occurred. After that I went to CWM Recovery, ran e2fsck -yfv /dev/block/mmcblk0p2 and rebooted. It started working again from then; so maybe putting e2fsck command on boot-time script might be useful for failproofing the SD card.
I am using Windows; and I somehow the message cannot find java keeps occurring and I can't use the kitchen. So anybody can help?
you must use e2fsck in order to check the EXT partition before mounting, esp if you are using it for DATA.
also, if you try to mount a bad partition it won't mount as r/w, instead it will mount as r/o (read only). that's why you were having the read-only issue.
regarding java, you need to install JDK. if you have a x64 system, you need both x86 and x64 variants.
hope this helps
blastsound said:
I spent more than eight hours to set up HD2 mount /data to sd-ext; but I found that LogCat keeps saying that the error EROFS(Read-only file system) has occurred. After that I went to CWM Recovery, ran e2fsck -yfv /dev/block/mmcblk0p2 and rebooted. It started working again from then; so maybe putting e2fsck command on boot-time script might be useful for failproofing the SD card.
I am using Windows; and I somehow the message cannot find java keeps occurring and I can't use the kitchen. So anybody can help?
Click to expand...
Click to collapse
How are you mounting /data to EXT? If you are using my method, I have included a accept that scans at boot and then mounts if the partition is clean. Mounted partitions can't be scanned, they have to be unmounted before scanning.
Swyped from my HTC HD2 using XDA Premium

Link2SD mounting /dev/block/vold/179:2 on /data/sdext2 failed: No such device

Hello. I install CM7 with this guide on wiki cyanogenmod org (Install_CM_for_jordan)
I create 2 primary partition on my sd card: FAT32 10GB and Ext4 5GB
I have fresh installation, connect WiFi, google account and I install Link2SD.
Then i Try (re)create mount script in Link2SD(Plus) I got following error:
Mount script error
Mount script cannot be created.
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: No such device
I don't know how to fix it. I searched on forums but I can't understand. Can you help me fix it step by step?
I really need Link2SD. I used it on my previous phone and work great.
How I should fix this?
Hi,
I think your header tells it all.
/data/sdext2 failed: No such device. You formatted your sd card with ext4 but link2sd is looking for ext2.
Have your tried to format the 2nd partition of your sd with ext2?
In my point of view 5GB for the link2sd partition is too much. 1 GB should be sufficient.
Regards, Gazorbeam
Hello guys, I have the same problem. Thanks Gazorbem for your advice, but app itself asks about the system that it will search for (user can indicate whether it is ext2 or ext4 etc.) I tried all options available (although I know that my partition is in format ext3) but problem still remains - app still can't mount this partition

Categories

Resources