maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   It's possible format the internal memory from ubuntu gparted? (https://talk.maemo.org/showthread.php?t=68620)

sub7 2011-01-19 14:50

It's possible format the internal memory from ubuntu gparted?
 
Hi guys, my problem is this, wanted to know if using gparted in ubuntu I can format the ext3 and fat32 in the phone's internal memory. If I do this then you can reinstall the firmware, maemo flasher?

What happens is that I have a corrupted file system long ago and I can not repair it from ubuntu, or using power kernel, or using fsck backupmenu.

So I think the only solution would be to remove those partitions and then reinstall everything.

It would be possible to do so? there another way?

stlpaul 2011-01-19 14:55

Re: It's possible format the internal memory from ubuntu gparted?
 
Reflashing it along with the emmc image should re-do all of the partitions anyway. So I don't think that gparted step is necessary if that's all you're doing.

sub7 2011-01-19 15:05

Re: It's possible format the internal memory from ubuntu gparted?
 
I tried that, but after reinstalling backupmenu do a file check fsck of backupmenu and I keep getting the same error, when analyzing the optfs.

Code:

errors may have been encountered: code:8
e2fsck: Only one of the options -p/-a, -n or -y may be specified.


retsaw 2011-01-19 15:47

Re: It's possible format the internal memory from ubuntu gparted?
 
That error means don't use more than one of those options when running fsck.

lemmyslender 2011-01-19 15:51

Re: It's possible format the internal memory from ubuntu gparted?
 
You can flash the N900 (as a one time only) with an emergency boot kernel. Directions here.

Just make sure to have a full battery and backups handy. Once you have rebooted into the rescue kernel, you can mount all the partitions on the emmc in ubuntu and check / remove / resize to your hearts content using gparted.

sub7 2011-01-19 19:43

Re: It's possible format the internal memory from ubuntu gparted?
 
o man thanks, i was reading about this. But i have to install meego for use this??

then i have to install meego first???

mattbutsko 2011-01-19 21:23

Re: It's possible format the internal memory from ubuntu gparted?
 
Quote:

Originally Posted by sub7 (Post 924068)
o man thanks, i was reading about this. But i have to install meego for use this??

then i have to install meego first???

Shouldn't have to. You just flash the rescue kernel which will allow you to repartition the internal memory.

RobbieThe1st 2011-01-20 04:17

Re: It's possible format the internal memory from ubuntu gparted?
 
Wait a minute here:
Just boot into backupmenu, hit w to run read/write USB Mass Storage mode, then mess with it from Ubuntu.
Backupmenu's mass storage mode exposes the whole eMMC to outside access, so it should work nicely.

sub7 2011-01-20 14:42

Re: It's possible format the internal memory from ubuntu gparted?
 
:O i would try this

sub7 2011-01-20 15:15

Re: It's possible format the internal memory from ubuntu gparted?
 
Quote:

Originally Posted by RobbieThe1st (Post 924352)
Wait a minute here:
Just boot into backupmenu, hit w to run read/write USB Mass Storage mode, then mess with it from Ubuntu.
Backupmenu's mass storage mode exposes the whole eMMC to outside access, so it should work nicely.

well i try this but gparted dont repair nothing but and if i do fsck to test, give one error.

Code:

sudo e2fsck -n /dev/sdb1
the error sorry it's on spanish, i got this on ubuntu
Code:

e2fsck 1.41.12 (17-May-2010)
e2fsck: Superbloque es inválido, intentando los bloques de respaldo...
e2fsck: Bad magic number in super-block mientras se intentaba abrir /dev/sdb1

El superbloque podría no ser leido o no describe un sistema de ficheros ext2 correcto.
Si el dispositivo es válido y en verdad contiene un sistema de ficheros ext2 (y no uno
de intercambio, ufs o algo más), entonces el superbloque está corrompido
y podría intentarse ejecutar el e2fsck con un superbloque alternativo:
  e2fsck -b 8193 <dispositivo>

EDIT: it seems i only got this error when i do e2fsck on fat32 partitions, because i try to do it on the sdcard where i have nitdroid and i get the same.

And when i do fsck on backupmenu still giving me the above error

Code:

errors may have been encountered: code:8
e2fsck: Only one of the options -p/-a, -n or -y may be specified.



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

vBulletin® Version 3.8.8