Notices


Reply
Thread Tools
Posts: 327 | Thanked: 383 times | Joined on Aug 2010 @ alex , egypt
#751
i updated the package for use with multiboot

backupmenu-multiboot 1.2 = backupmenu 0.65-1 but for use with multiboot

u can find it in this post :

http://talk.maemo.org/showpost.php?p...&postcount=182


and for all info , u can read the first post in the thread

http://talk.maemo.org/showthread.php...668#post911668


thanks RobbieThe1st for ur great work

Last edited by mido.fayad; 2011-05-11 at 15:33.
 

The Following 6 Users Say Thank You to mido.fayad For This Useful Post:
Posts: 201 | Thanked: 96 times | Joined on Dec 2009
#752
Originally Posted by mido.fayad View Post
i updated the package for use with multiboot

backupmenu-multiboot 1.2 = backupmenu 0.65-1 but for use with multiboot

u can find it in this post :

http://talk.maemo.org/showpost.php?p...&postcount=182


thanks RobbieThe1st for ur great work
thanks a lot
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#753
I have modified the backupmenu 0.65 files in order to allow optfs formatting instead than erasing.

Thing is, when optfs is seriously damaged, erasing all files and directories like before might be insufficient to repair the filesystem.

This was an itch I really needed to scratch, because this way my N900 is much more independent from an external device in case the optfs gets messed up (an issue that happens quite often, unfortunately, at least in my hands, with all that fiddling plus an OC'd processor).

Of course, after formatting is done, you'll have to restore your (rootfs and) optfs.

The modded files in the attached tar.gz archive are BackupMenu.item and extrafiles.tar.gz and should be copied (as root) inside /usr/share/backupmenu - but you better rename the original files before, instead that overwriting, so that the pristine functionality can be restored if for any reason my mod doesn't work on your device.

Of course, before you test that, also do a full rootfs and optfs backup, in case everything gets messed up. I tested it twice and it always formatted optfs as expected, and the optfs tar file could be correctly restored.

Please RobbieThe1st consider including this mod in your next version; I don't think it's more dangerous than erasing all optfs files like was before, and it's more useful, at least imho.
Attached Files
File Type: gz bkpmnu0.65_mod_format.tar.gz (9.5 KB, 96 views)
__________________
Ernesto de Bernardis

 

The Following 7 Users Say Thank You to debernardis For This Useful Post:
ndi's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#754
Any reason this would not be done with root as well?
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.
 

The Following User Says Thank You to ndi For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#755
Originally Posted by ndi View Post
Any reason this would not be done with root as well?
You mean unmounting optfs as root, while normally running the device, and formatting? It seems quite difficult to do, you'll find open files preventing you from unmounting.

That could be tried closing a number of processess, maybe, if watchdogs allow that, but using backupmenu the thing is much easier, and you will be able to restore from your tarred optfs immediately after formatting.
__________________
Ernesto de Bernardis

 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#756
He means formatting rootfs as well.
 

The Following 2 Users Say Thank You to hawaii For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#757
Originally Posted by hawaii View Post
He means formatting rootfs as well.
Right, it is useful as well. Let's go and see where it must be done.

Ah, while looking at the code, here's a typo:
Code:
#Restore the RootFS from $backupRootFile
mount -t ubifs ubi0_0 /tmp/mnt/rootfs
if [ $? -ne 0 ]; then
   umount -t ubufs
   $T2S -s 2 -H left -y $y -T 0xF800 -t "  Error: cannot mount the RootFS."; y=$((y+20))
pressAnyKey
break
Should be "umount -t ubifs" I bet.

Then after a few lines he writes:
Code:
$T2S -s 2 -H left -y $y -T 0 -t "  Clearing the RootFS..."; y=$((y+20))
  busybox rm -rf /tmp/mnt/rootfs/*
Here he nukes the rootfs' files. Formatting should replace the "busybox rm" line.

Anybody knows the right way to go? I'm scared to mess with ubifs, I haven't quite understood how it works

EDIT: is it "ubiformat /dev/whatever"?
and [Q] Why do you want to format rootfs just before restoring instead that having an extra command to do that? [A] Because if user formats rootfs with that command and forgets to restore a rootfs tar immediately after, will be left with an unbootable device that has necessarily to be reflashed.
__________________
Ernesto de Bernardis


Last edited by debernardis; 2011-05-15 at 18:11.
 

The Following User Says Thank You to debernardis For This Useful Post:
Posts: 529 | Thanked: 194 times | Joined on Aug 2010 @ UK
#758
I still would like to know an noob way of making a flashable image of my OS have tryed little bit in first post but still no joy ..

make have to give it another go later if i could master it would make life so easy ...
__________________
METASPLOIT INSTALL N900
Keep the forums clean
Dont forget to say thanks
 
Posts: 3 | Thanked: 0 times | Joined on Feb 2011
#759
Hi I would like to backup my device using BackupMenu but before that I need to check few things, that will it support my device with the following

- I have multiboot installed with NITdroid
- Using MicroSD 8GB for NITdroid

Will BackupMenu 0.65 be compatible with my phone, pls advice?

Thanks in advance!!!

Last edited by sudarsan; 2011-05-15 at 18:08. Reason: Correction
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#760
Originally Posted by sudarsan View Post
Hi I would like to backup my device using BackupMenu but before that I need to check few things, that will it support my device with the following

- I have multiboot installed with NITdroid
- Using MicroSD 8GB for NITdroid

Will BackupMenu 0.65 be compatible with my phone, pls advice?

Thanks in advance!!!
What you are looking for is in this thread: http://talk.maemo.org/showthread.php?p=911668
__________________
Ernesto de Bernardis

 

The Following User Says Thank You to debernardis For This Useful Post:
Reply

Tags
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system


 
Forum Jump


All times are GMT. The time now is 11:10.