maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   help mounting microSD partitioning (https://talk.maemo.org/showthread.php?t=76146)

maemo-coldhearted 2011-08-29 07:49

help mounting microSD partitioning
 
partitioning my sdCard giving me error like this

Quote:

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

Quote:

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
Quote:

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

Quote:

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 2011-08-29 08:30

Re: help mounting microSD partitioning
 
Use "sfdisk -uM /dev/mmcblk1 << EOF"
instead of "sfdisk -uM /dev/mmcblk1p1 << EOF"

maemo-coldhearted 2011-08-29 10:35

Re: help mounting microSD partitioning
 
i successfully use your code like this

Quote:

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

Quote:

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

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

Quote:

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

Quote:

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 2011-08-29 10:45

Re: help mounting microSD partitioning
 
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

maemo-coldhearted 2011-08-29 10:56

Re: help mounting microSD partitioning
 
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...
Quote:

Whats the output with:
sfdisk -l

misterc 2011-08-29 10:58

Re: help mounting microSD partitioning
 
Quote:

Originally Posted by maemo-coldhearted (Post 1078346)
[...]
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)?

misterc 2011-08-29 11:05

Re: help mounting microSD partitioning
 
Quote:

Originally Posted by maemo-coldhearted (Post 1078355)
by the way i want to install nitdroid on my iphone [...]

are you sure about that ???

maemo-coldhearted 2011-08-29 11:08

Re: help mounting microSD partitioning
 
how can i know the output of this code

Code:

ls /dev/mm*

maemo-coldhearted 2011-08-29 11:08

Re: help mounting microSD partitioning
 
sorry misterc on my N900...

sorry i've just confused..

maemo-coldhearted 2011-08-29 11:12

Re: help mounting microSD partitioning
 
Quote:

are you doing all this as root (or using sudo)?
yes im doing that root also

Quote:

root
umount /dev/mmcblk1p1
Quote:

sudo gainroot
umount /dev/mmcblk1p1
it says invalid argument


All times are GMT. The time now is 07:07.

vBulletin® Version 3.8.8