maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Partitioning errors (https://talk.maemo.org/showthread.php?t=89547)

Sourav.dubey 2013-03-22 15:20

Re: Partitioning errors
 
Beg to interfere but you can install backup menu and try usb mass-storage option
also if you didn't get success in this then try flashing both emmc and kernel

Freddie 2013-03-22 16:11

Re: Partitioning errors
 
Quote:

Originally Posted by Sourav.dubey (Post 1330847)
Beg to interfere but you can install backup menu and try usb mass-storage option
also if you didn't get success in this then try flashing both emmc and kernel

I didn't have the backup menu app, and cant install anything, keeps telling me; "operation temporarily disable due to low memory"
Currently downloading the firmware to try and flash the firmware.

elros34 2013-03-22 16:41

Re: Partitioning errors
 
I told you: check your partitions. You get such a message "operation temporarily disable due to low memory" because your swap isn't activate. Put rootsh deb on sd card and use sfdisk.

Freddie 2013-03-22 17:02

Re: Partitioning errors
 
Quote:

Originally Posted by elros34 (Post 1330868)
I told you: check your partitions. You get such a message "operation temporarily disable due to low memory" because your swap isn't activate. Put rootsh deb on sd card and use sfdisk.

I wish I could Elros, my sd slot doesn't function.

elros34 2013-03-22 17:05

Re: Partitioning errors
 
so use rescue os

michaaa62 2013-03-22 17:41

Re: Partitioning errors
 
Due to the incomplete partitioning your internal card has bad partition table and some broken file systems. Can you surf the net to manually download rootsh here: http://repository.maemo.org/extras/p...sh_1.8_all.deb to the N900 directly and try if tapping it in the file manager will install it?

@elros34: Do you mind switching to a more verbose state and elaborate on the usage of rescue os to give some help, please? Personally never touched it...:o

elros34 2013-03-22 19:42

Re: Partitioning errors
 
michaaa, he can't install rootsh via manager due to problem with swap. Freddi, flash your emmc if you don't have any important data or you can enable rd mode and then using sfdisk repair/check second and third partition: sfdisk -l, fsck.. or without enabling rd mode boot rescueos and do the same.

Freddie 2013-03-23 08:00

Re: Partitioning errors
 
3 Attachment(s)
Hi Elros and Michaa,
I managed to flash my emmc but still my memory shows as corrupted. I also enabled rd mode via flasher on Linux PC but still can't run almost all commands I see on forums. See attached some images, with the hope it helps evaluate the best solution.
I downloaded rescue os but am having issues installin it, will advice once am successful on installing it.

Attachments added

elros34 2013-03-23 09:07

Re: Partitioning errors
 
Make sure that you flash your emmc in correct way: so download emmc image
flasher-3.5.exe -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f
If everything goes well, flash once again firmware and enjoy.

michaaa62 2013-03-23 10:37

Re: Partitioning errors
 
To make things clear: You lost all of your data and settings through this mess!

Now in rd mode:
You have to correct the partition table.
Code:

sudo gainroot
echo "unit: sectors
> /dev/mmcblk0p1 : start= 64, size= 44400640, Id=0
> /dev/mmcblk0p2 : start=44744704, size= 16211968, Id=0
> /dev/mmcblk0p3 : start= 60956672, size=  1572864, Id=82
> /dev/mmcblk0p4 : start=        0, size=        0, Id= 0 " > table
sfdisk --no-reread /dev/mmcblk0 < table

These are three commands:
#1 sudo ... to gain the rights you might drop this in rd-mode
#2 echo ... over those 5 lines to create a file containing the informations for the partition table
#3 sfdisk ... dumps the file's content to the partition table part of the MBR.
This will create a 23GB MyDocs partition, a 8GB partition for installable applications (and plenty of space for nitdroid ;) ) and a 750MB swap space.

Then reboot to check if the partition table is written correctly.

After the reboot check the partition table
Code:

sudo gainroot
sfdisk -l

If the values are correct, make the partitions active and apply file systems
Code:

sfdisk -c /dev/mmcblk0 1 c
mkfs.vfat -F32 -s64 -n MyDocs /dev/mmcblk0p1
sfdisk -c /dev/mmcblk0 2 83
mkfs.ext3 -L optfs /dev/mmcblk0p2

Now you are set to flash the firmware and use your partitions


All times are GMT. The time now is 08:04.

vBulletin® Version 3.8.8