![]() |
Partitioning a flash card problems
I seem to have run into a problem.... While following the guide to create a new partition on the nokia 770, i am unable to umount /media/mmc2
i get the following line in return: umount: /media/mmc2: invalid argument |
Re: Partitioning a flash card problems
Quote:
thats becoz u might not have mounted that or its already unmounted. May be u can jus ignore that. |
Re: Partitioning a flash card problems
alright, so i ignored it and went along with the procedure, but ran into another problem which i belive to be linked to this one.... :(
now, when trying to run mk2fs /dev/mmcblk0p2 i get the following reply: could not stat /dev/mmcblk0p2 --- No such file or directory The device apparently does not exist; did you specify it correctly? |
Re: Partitioning a flash card problems
i think your partitioning got conked somewhere.
Open xterm, type df and press enter and see if the partition /dev/mmcblk0p2 is listed. If it is not listed then your partitioning was not proper. |
Re: Partitioning a flash card problems
hmmm.... it is not listed.... i am using a 770, and i think i remember reading somewhere that the procedure is slightly different, and had to do with the mmc2....
|
Re: Partitioning a flash card problems
Quote:
bun |
Re: Partitioning a flash card problems
i am using gainroot.... and i make sure i have root acess every time i use the terminal....
|
Re: Partitioning a flash card problems
This could be off the wall, and I'm not familiar with the 770, but is it an mmc2 partition you want, or is it mmc1 on the 770? What "guide" are you following? Got a link? You're trying to do what?
|
Re: Partitioning a flash card problems
The guide is the one straight from maemo, http://wiki.maemo.org/Partitioning_a_flash_card
i want to create a bootable partition on the removable mmc card this is mainly for practice, as i have a 2gb card coming in the mail, and would like to try booting debian or some other OS off of the card when it gets here, but for now i would like to figure out what i actually need to do |
Re: Partitioning a flash card problems
Please make sure that you are following the below steps properly.
apt-get install e2fsprogs umount /media/mmc1 umount /media/mmc2 sfdisk /dev/mmcblk0 << EOF 1,15000,6 15001,, EOF Follow each step at a time (enter one line of text and press enter) Sorry if my detailing is too much. :) |
Re: Partitioning a flash card problems
What does
Code:
cat /proc/partitions |
Re: Partitioning a flash card problems
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 |
Re: Partitioning a flash card problems
1 sec lemme check
|
Re: Partitioning a flash card problems
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 |
Re: Partitioning a flash card problems
Quote:
|
Re: Partitioning a flash card problems
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. |
Re: Partitioning a flash card problems
Go Control Panel>Memory>Virtual>Uncheck Extend virtual memory
bun |
Re: Partitioning a flash card problems
it was never checked in the first place
|
Re: Partitioning a flash card problems
although, is there a way to remove virtual memory in the terminal?
|
Re: Partitioning a flash card problems
Quote:
Code:
# sfdisk /dev/mmcblk0Quote:
|
Re: Partitioning a flash card problems
Not sure if this is what was supposed to happen, or if it worked or not....
heres the output after I answered yes to writing the new partition: Code:
Sucessfully wrote the new partition table.... |
Re: Partitioning a flash card problems
Quote:
|
Re: Partitioning a flash card problems
still saying umounting mmc2 is and invalid argument :/
and if i try to format using "mke2fs /dev/mmcblk0p2" it says no such file or directory |
Re: Partitioning a flash card problems
I am getting the same issue.
|
| All times are GMT. The time now is 19:17. |
vBulletin® Version 3.8.8