Reply
Thread Tools
sub7's Avatar
Posts: 69 | Thanked: 10 times | Joined on Sep 2010 @ Spain
#1
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?
 
Posts: 1,141 | Thanked: 781 times | Joined on Dec 2009 @ Magical Unicorn Land
#2
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's Avatar
Posts: 69 | Thanked: 10 times | Joined on Sep 2010 @ Spain
#3
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.
 
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#4
That error means don't use more than one of those options when running fsck.
 
Posts: 968 | Thanked: 974 times | Joined on Nov 2008 @ Ohio
#5
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.
__________________
*Consumer*, not a developer! I apologize for any inconvenience.
My script to backup /home and /opt
Samsung Galaxy S Vibrant, Huawei S7, N900(retired), N800(retired)
 

The Following User Says Thank You to lemmyslender For This Useful Post:
sub7's Avatar
Posts: 69 | Thanked: 10 times | Joined on Sep 2010 @ Spain
#6
o man thanks, i was reading about this. But i have to install meego for use this??

then i have to install meego first???
 
Posts: 343 | Thanked: 165 times | Joined on Sep 2010
#7
Originally Posted by sub7 View Post
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.
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#8
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.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
sub7's Avatar
Posts: 69 | Thanked: 10 times | Joined on Sep 2010 @ Spain
#9
:O i would try this
 
sub7's Avatar
Posts: 69 | Thanked: 10 times | Joined on Sep 2010 @ Spain
#10
Originally Posted by RobbieThe1st View Post
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.

Last edited by sub7; 2011-01-20 at 16:41.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:55.