maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Depreciated] BackupMenu - Backup & restore OS images(+ other features) (https://talk.maemo.org/showthread.php?t=58633)

zement 2010-08-02 11:34

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
Quote:

Originally Posted by RobbieThe1st (Post 762886)
When I try this I get:
Code:

robbiethe1st@rb-lt-new /Data/n900 $ sudo mount -t ubifs -o loop ./20100721-backup-rootfs.img /media/rootfsmnt/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

What did I do wrong?

you did nothing wrong, the mentioned way does not work!

correct way of ubifs handling: http://www.linux-mtd.infradead.org/f...l#L_loop_mount

cheers

hawaii 2010-08-05 03:43

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
0.32 seems to stall out after reaching 251MB when dd'ing out the rootfs.

Kabouik 2010-08-06 01:50

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
Hi and thank you very much for this great app!

I successfully created backups for my Opt FS and my Root FS. I have no memory card so they were stored in MyDocs. Nevertheless, I messed up something with my applications and I need to restore the Opt FS now. And the problem is that, when I reboot in Backup mode by keeping the keyboard slided out, I can't restore the img which were created because I can't see them in the menu. They exist though and they are not empty (one of 4 Go and the other of about 260 Mo). The only file listed in the restore menu is an img file which is actually a rom for PSX4ALL. :/

Any idea on how to restore my system? I have a job travel on saturday and it would be great if I could have a full working phone before leaving, because I'm not that serene when having to travel without any communication mean! :]

RobbieThe1st 2010-08-06 10:37

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
Quote:

Originally Posted by hawaii (Post 776121)
0.32 seems to stall out after reaching 251MB when dd'ing out the rootfs.

Does it finish though? Remember, the numbers given are approximate - good for a rough estimate of time remaining, but not much else.
if it jumps to the next screen, it copied it all.


Quote:

Originally Posted by Kabouik (Post 777279)
Hi and thank you very much for this great app!

I successfully created backups for my Opt FS and my Root FS. I have no memory card so they were stored in MyDocs. Nevertheless, I messed up something with my applications and I need to restore the Opt FS now. And the problem is that, when I reboot in Backup mode by keeping the keyboard slided out, I can't restore the img which were created because I can't see them in the menu. They exist though and they are not empty (one of 4 Go and the other of about 260 Mo). The only file listed in the restore menu is an img file which is actually a rom for PSX4ALL. :/

Any idea on how to restore my system? I have a job travel on saturday and it would be great if I could have a full working phone before leaving, because I'm not that serene when having to travel without any communication mean! :]

Ok, lets see.
One, what version are you running?
Two, can you check if the files actually do/still exist by:
1. Reboot with the keyboard open to get into my script
2. at the main screen, plug the N900 into your computer via USB
3. hit the key for USB mass storage mode, then on your PC, wait for it to mount and check to make sure the files *do* exist.
4. Write down the names of the files, if they exist, and paste them here.
Also, you may want to see about running chkdsk when you connect to it via USB - It can't hurt.

Let me know how these turn out; I'll do my best to try to fix it for you.
So long as the files exist, and you are running a recent version(with the terminal mode), we can do a "manual restore" from there if the normal restore won't work.

Kabouik 2010-08-06 15:14

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
Many thanks Robbie for your quick answer. I don't know how to check it, but as far as I know, I'm running the last version of Maemo (I flashed in late July), PR 1.2, and I think that BackupMenu is up to date because it was therefore installed in late July too).

I haven't my USB cable here with me, but I'll try what you said tonight (18H30 @ GMT -3 hours) at the hotel and I'll keep you in touch!

I leave tomorrow so perhaps you won't have time to help me before the departure, but thanks anyways for your concern about my problem!

Kabouik 2010-08-06 15:48

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
OK I finally wen't back to the hotel for lunch and I did what you said:

The files do exist. They are named 20100725-backup-optfs.img (4.19 GB) and 20100725-backup-rootfs.img (257 MB). When I explore the N900 with Windows in USB Mass Storage mode, they are at root (same directory as .documents, .videos, and so on).

The CHKDSK didn't find any error.

As the backup files may be compatible with the Maemo-flasher, perhaps I can restore them by copying them on my laptop and flashing the N900 with them? Too bad I run Seven x64. :/

Maybe it is noteworthy to mention I run an European version of the N900 (Azerty keyboard and so on, I don't know if European N900 are different on the software-side)

RobbieThe1st 2010-08-06 22:30

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
OK. The version should be shown at the top of my app, in white text on blue background.

I think the problem is the EU version.
My app's been designed for the US layout(I only get the key-numbers, not the letters they are attached to, software side), which is:
-QWERTYUIOP,-
-ASDFGHJKL.--
-ZXCVBNM ---

When asked to press a key, press the key that -would- be that letter on the US layout.
So, when asked to press "Q", press the key that would be row#1, key#2 from the left.

I'd bet that will solve the problem. If not, let me know.

Kabouik 2010-08-06 22:52

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
Ok, so my version of BackupMenu is the 0.32.

To restore both RootFS and OptFS (which I want to do since I screwed up the dpkg system and I don't think that restoring OptFS will fix it), correct me if I'm wrong, I have to press successively R, T then P keys. If right, then my problem might not be due to the keyboard layout since these keys have the same row/column coordinates on both QWERTY and AZERTY layouts, as you can see on this picture (dont pay attention to the circles, I just found this picture on Google):

http://www.maemofrance.fr/wp-content...900-Qwerty.png

RobbieThe1st 2010-08-06 23:01

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
Ok, when I reboot and press R, P, and T:
1. it waits for a few seconds after pressing T
2. It shows "Select file: RootFS image", and gives a list.

When you press that sequence, what do you see?
Do you just see nothing at that select file screen, or does it not -get- to that select screen?

Kabouik 2010-08-06 23:19

Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
 
I get to that select screen, but the only file I can select is the PSX4ALL rom I mentionned in my first post here. However, it is not in MyDocs but in MyDocs/Roms/PSX.

Now I have another serious problem, not related at all I suppose: my N900 is chain rebooting. It occurs unplugged (no way to get the PIN code screen), USB plugged, and it even occurs when booting in BackupMenu mode (I can actually see the menu and I can navigate, but it finally reboots after several seconds). It really worries me because I'm affraid this is CPU-related and I see no way to fix it since the problem persists when the phone is USB connected, thus I can't flash it.

The world's against me. :|


All times are GMT. The time now is 18:17.

vBulletin® Version 3.8.8