[Q] How to modify partitions mounted at boot? - Nook Color Q&A, Help & Troubleshooting

I don't think I saw /etc/fstab.
Is there a way to prevent a partition from being mounted on boot?
To be specific, I want to stop mounting /mnt/emmc on boot. I have a 5 Gig data partition and an 8 Gig SD card, with no desire to use emmc.

Comment out ( using the # sign) the emmc line in /system/etc/vold.fstab.
Sent from my NookColor using XDA Premium App

Related

(Tutorial)How to use Swap!

This is my first first Tutorial thread in xda!
So,don't mind me and forgive me If i am done wrong something!
Swapper is simple application for "extending memory". Helps when you need some memory for non active applications (like music player + browser + maps + etc...).
Requirement: root, SD/SDHC card and custom kernel that support swap .
Warning: SD card will be used as swap space. It can (and will) shorten SD card lifespan.
1.Downlod Swapper 2 from market! Link: https://market.android.com/details?id=lv.n3o.swapper2
2.Install Swapper2 normally
3.There are 2ways to swap: first use swap by partition and another one is by none partition(But If you partition you can create more 256mb)
4.For using swap by partition u must partition your sdcard by using minitool or etc....(NOTE: partition to linux swap and primary)
5.After you partition you turn off yor phone and then back to xrecovery or cwm to clear cache partition
6.turn on n then open swapper2 normally and go to Preferences of swapper then you check safe to unmount and safe to remount
7.and then you go adavaned preferences and check the Use swap partition and Swap partition set it to /dev/block/mmcblk0p2
8.after that go back to swapper2 and turn it on (wait the process when it say All done It works)
9.Another one way is none using swap partition it easy because swap create it by itself but it can't more then 256mb
10.First Open Swapper2 then go to Preferences of swapper
11.Click on Swap size and click what number that u want to swap 32,48,64..etc
12.Then go back to Swapper2 and turn it on
13.For none using swap partition method It take a while 3minutes or more depend on class of your sd card!!!wait the process untill it say All done It mean that It works
Recommend: For me,I'm using micro sdcard 16G class10 so i partition my sdcard 1500mb for swap ^^ I alway free more ram about 90 to 120
Note: for swappiness it depend on your phone!!for me i can use swappiness 100 smoothy
If you have any question you can ask me more about this
I take my time for making this thread If you think I'm helped you Just Click THANKS for me
Remember: do it with your own risk and i don't warranthy if this method cause brick your lovely x8
the primary partition must be ext or can be fat or ntfs ?!
also do u notice real improvements ?
I never understood how to do it with terminal, so thanks for your help!
darknessx10 said:
I never understood how to do it with terminal, so thanks for your help!
Click to expand...
Click to collapse
Your welcome
Sent from my X8 using xda premium
Finally a simple and fast tutorial,thanks!
ahmedz_1991 said:
the primary partition must be ext or can be fat or ntfs ?!
also do u notice real improvements ?
Click to expand...
Click to collapse
Second partition must be linux swap and primary
Sent from my X8 using xda premium
I have a problem,when i format my sd card and put swap partition on mini partition tool,when i place my sd card back to phone its says "damaged sd card"...
I have swap running on 2 x8's. 1 is using 7000mb fat, 400 ext2 and 4-500 linux swap, however i cannot see the ext and swap partitions when i connect to pc, even though everything is working fine i would like to know how i can reformat my 8gb sd back to 8gb.
The other x8 has a 2gb unpartioned sd using the other method where a 256mb swap file is created. It works fine and is simple to set up but i have over 90mb free ram on partition set up and 70-80mb on the simple method.
All mine were set up with trial and error and there was no way to really confirm it was set up properly so this thread has confirmed my setup. It could have saved me time a few weeks ago but i'm sure lots of users will find this thread very helpful.
@ mods, I think its time to refresh the stickies as some are obsolete and i believe this thread would be an ideal sticky.
@OP, nice job. Thanks for your contribution to our little x8 section
corsav6 said:
I have swap running on 2 x8's. 1 is using 7000mb fat, 400 ext2 and 4-500 linux swap, however i cannot see the ext and swap partitions when i connect to pc, even though everything is working fine i would like to know how i can reformat my 8gb sd back to 8gb.
The other x8 has a 2gb unpartioned sd using the other method where a 256mb swap file is created. It works fine and is simple to set up but i have over 90mb free ram on partition set up and 70-80mb on the simple method.
All mine were set up with trial and error and there was no way to really confirm it was set up properly so this thread has confirmed my setup. It could have saved me time a few weeks ago but i'm sure lots of users will find this thread very helpful.
@ mods, I think its time to refresh the stickies as some are obsolete and i believe this thread would be an ideal sticky.
@OP, nice job. Thanks for your contribution to our little x8 section
Click to expand...
Click to collapse
You want to know how to format your sd card with 7000mb fat32 400 ext3 linux swap 500mb
If you format it,it will back to 8Gb sd card
Sent from my X8 using xda premium
RodrigoOgasawara said:
I have a problem,when i format my sd card and put swap partition on mini partition tool,when i place my sd card back to phone its says "damaged sd card"...
Click to expand...
Click to collapse
Let partition by this method:
1.connect your sd card to pc
2.open minitool partition
3.right click on your fat32 sd card and choose the word resize
4.after you resize u will see your partition
5.right click on your new partition and choose word create
6.partition it to linux swap and primary
7.apply it and wait the process
7.Done and Cheers
Sent from my X8 using xda premium
what i do wrong?
its working only for custom kernels?
Well i have a 4gb class 4 sd card.I;ve made'it 3.2 gb fat32 128linux swap and the rest ext 3.And i have min 90 mb free mem ,max 120.
RodrigoOgasawara said:
I have a problem,when i format my sd card and put swap partition on mini partition tool,when i place my sd card back to phone its says "damaged sd card"...
Click to expand...
Click to collapse
Don't forget to format after partitioning!
And with minitool for working swap and ext you must connect sd as phone's mass storage->not CWM mount usb storage, booted ROM and connect phone to PC.
Then you'll able to partition your sd. After all FORMAT and all will work.
+1 When you have a 4gb sd you must create FAT, when you have above 4 gb create FAT32. Create first a primary FAT(32), then a primary SWAP/EXT
I partitioned my SD card (4gb class 4) with this propieties
Primary: 3.4GB
Logical: 313MB
But when I put the sd card into the phone, it doesn't recognizes the SDCard.
It's weird because when I browse in my SD card via cwm it shows my files and folders :Z
Anyone knows what the hell i'm doing wrong?
junghyun01 said:
You want to know how to format your sd card with 7000mb fat32 400 ext3 linux swap 500mb
If you format it,it will back to 8Gb sd card
Sent from my X8 using xda premium
Click to expand...
Click to collapse
No, it is only showing as 7gb. When I format it stays at 7gb and I can't see the other 2 partitions on the PC. They work with links2sd and swapper. Do I need to remove anything from the rom connected with apps2sd, I'm using kuyadroid with alfs kernel. I have removed everything from the modules folder but my phone storage is low and links2sd says only 2% of ext2 been used even though it successfully links my apps, or so it claims. Sorry for all the questions but if I know then I can help others thanks for your reply
Sent from my E15 using XDA App
darknessx10 said:
I partitioned my SD card (4gb class 4) with this propieties
Primary: 3.4GB
Logical: 313MB
But when I put the sd card into the phone, it doesn't recognizes the SDCard.
It's weird because when I browse in my SD card via cwm it shows my files and folders :Z
Anyone knows what the hell i'm doing wrong?
Click to expand...
Click to collapse
all partition MUST set in PRIMARY no LOGICAL... For me let swapper2 make your sdcard partition is the safest & easiest way,@author 1question do i need to format my sdcard when i let swapper2 partition my sdcard...
Here is a easy tutorial for partition !
http://forum.xda-developers.com/wiki/SD_card_partitioning
corsav6 said:
No, it is only showing as 7gb. When I format it stays at 7gb and I can't see the other 2 partitions on the PC. They work with links2sd and swapper. Do I need to remove anything from the rom connected with apps2sd, I'm using kuyadroid with alfs kernel. I have removed everything from the modules folder but my phone storage is low and links2sd says only 2% of ext2 been used even though it successfully links my apps, or so it claims. Sorry for all the questions but if I know then I can help others thanks for your reply
Sent from my E15 using XDA App
Click to expand...
Click to collapse
you cannot see the others partition because the card reader or phone shows the 1st partition,you can see the other partition by using partition tool,coz the 1st partition is only mounted which is fat32...

[Q] Card unable to mount

Hello,
I installed CM7 on my HTC Panache. After it was installed, I formatted my SD card through setting. Before formatting, I Unmounted the card. Now its not mounting. I click on mount and it shows the circle then, nothing happens. Any idea what to do ?
If u have a pc, do a full format, the long format, not the quick one, and make sure its fat32 if given the choice.
Sent from my HTC Glacier using XDA Premium

SD card memory help

I have 2gb memory card with 256mb partition but for some reason I only have a total of 1.2gb.
And one of my backups has also disappeared, I think its inside the SD card somewhere but can't find, it not in the clockwork recovery folder no more
Now I only have 117mb free, with no backups, that sucks
Can anyone help
Sent from my GT540 using xda app-developers app
Best solution I have is to format your SD, remember that you partioned your SD so it will only show part of your size on your phone
Sent from my GT540 using xda app-developers app
Minitool Partition Wizard
hello my recommendation is to format the sd scratch and redo your partitions using MiniTool Partition Wizard again
Be careful with partitioning, you ALWAYS need to backup the data before doing such thing.
Sent from my Sony Tablet S using xda premium

Virtual sd card

Hey, I'm too cheap to buy an sd card lol, and I was wondering if I could repartition some of my userdata partition as a virtual sd card? I want to reallocate 4 gb if that helps. Thanks!
Sent from my Milestone X using xda app-developers app

Any way to swap internal sd / external sd?

Is there a way to swap my internal sdcard with my external sd card on 4.41 omni? On 4.3 i could edit buil.prop, and on 4.1-4.2 i edited vold.fstab. none of these work for 4.4.
Sent from my GT-I9100 using XDA Premium 4 mobile app
Any solutions for now?

Categories

Resources