Active Topics

 


Reply
Thread Tools
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#11
What does
Code:
cat /proc/partitions
say?

Last edited by lma; 2009-07-19 at 10:01.
 
Posts: 18 | Thanked: 1 time | Joined on Jul 2009
#12
The more detail the better i suppose

Unfortunatly what you just told me to do is what ive been doing all along, but i still get the error "Invalid Argument" when i try to umount mmc2
 
Posts: 18 | Thanked: 1 time | Joined on Jul 2009
#13
1 sec lemme check
 
Posts: 18 | Thanked: 1 time | Joined on Jul 2009
#14
major , minor , #blocks , name
31 , 0 , 128 , mtdblock0
31 , 1 , 384 , mtdblock1
31 , 2 , 2048 , mtdblock2
31 , 3 , 2048 , mtdblock3
31 , 4 , 126464 , mtdblock4
254 , 0 , 62720 , mmcblk0
254 , 1 , 32000 , mmcblk0p1
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#15
Originally Posted by Firebat2222 View Post
major , minor , #blocks , name
...
254 , 0 , 62720 , mmcblk0
254 , 1 , 32000 , mmcblk0p1
That indicates only one partition on the card. First try unmounting (if necessary), removing and reinserting it so that the kernel rescans the partition table. If /proc/partitions still says the same re-do the partitioning.
 
Posts: 18 | Thanked: 1 time | Joined on Jul 2009
#16
I unmounted and removed the card, and "cat /proc/partitions" no longer showed the last 2 lines.

I then reinserted the card, and re-partitioned the card, but after doing a final cat /proc/partitions scan it showed the same entries as you saw me post earlier.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#17
Go Control Panel>Memory>Virtual>Uncheck Extend virtual memory

bun
 
Posts: 18 | Thanked: 1 time | Joined on Jul 2009
#18
it was never checked in the first place
 
Posts: 18 | Thanked: 1 time | Joined on Jul 2009
#19
although, is there a way to remove virtual memory in the terminal?
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#20
Originally Posted by Firebat2222 View Post
I then reinserted the card, and re-partitioned the card, but after doing a final cat /proc/partitions scan it showed the same entries as you saw me post earlier.
Hm, maybe the 770 sfdisk is slightly different... Try using it interactively, without a here document:

Code:
# sfdisk /dev/mmcblk0
1,15000,6
15001,,
<enter>
<enter>
and say "y" if/when it asks to write the partition table to disk. Do post the entire output here if it still doesn't work.

Originally Posted by Firebat2222 View Post
although, is there a way to remove virtual memory in the terminal?
"swapoff -a" to stop using it, "gconftool-2 -s /system/osso/af/mmc-swap -t bool false" (or maybe /system/osso/af/internal-mmc-swap? not sure which key the 770 is using) to make osso forget about it and "rm /media/mmc1/.swap" to delete it.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:17.