Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
File Modsforums, a part of the
This is totally not required and might not even be necessary at all but I got sick of seeing such a low number free as I was installing applications through...
10-12-2007, 11:42 AM #1Moving your Applications to the Media Partition
This is totally not required and might not even be necessary at all but I got sick of seeing such a low number free as I was installing applications through installer (especially after the update to 1.1.1) so I decided to see if I could free up some space and move the /Applications directory out of the root partition and move it to /var/root instead.
Please don't do this if you aren't comfortable in Terminal and executing commands in ssh on your iphone.
***NOTE*** make sure that the noexec options is *NOT* set in /etc/fstab It should look something like this:
# cat /etc/fstab /dev/disk0s1 / hfs rw 0 1 /dev/disk0s2 /private/var hfs rw 0 2
# cp -R /Applications /var/root/ROOT_Applications # rm -rf /Applications && ln -s /var/root/ROOT_Applications /Applications
The Following User Says Thank You to scr4p For This Useful Post:
10-13-2007, 02:48 PM #2
nice good job
10-13-2007, 03:03 PM #3
yea good job Think Different
10-14-2007, 04:18 AM #4
Do you think when we upgrade again we should reverse this procedure?
10-14-2007, 04:12 PM #5
Can I just remove the noexec option from /etc/fstab?
Cant seem to get this to work WinSCP keeps timing out any suggestions.
Never mind I got it to work.
Last edited by renegaderon; 10-14-2007 at 06:49 PM.
10-14-2007, 08:09 PM #6
Yes you can just remove that option and reboot your phone.
Last edited by scr4p; 10-14-2007 at 08:09 PM. Reason: Automerged Doublepost
10-17-2007, 09:15 PM #7
I edited fstab to get rid of no exec then ran that in terminal...nothing changed, same amount of space is still there
10-17-2007, 11:31 PM #8
everything is gone after I reboot ..
when I turn on the touch, it's all black!!!
10-18-2007, 07:59 AM #9
Last edited by scr4p; 10-18-2007 at 07:59 AM. Reason: Automerged Doublepost
10-18-2007, 09:47 PM #10
I don't know much about Mac CLI, and I have been trying to move the Apps to Media according the the instructions below:
I have followed exactly what they said, but whenever i rebooted the iPhone, and tried to exec the application by pressing icons, there were nothing happened. Be honest, I had to unlocked my iPhone twice just because of this issue.
Can you please review the code and let me know that was wrong? Also, if possible, please tell me how to change the password for root in SSH.
Please note I used Putty to SSH into my iPhone.
Thank you very much for your answers.
10-19-2007, 06:57 PM #11
How do I change it so that the noexec is not set? cause when I type cat /etc/fstab I get
/dev/disk0s1 / hfs rw 0 1
/dev/disk0s2 /private/var hfs rw 0 2,noexec 0 2
*Nevermind* I figured it out I didn't think, just had to download fstab and open in notepad and delete "noexec" duh
Last edited by alpineflip; 10-19-2007 at 07:09 PM.
10-21-2007, 01:13 AM #12
Hmm.. all this SSH stuff is confusing... I hope someone should make an App out of this and just make it easy on everyone else that doesn't know what there doing.
10-22-2007, 08:38 AM #13
if anyone is still having problems with this, i just posted a guide with screenshots. thanks to scr4p for posting this method, the one on the dev team wiki page wouldn't work for me but this method did.
http://modmyi.com/forums/showthread.php?t=11682Peter: "Brian! There's a message in my alphabits! It says 'OOOOOOOOO'!!!!!"
Brian: "Peter...those are Cheerios."
Moving Applications into the Media Partition to get more space for third party apps
11-18-2007, 09:37 PM #14
I have more all my applications to the media partitions using the symlink method as mention. Everything seems to went fine untill one day the phone suddenly wont boot. As it wont boot, I could not do the symlink reverse and have to do a restore. After restored, the phone works fine, but when SSH into the phone /Applications. NOTHING WAS THERE ?? Couldnt install anymore applications through SSH and the guide on reversing the symlink WILL NOT WORK IF YOU DID IT AFTER THE RESTORE OR UPGRADE!!
Just want to let all the guys know that moving the applications is RISKY!! if ur phone suddenly crash and u cant do a reverse.
11-19-2007, 08:20 AM #15
BTW... Just upgraded to 1.1.2 and verified this procedure works. You might need to remove /var/root/ROOT_Applications before performing this to make sure that you are starting fresh.
Last edited by scr4p; 11-19-2007 at 10:23 AM.
01-27-2008, 08:50 AM #16
I JUST UPDATED TO 1.1.3
Now I'd like to now what to do, to get my old status back. Does anybody know what to do?
- the iPhone Applications are in the /Application Folder
- my beautiful Folder and Alias of it is still located in the following directory:
PS: Sorry. I tought I haven't clicked the send button. Anyway, I asked nearly the same question in the [GUIDE] Moving /Applications to /private/var/root to free up disk space Thread
Last edited by pattulus; 01-27-2008 at 09:19 AM.
01-29-2008, 09:21 AM #17
This is what I used to move the applications in 1.1.3:
cp -pr Applications /private/var
mv Applicatsion Applications.old
ln -s private/var/Applications /Applications
make sure it worked, then
rm -rf Applications.old
01-29-2008, 09:21 AM #18
Last edited by tech87; 01-29-2008 at 09:23 AM. Reason: double post, erased
01-29-2008, 09:57 AM #19
Use these commands:
# cp -R /Applications /var/root/Applications
# rm -rf /Applications && ln -s /var/root/Applications /Applications
This will remove the folder and create the symlink at the same time.Get "iPod & iTunes for Dummies", it'll change your life.
03-07-2008, 01:34 AM #20
for 1.1.3 use Bosstool (0.35) it works great an bring me over 100MB free space to my iphone !