![]() |
Internal Memory Card: Can you 'cat /proc/partitions' for me?
I'm worried that something with my built-in memory card is wrong. Can someone who owns a N810 do me a favour:
Open a Terminal on the tablet and type Code:
cat /proc/partitions Optionally, if you're on a linux computer, attach the tablet via USB and do the same on the host computer. If you're as confused as I am, read dmesg. Thank you. |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
n800
major minor #blocks name 31 0 128 mtdblock0 31 1 384 mtdblock1 31 2 2048 mtdblock2 31 3 2048 mtdblock3 31 4 257536 mtdblock4 254 0 3979776 mmcblk0 254 1 3975680 mmcblk0p1 254 8 7902720 mmcblk1 254 9 7902712 mmcblk1p1 |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
N810:
Code:
major minor #blocks name Code:
Nokia-N810-50-2:~# sfdisk -l /dev/mmcblk0 |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
@Ima - Looks like you have an 8gb card in the external slot. Can I ask what you are using? Sandisk 8gb micro with a mini converter?
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Yes, with the adapter reported working in https://bugs.maemo.org/show_bug.cgi?id=2672
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Quote:
This can be done from the GUI as well. JFTR:
And it worked. /EDIT But..., does this mean Nokia sold me (and others) an internal card with a broken partition table? Don't they ever test anything? (I read people lost data on USB sticks in similar situations. IMHO, any sane system should refuse to mount this, but, of course, no one asked for MHO.) |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Quote:
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
If I am understanding this correctlt,it appears I have the same problem:
Code:
~ $ cat /proc/partitions I haven't noticed any problems yet, but would like to resolve this before I do. I am a newbie to this so what is the best way to solve this and lose as little as possible. Is there a way to backup or copy everything that is on the internal memory card before reformatting it, and then to copy/restore it back? It is my understanding that the internal backup utility doesn't backup everything. Thanks |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Quote:
Code:
cp -r /media/mmc2 /media/mmc1/ Code:
find /media/mmc1/mmc2 Code:
du -sk /media/mmc2 After formatting copy it back via Code:
cp -r /media/mmc1/mmc2/* /media/mmc2/ |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Thanks, thats what I needed. I followed those steps and the partition size looks good now.
I appear to have all the files back, but there were about seven I/O errors reported by 'dmesg' so perhaps something is corrupted. I was initially unable to format the card until I removed the virtual memory space I had allocated to it. That was still activated when I performed the copy so maybe that had something to do with the I/O errors (?) |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
What should the size of the partition be? I had this issue too and after reformatting /proc/partitions is saying 1966080 mmcblk0 and 1966072 mmcblk0p1 but df says 1962236 for /media/mmc2. Is the small differences between these to be expected? Do others see the same figures?
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
I'm a newbie so can't say what is correct, but after formatting my card all my numbers are exactly the same as yours.
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Fanoush,
The above advise works well for copying files from a particular card. Can you advise on how to make a complete copy of mmc2 so that it includes not only files but the entire dual boot setup, preferences, kde, menu, apps, etc. I have tried several methods mentioned in other threads but none seem to copy everything. I'm trying to make a backup card in case I trash my current one when testing new scripts. It would be ideal if I can just set the backup card in mmc1 and make a mirror copy from mmc2. Any ideas or methods you have come across that work in duplicating the entire mmc2 dual boot structure with all the apps, preferences, menus, etc. TIA |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
The dual boot setup is not on the card, so that won't work; you always have to modify the initfs if it gets wiped. Other than that, dding the whole thing to a file, and thence to the backup card, is the simplest way, or alternatively, dd from one card straight onto the other (if you've got an N800, this can be done on the device booted into flash; otherwise, using a PC and SD -> HDD ->SD might be better).
|
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Benson
Thanks. Did not know that dual boot setup is not on the card. First what is dding? I've never seen that term and google brings up wedding. :) I would prefer dd? on my N800 to dding? card to card. I booted to flash. My next guess is go into root and type what? Once I do this I will be very happy. TIA |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
dding = using dd
If you have two SDs of identical capacity, Code:
dd if=/dev/mmcblk0 of=/dev/mmcblk1 |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Benson thanks.
How long should it take? Also do I add the ' bs=32768 ' after mmcblk1? Edit: Found online that you add bs=32768 after mmcblk1. Edit: Worked beautifully by adding the bs=32768. Took about 4 hours. |
Re: Internal Memory Card: Can you 'cat /proc/partitions' for me?
Quote:
Quote:
Code:
dd if=/dev/mmcblk0 of=/media/mmc1/mmcblk0backup.bin Code:
dd if=/dev/mmcblk0 | gzip > /media/mmc1/mmcblk0backup.bin.gz Best would be to port partimage or similar tool to maemo. |
All times are GMT. The time now is 02:38. |
vBulletin® Version 3.8.8