Thread
:
Errors Partitioning A SD Card
View Single Post
Eric!
2009-04-20 , 18:46
Posts: 38 | Thanked: 2 times | Joined on Mar 2009
#
1
I'm using PARTED to try to cut my 4G card into two partitions: 2G FAT32 and 2G EXT2. Currently it is 4G FAT32 in one partition.
I unmounted the device and virtual memory is off. Then I tried (in xterm as root):
parted /dev/mmcblk0p1
resize 1 0 2000
This moved some data around for a while then produced the following error:
Error: Error informing the kernel about modifications to partition
/dev/mmcblk0p1p1 -- Invalid Argument. This means linux won't know about any changes you made to /dev/mmcblk0p1p1 until you reboot -- so you shouldn't mount it or use it.
So where did the extra p1 in mmcblk0p1p1 come from? Rebooting didn't work, it still shows the partition size to be the full 4G and not 2G. What am I doing wrong?
Also, while I can't find any information anywhere, I assume I'm doing this right: Resize the first partion then mkpartfs 2000 to 3964 EXT2for the second half of the SD Card. I've searched all over the web for help, but I'm just not getting anywhere.
Eric
Quote & Reply
|
Eric!
View Public Profile
Send a private message to Eric!
Find all posts by Eric!