Notices


Reply
Thread Tools
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#431
Originally Posted by RobbieThe1st View Post
I'm slightly lost here - I thought that everyone who is not able to get their code via the mtd1 method was -also- not able to login with -any- code?

Now, one thing I -did- notice was that when I was testing out that /dev/mtd1 grabber script, the -first- time I tested it with root console, I got my encrypted code. The -second- and all following times, I got a blank string back.
...
Either way, would you mind trying to grab it by installing BackupMenu and SSH server, then logging in and running "getlockcode" from the console? I'd like to see if it's an OS thing, or there -is- something different here.
No, I have always been able to get in the system and my security code has been working. It asks it every time when I boot, whether it is normal boot or after roofs+emmc flash.

Something is weird in that, because now with the same system and through Backupmenu's ssh-terminal, I can see 5 "lock_code" strings, where the last three give DES-hash on the 13th row.
I can find the correct original (12345), my previous and the current security codes with 'john'.

But I am sure, before there wasn't any DES-strings found when I did the "grep -A 13 lock_code /dev/mtd1"-thing.

It is funny, you got the same result once also.
Seems like something little chaotic in the system.
 
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#432
If I have understood correctly BackupMenu v2 use a ramdisk.
So it starts in rootFS, it creates a ramdisk and it copies some libs and other files to ramdisk, then it switches to ramdisk (and it dismounts rootFS).

Why don't materialize this ramdrive and then boot with initrd ?
  • Faster start-up
  • Possibility to use other boot system (i.e. multiboot, u-boot)
  • Possibility to run BackupMenu even with rootFS destroyed. I.e. u-boot bootloader which loads a kernel and a initrd (containing BackupMenu) from SD Card
  • Possibility to have many versions of Backup menu installed (many different initrd files)
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#433
Mainly because I don't know how to do it.
If you want to do something of the sort, all you would have to do is:
1. make an initrd with all the files listed in /usr/share/backupmenu/BackupMenuLauncher.item
2. run /usr/share/backupmenu/BackupMenu.item from inside the initrd as a shell-script with ash.

It's actually pretty easy to mess with, but I don't know an awful lot about initrd's and other boot stuff - It's GPL, though, so you can do it yourself.
__________________
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
 

The Following User Says Thank You to RobbieThe1st For This Useful Post:
Posts: 1,179 | Thanked: 770 times | Joined on Nov 2009
#434
My back up menu is definitely not working. I had a compressed backup and an uncompressed one. Tried to restore from both and neither worked. Got an unable to restore message.
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#435
One, what version are you using.
Two, exactly what error message do you get?
__________________
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
 
Posts: 165 | Thanked: 78 times | Joined on Jun 2010
#436
First i want to thank the developers of this very useful application.

I have Backup Menu 0.56 installed with multiboot and although i haven't yet tested a restore i think my backups are ok.

There are 2 issues however that i would like to know if they are already known / common or happen only in my system (sorry i didn't read all posts and search wasn't helpful):

1 - After selecting b for backup and t, for rootfs and opt, i have to press twice the M option to start the backup.

2 - sometimes, at he beginning of the rootfs backup, i get this error:

gtar /var/temp/qtsingleap-home-c6fc-752f socket ignored

It doesn't happen always and i don't know if this error is critical or not as the backup continues normally. For safety i always delete the backup with that error and do it again.

Thanks for your comments
 

The Following User Says Thank You to sacal For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#437
Of course my fingers were itching too much and I was able to hurt my optfs at the point I needed a restore.
This time I tried to make an img file out of a rootfs tar with zlib compression as detailed some posts above. But, when I flashed it, the device resulted unbootable.
Too bad.
So I restored the tar as usual and lost 14 megabytes of free root space. Not so tragic, provided that we won't have a pr1.4 most likely and so I won't be bothered not to have enough space to install the update.

Any other tried flashing a zlib compressed root img? Success?
__________________
Ernesto de Bernardis

 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#438
e, e, for extras,erase is suboptimal! you easily bounce 'e' key. Make that anything different. I'd even suggest to have only UPERCASE command keys in extras menu, so you need to hold shift to 'confirm' you meant to do that.

in backup process (and other context as well?) there's a "depress hold switch..." statement. What is hold-switch? The sliding switch on right side of device is usually referred to as the lock-switch

fsck after creating backup results in
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...

Might be worth a note that obviously during backup-menu battery charging isn't enabled

There's obviously no way to exit backup-menu and continue with normal bootup to system, just 'q' (quit) and "hold-switch" (which is lock-switch, and doesn't work when kbd-slider closed :-/). It would be *very* nice if lockswitch would work with closed kbd-slider as well, and wouldn't reboot device (i.e. do NOT go to NOLO again), but actually would boot up to normal system.


/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2010-12-12 at 04:56.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#439
I can't understand this:
the same optfs tar archive was able to be restored without any error two days ago.
Today, it gives several hundreds of "gtar: path/to/file/name: Cannot open: Stale NFS file handle" errors.
Tar exits with "Error: returned 2."

What's happening there?

EDIT: which way can I determine if the flash chip hosting /opt (and MyDocs) is becoming broken? This might be a common explanation of all my problems.

EDIT: weirdly enough, to restore my optfs, I had to:
1) restore the opt img with dd (but it wasn't good, when rebooting the optfs was mounted read only)
2) restore it again from tar.
This time no NFS stale handle errors

If I tried to restore the tar without putting there the img before, I had countless NFS stale handle errors and the optfs was damaged.

I am more and more convinced that my optfs chip is broken.
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-12-12 at 07:45.
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#440
Originally Posted by debernardis View Post
I am more and more convinced that my optfs chip is broken.
__________________
Ernesto de Bernardis
Home page - Ubuntu USB - Swappolube - Seerai
1GHz overclocked, with 2200mAh Mugen battery
Might that be related to some detail I picked up in your signature? Buzzword electromigration.
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2010-12-12 at 10:19.
 

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

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

Thread Tools

 
Forum Jump


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