![]() |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Well, I'm not opposed; If someone who knows Multiboot code wants to try to figure it out, I'll do my best to help out.
I have a feeling though that, without changing Multiboot's code, there are two options: 1. run it via console mode or, 2. set up an item that loads the Maemo OS, but somehow launches BackupMenu in the boot process. (with boot options?) |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Well the item file would need to be
ITEM_NAME="Maemo Backupmenu" ITEM_KERNEL=2.6.28-omap1 ITEM_MODULE=ext3 That would boot maemo normally, Then maybe adding ITEM_INITRC="path to backupmenu.item" Might launch bootmenu for you. Although, I am thinking backupmenu.item might have to be renamed and possibly modified as ITEM_INITRC tells multiboot which init program to execute when switching over to root. There is no way to tell the existing multiboot of boot options as such so that is the only way I can see at the moment. I was going to install backupmenu and have a play around to see if I could work anything out but it depends on bootmenu which conflicts with multiboot. Edit: Not sure how easy it is to change multiboot's code to make them work together or how busy he is, but JAY-C is the creator of multiboot so it might be worth contacting him to see if there is anything you can work out between you to get the two to intergrate? Edit 2: Especially if backupmenu is just a shell script, as he may be able to add support for running a script prior to booting? |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
EDIT: In fact, the initrc would be called after switching from the initrd, so the contents of that wouldn't matter. You'd still need all the executables installed on the N900 though. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
'Select File: OptFS image' dialog somehow does not let me to select option 'a)'; which is my OptFS image. There seems to be no way of choosing the OptFS.img neither from the SD or the eMMC. Interesting part is: the OptFS restores fine if the backed up RootFS.img is not flashed first. Is there a way of restoring the OptFS as well using the PC flasher? Thanks in advance! |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
No. You can not restore /opt/ using flasher.
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
I also tried restoring the OptFS first using the BackupMenu and flashing the RootFS right after from PC flasher, in that case system stays on 5 loading lights for hours.
P.s. I'm using a U.S. keyboard layout with v0.32-1 of BackupMenu. Is there a "safe restore" mode available, or would a manual restore from the 'command line' option would work? |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Also restoring RootFS via BackupMenu leads to an unbootable state. I'm wondering if this is normal. Maybe something is wrong with my RootFS.img (although the sumcheck was ok).
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
I've made a lot of experienxe about this .. it seems that it's impossible to restore OPT because something is corrupted in the file...
Making a new backup i were able to restore even OPT... Robbie for example the images that i gave you weren't good and this is why my tester wasn't able to restore them .. T_T Making a new one i have solved.. but this is a big bug :( |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
If you have that problem, you are going to have to somehow get V.32 installed on your box. You can try this: 1. flash to PR1.2 2. Boot up, install BackupMenu V.32. 3. Reboot into BackupMenu 4. Restore the OptFS. 5. Connect your USB cable, ready the Maemo flasher utility and reboot your N900 6. Flash PR1.2 again, then flash your RootFS image. If everything went correctly, you should have a working system. Quote:
Quote:
I'm not sure why it does it. Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Thank you RobbieThe1st,
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
As of step 6 maybe I should use,
flasher-3.5.exe -r nameOFyourROOTimage -f -R instead of flasher-3.5.exe -r nameOFyourROOTimage -f |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
Code:
main() The " # D - Debugging another script 32) boot_script /sbin/multiboot_debug ;; " seams like some testing script for debug proposes but i couldn't find any sbin/multiboot_debug in my system. So perhaps it could be changed to: Code:
# D - Debugging another script I haven't tested it yet as i am on holidays and away from my pc to reflash if anything goes wrong. If there is anyone brave enough to do it them please report back. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
Thanks for your reply. I really don't know what programs are used by BackupMenu. However, as I read the in the 1st post that: Quote:
i thought that BackupMenu.item could run from the console option of multiboot. :o Unfortunately, in my system, the C option of multiboot (0.2.5) doesn't work and i can't test it. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Programs used by BackupMenu:
/usr/bin/text2screen expr cat /usr/sbin/evkey modprobe ifconfig dd cksum echo insmod /lib/modules/current/phonet.ko /lib/modules/current/g_nokia.ko mount mkdir /sbin/udevd /sbin/udevadm hwclock awk getty umount fsck sleep chmod /usr/sbin/sshd (for SSH server - optional) date find sync reboot poweroff Thats the full list of programs called. I have a feeling that 90% of them are part of the BusyBox executable; copying that and a bunch of symlinks will take care of those. Anything that has a full path in my app has it here; everything else shouldn't matter so long as it is in the $PATH. Edit: Tan, you are correct in your last post. You need to flash your rootFS image -as- a rootFS image, not a fiasco image. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
FYI this worked great for me on 0.32 when I needed to get it back up and running
Glad I read through the 14 pages first instead of just asking :o) Thanks Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Robbie :D
Here my image :) http://www.maemomeego.net/viewtopic.php?f=59&t=929 Do you think that sharing it here on maemo.org in a new 3d could be a good thing ? |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Go ahead and post it; it can't hurt. I'd also like to see other people trying it and see if these images can be transfered between N900 most of the time or if they can't.
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Robbie, do you have any new hints at the reason why restoring the rootfs from the device itself never works for some of us?
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
Robbie there is a small problem here... there is a bit of italian .. but the error in writen in english :) http://www.maemomeego.net/viewtopic....ngle_Post_View What could be? Post number 42 |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
Also, its not just "some". If the current image is too different from the one needing to be flashed, it won't work. Why? I don't know. Perhaps some files aren't getting copied correctly, or some portion of the disk image. Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
No it doesn't work ... only nokia bootscreen :(
EDIT: Another one with thew same error .. .:( "sto facendo la procedura. E' normale che al lancio della stringa: flasher-3.5.exe -r Fastmantle_v1-rootfs.img -f alla fine esce scritto: finishing flashing... sending request 0x52 failed: no error ?????????????????????????????" The process of flash arrives to the end ... but this line appear ... :confused: |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
@ RobbieThe1st
is this a bug that the keyboard wont turn the backlight on? in the night its very hard to see the keys ^^ it would be nice when its starts working :) and now THX for the app :) nice work |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Hi Robbie,
it works great on my end... Great work and appreciated here in the Netherlands... 2 questions left: can we expect a GUI 4 this? Does this backup all (like apps and other stuff like contacts and calendar)? Regards |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
I think it's a bit hard to have a better guy ... this is only a script that is loaded in the ram at the startup ... to do what you say we should install even some other files on an external support, just like a sd card, like being an operting system... And yes, this backups EVERYTHING you can think :) |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
After restoring RootFS checksums seem not to match. Would you have any tips for that RobbieThe1st?
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Robbie .. since yesterday I'm trying to fix that stupid error.
1) Tried with a mst MD5 checksums ... My tester hasn't a corrupted file. 2) Check the hardware revision. We have the same : 2101 3) I told the testers try to flash with the root image extracted from a fiascoimage. That flash went fine. So to two testers everything all right... and two with that error. ... and I do not understand why .. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Yeah finally a complete backup app. Too bad bootmenu n900 isnt compatible with nitdroid. But not for long i think :)
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
http://www.gnu.org/software/ddrescue/ddrescue.html I use it to clone hard drives as part of my backup strategy for my laptop. It's wonderfully effective. I've no idea if anyone's even thought about compiling it for Maemo, let alone done so (I wouldn't be able to - I take one look at the Scratchbox installation docs and go into twitching fits), but it ought to help. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
I suppose I could; I just need to find the /dev/ file that turns it on. Quote:
If you mean an application that runs inside Maemo... thats not possible If you back up both the RootFS and the OptFS, everything should be backed up Quote:
Quote:
Quote:
I have an idea for a different way of doing this, but I'd need to have some testers who are willing to have to wipe their N900s. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Robbie i'm here for evething that doesn't destroy definitively my phone and that is reversible with a flash :)
But why these bad sectors create problems only on some N900 and not on every N900? T_T By the way .. if you need .. PM me . |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
sorry if this was covered earlier, but it's pretty urgent, my phone is in a reboot loop, with backupmenu.
i hold down lock button, but it justr eboots into the same freaking menu!! |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
perhaps anyone in the forum know the link. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Load leds_lp5523.ko
Code:
for x in 1 2 3 4 5 6; do echo 255 > /sys/class/leds/lp5523\:kb$x/brightness; done |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Yea, I'm gonna have to try that, MohammadAG. Thanks.
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
how do i type symbols such as
Quote:
Also, how do i use the maemo flasher?? We need to press and hold the "U" key and then connect the USB, but having the keyboard open will simply launch the backup menu instead, what do i do?? |
All times are GMT. The time now is 13:07. |
vBulletin® Version 3.8.8