Re: Re: recovery from apt-get dist-upgrade gone wrong

2009-10-13 Thread FrantiĊĦek Dufka
> I made a gzipped copy of /dev/mtd* 0 through 4. Are those of
> any use at all?

close but most probably no, /dev/mtd5 looks like the correct one
see dmesg output here http://pastebin.ca/1610167
lines 47-75 and 154-159

So maybe, just maybe, flasher could flash copy of /dev/mtd5 as rootfs.

Frantisek 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: recovery from apt-get dist-upgrade gone wrong

2009-10-13 Thread Andrea Borgia
Frantisek Dufka ha scritto:


> Sadly I don't know more details sice I couldn't go to summit and don't
> have the device. Many things changed with N900.

Thank you very much for the tips. I will have a look at the info you
provided, just one quick question: this evening, coming back from the
airport, I made a gzipped copy of /dev/mtd* 0 through 4. Are those of
any use at all?

A.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: recovery from apt-get dist-upgrade gone wrong

2009-10-13 Thread Frantisek Dufka
yes, apt-get upgrade is a cake (and cake is a lie :-)

Andrea Borgia wrote:
>  plan B, for a way to extract one from another device(*)

That should be possible. You need just the rootfs. On working tablet 
mount rootfs again to some other directory (to get rid of other 
filesystems mounted on top of it) and create rootfs image of it. Than 
the linux flasher (flasher-3.5 for Fremantle) should hopefully flash it.

Or at least that was it with previous devices that use jffs2 filesystem. 
There is mkfs.ubifs so hopefully it is otherwise the same or very 
similar, see here
http://www.linux-mtd.infradead.org/faq/ubifs.html#L_mkfubifs

Sadly I don't know more details sice I couldn't go to summit and don't 
have the device. Many things changed with N900.

Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers