maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   Partitioning an MMC - error with umount (invalid argument) (https://talk.maemo.org/showthread.php?t=7875)

blade 2007-07-18 22:52

Partitioning an MMC - error with umount (invalid argument)
 
Hi all.

I've been following these instructions for putting the OS onto an MMC and booting off it.

However, I fall at one of the first hurdles. When I type 'umount /media/mmc1' as I'm told to, it reports:

'umount: /media/mmc1: Invalid argument'

Does anyone have any idea what could be causing this?

Many thanks.

middguy 2007-08-02 19:29

Re: Partitioning an MMC - error with umount (invalid argument)
 
I get the same error

DynaMight 2007-08-02 20:12

Re: Partitioning an MMC - error with umount (invalid argument)
 
I had the same problem. Cant remember exactly but I think I may have had Virtual RAM enabled. I deffo had to disable that at some point to get it to work :)

Het 2007-08-02 21:32

Re: Partitioning an MMC - error with umount (invalid argument)
 
Like DynaMight said, make sure the swap file is off. You could also try "umount -f /media/mmc1" or "umount -f /dev/mmcblk0p1"

Also, type into xTerm "df" and hit enter. It should display the free space on your mounted partitions (And by extension the partitions currently mounted).
Do you see "/dev/mmcblk0p1" there or anything with the words "mmcblk"? If not the card isn't mounted...

suoxin 2007-08-03 13:28

Re: Partitioning an MMC - error with umount (invalid argument)
 
I got the same problem. Thanks for your clarification. I tried your code ""umount -f /media/mmc1" or "umount -f /dev/mmcblk0p1"" , but it didn't work.

suoxin 2007-08-03 14:17

Re: Partitioning an MMC - error with umount (invalid argument)
 
[QUOTE=Het;65079]Like DynaMight said, make sure the swap file is off. You could also try "umount -f /media/mmc1" or "umount -f /dev/mmcblk0p1"
QUOTE]

By the way, how to set the swap file off? Thanks

fanoush 2007-08-03 15:17

Re: Partitioning an MMC - error with umount (invalid argument)
 
In case of problems just open card door but leave card in, opening the door will unmount /media/mmcX and disable the swap automatically. The card will still work until you physically remove it.

suoxin 2007-08-03 18:49

Re: Partitioning an MMC - error with umount (invalid argument)
 
I tried the method you said and I still cannot run the code "umount /media/mmc1". I got the same problems as before. I thought I might not need to run this code and went down. However, when I run "/dev/mmcblk0p1: 1,15000,6", it said that "/dev/mmcblk0p1 not found"

I spent almost a whole day on installing the system on mmc-mobile card but still failed. Please help! Thanks a lot!

quitchat 2007-08-04 09:52

Re: Partitioning an MMC - error with umount (invalid argument)
 
[QUOTE=suoxin;65244]
Quote:

Originally Posted by Het (Post 65079)
Like DynaMight said, make sure the swap file is off. You could also try "umount -f /media/mmc1" or "umount -f /dev/mmcblk0p1"
QUOTE]

By the way, how to set the swap file off? Thanks

Control Panel -> Memory -> Virtual -> unselect “Extend virtual memory”.


All times are GMT. The time now is 09:21.

vBulletin® Version 3.8.8