Active Topics

 


Reply
Thread Tools
Posts: 10 | Thanked: 0 times | Joined on Aug 2011
#1
partitioning my sdCard giving me error like this

root
umount /dev/mmcblk1p1
sfdisk -uM /dev/mmcblk1p1 << EOF
,2100,C
,,L
,,
,,
EOF
ERROR

Checking that no-one is using this disk right now...
BLKRRPART: Invalid argument
OK
Warning: start=16 - this looks like a partition rather than the entire disk. Using fdisk on it is probably meaningless.
[Use the ==force option if you really want this]
i dont know what is the force option to do that? any idea?

and again
umount /dev/mmcblk1p1
mkfs.vfat /dev/mmcblk1p1 -n sdcard
mke2fs -j -m0 -L Android /dev/mmcblk1p2
ERROR

Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it corectly?

please advice me about my problem please.....
 
Zas's Avatar
Posts: 196 | Thanked: 113 times | Joined on Jun 2010 @ Finland
#2
Use "sfdisk -uM /dev/mmcblk1 << EOF"
instead of "sfdisk -uM /dev/mmcblk1p1 << EOF"
 

The Following 3 Users Say Thank You to Zas For This Useful Post:
Posts: 10 | Thanked: 0 times | Joined on Aug 2011
#3
i successfully use your code like this

sfdisk -uM /dev/mmcblk1 << EOF
but after that i tried to enter this code but it gives me error

umount /dev/mmcblk1p1
it gives me error that " Invalid Argument "

after i use your code sfdisk -uM /dev/mmcblk1 << EOF my N900 say

Memory Card Format Unsupported
but i know this Unsupported is due to i format the memory card to other format.. now i want to know how will i do after i use your CODE

then i want to insert this code

umount /dev/mmcblk1p1
mkfs.vfat /dev/mmcblk1p1 -n sdcard
mke2fs -j -m0 -L Android /dev/mmcblk1p2
but in the line of "umount /dev/mmcblk1p1" it gives me error Invalid Argument..

any idea?
 
Amboss's Avatar
Posts: 237 | Thanked: 502 times | Joined on May 2010 @ Mittelfranken, Germany
#4
I'm not much into this, but:

You change the device name on the sfdisk command. Shouldn't you be changing it on the other commands as well?

umount /dev/mmcblk1p1

Whats the output with:
sfdisk -l

Last edited by Amboss; 2011-08-29 at 10:48.
 

The Following User Says Thank You to Amboss For This Useful Post:
Posts: 10 | Thanked: 0 times | Joined on Aug 2011
#5
by the way i want to install nitdroid on my iphone i just see that code on this site http://wiki.nitdroid.com/index.php?title=N900-install

i know they update already the nitdroid installer to autoinstall but my internet suck me because of my net is so slow but i have the files of nitdroid so i want to install it manually...

any idea about my problem?


i dont know actually about the output of this...
Whats the output with:
sfdisk -l
 
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#6
Originally Posted by maemo-coldhearted View Post
[...]
but in the line of "umount /dev/mmcblk1p1" it gives me error Invalid Argument..

any idea?
what is the output of
Code:
ls /dev/mm*
?
are you doing all this as root (or using sudo)?
 

The Following User Says Thank You to misterc For This Useful Post:
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#7
Originally Posted by maemo-coldhearted View Post
by the way i want to install nitdroid on my iphone [...]
are you sure about that ???
 

The Following User Says Thank You to misterc For This Useful Post:
Posts: 10 | Thanked: 0 times | Joined on Aug 2011
#8
how can i know the output of this code

Code:
ls /dev/mm*
 
Posts: 10 | Thanked: 0 times | Joined on Aug 2011
#9
sorry misterc on my N900...

sorry i've just confused..
 
Posts: 10 | Thanked: 0 times | Joined on Aug 2011
#10
are you doing all this as root (or using sudo)?
yes im doing that root also

root
umount /dev/mmcblk1p1
sudo gainroot
umount /dev/mmcblk1p1
it says invalid argument
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:01.