Notices


Reply
Thread Tools
Posts: 842 | Thanked: 1,196 times | Joined on May 2010
#401
Originally Posted by joelteixeira View Post
Didn't work for me.
1 - I created a backup (root and opt)
2 - Booted and uninstalled mplayer (just to check after restore)
3 - booted again in bootmenu and tryed to restore.
4 - It failed telling me the checksum was not ok (I just created the backup 6 minutes before)
You are lucky - It -did- work. If it didn't, your system wouldn't have booted.
Either way though, the V0.3x series is old and only for people who need to restore old backups. The new version is safer, and while it has it's own glitches, it works better overall.
__________________
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
 
Zas's Avatar
Posts: 196 | Thanked: 112 times | Joined on Jun 2010 @ Finland
#402
Originally Posted by RobbieThe1st View Post
Which ones, and what options?
The fsck lines will be in the shell-script file /usr/share/backupmenu/BackupMenu.item
Code:
Checking the OptFS...
Errors may have been encountered: code:8
e2fsck: Only one of the options -p/-a, -n or -y may be specified.
Press any key to continue...
BackupMenu.item line 407:
Code:
fsck -p -v $backup_optFS_part_loc -y 2> /tmp/fsckstatus
 
Posts: 842 | Thanked: 1,196 times | Joined on May 2010
#403
Huh, I'll try removing the -y option next time I edit things.
__________________
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
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#404
Originally Posted by RobbieThe1st View Post
Can I restore my BackupMenu images through the Nokia Flasher?
Not currently. This is a planned feature, but not in the current version. It -is- possible to convert a BackupMenu image to a Nokia Flasher rootfs image, but it requires a Linux PC with mtd-utils.
Once you have that, the process is as follows(Note, based on this, from Stskeeps:
Code:
#make a temp dir:
mkdir rootfs
#Extract your rootfs tarball:
tar xf *date*-rootfs.tar -C ./rootfs/
#Now, make a file called "ubinize.cfg", edit it, and paste the contents of *note 1*
#Make a ubifs image with our rootfs contents:
mkfs.ubifs -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs/ -v ./base.ubi.img
#Package it up:
ubinize -o ./rootfs.img ubinize.cfg -m 2048 -p 128KiB -s 512
#...And write it to your N900:
flasher-3.5 -r ./rootfs.img -f -R
Note 1:
Code:
[ubifs]
mode="ubi"
image="./base.ubi.img"
vol_id="0"
vol_size="200MiB"
vol_type="dynamic"
vol_name="rootfs"
vol_alignment="1"
vol_flags="autoresize"
NOTE: different versions of mtd-utils sometimes make corrupt images. I find "mtd-utils_20090606-1_amd64.deb" worked for me.
I have tested alternative compression types on my rootfs.tar.

Using no parameter in the mkfs.ubifs command, as above, gives a finale img file 192,806,912 bytes large.

Using zlib compression like that:
Code:
mkfs.ubifs -x zlib -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs/ -v ./base.ubi.img
or a mixed compression like that:
Code:
mkfs.ubifs -x favor_lzo -X 5 -m 2048 -e 129024 -c 2047 -R 4MiB -r ./rootfs/ -v ./base.ubi.img
gives a much smaller img file to flash: 168,951,808 bytes.

The difference is quite large: 23,855,104 bytes.

Maybe this is the key to the problem of disappearing space when restoring.

I am not in the mood of trying a restore - I need my N900 working... but someone more inclined to experiments could try and see if flashing images with different compression types results in different free space in the rootfs.
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-11-29 at 10:17.
 

The Following User Says Thank You to debernardis For This Useful Post:
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#405
You don't need to reflash it you can use nandsim to the same effect - even on-device if you apply a diff and compile your own kernel (it needs cache_file as otherwise all the RAM gets used up, I've asked Titan to add it to kernel-power, but no response as of yet).
 
Posts: 1,179 | Thanked: 770 times | Joined on Nov 2009
#406
I keep getting an error message when I try to back up:

Mounting the OptFS...
Backing up Optfs with Tar---
Error: retured 2.
Press any key to continue
OPtFS Backup complete
all operations completed successfully

Get the same message on the root backup.

Although it says operations completed successfully but I do not think the backup was successful because it takes no time at all and of course because of the error message as well.

Any ideas on how I fix the problem?
 
Posts: 842 | Thanked: 1,196 times | Joined on May 2010
#407
Check your *drive*/systemBackups folder - what files exist and what size?
__________________
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
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,466 times | Joined on Jan 2010 @ Australia Mate
#408
one thing ive noticed, is my MyDocs doesnt get restored properly... I think anyway... must do more tests
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#409
Originally Posted by f2thak View Post
one thing ive noticed, is my MyDocs doesnt get restored properly... I think anyway... must do more tests
MyDocs gets backed up too? That's new to me. How do you do that?
 

The Following User Says Thank You to x-lette For This Useful Post:
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#410
Originally Posted by f2thak View Post
one thing ive noticed, is my MyDocs doesnt get restored properly...
...it's also not in the backup included. Perhaps this is the reason.

It's more easier to connect your N900 via usb to your PC and backup MyDocs manually. BackupMenu with a Backup including MyDocs will be possible. But your MyDocs is 27GB large. And in this case you will only be able to backup to your SD card... and not everybody owns a empty 32GB micro SD card.

So I guess the current solution is the best one for everybody.
 
Reply

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:19.