Active Topics

 



Notices


Reply
Thread Tools
Posts: 326 | Thanked: 335 times | Joined on Feb 2010
#191
o.O ... my english isn't good enought to understand T_T
What shiuld i do?
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#192
@Robbiethe1st:
Code:
Mounting the RootFS...
Backing up Rootfs with Tar...
Size:   Time:  0

Errors:  1   Last:   /usr/share/backupmenu/BackupMenu
.item:  line 852: gtar: not found
I guess its gnu-tar. I have a package which delivers it as /usr/bin/tar/gnu
Maybe I need another one?

EDIT: nevermind. I forgot copying the gtar binary. My shame.
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-09-23 at 16:35.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#193
Originally Posted by Dany-69 View Post
o.O ... my english isn't good enought to understand T_T
What shiuld i do?
Installati il package tar-gnu e poi, come root

Code:
cd /
/usr/bin/gnu/tar xvzf /home/user/MyDocs/backupmenu-20100919.tar.gz
Questo ti scompatta il tar di Robbie a partire da /
__________________
Ernesto de Bernardis

 
Posts: 326 | Thanked: 335 times | Joined on Feb 2010
#194
Originally Posted by debernardis View Post
Installati il package tar-gnu e poi, come root

Code:
cd /
/usr/bin/gnu/tar xvzf /home/user/MyDocs/backupmenu-20100919.tar.gz
Questo ti scompatta il tar di Robbie a partire da /
Ahhhh ecco ! XD č vero bisogna porsi nella directory di destinazione
Sto bruciato perdonami xD Felice di trovare un altro italiano (almeno cosi sembra )

PS: Robbie you should add a " cd / " on your post xD

EDIT: ernesto ... the same problem ..

Nokia-N900:~# cd /
Nokia-N900:/# apt-get install tar-gnu
Reading package lists... Done
Building dependency tree
Reading state information... Done
tar-gnu is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Nokia-N900:/# /usr/bin/gnu/tar xvzf /home/user/MyDocs/backupmenu-20100919.tar.gz/usr/bin/gnu/tar: /home/user/MyDocs/backupmenu-20100919.tar.gz: funzione "open" non riuscita: No such file or directory
/usr/bin/gnu/tar: Errore irrimediabile: uscita immediata
/usr/bin/gnu/tar: Child returned status 2
/usr/bin/gnu/tar: Uscita con stato di fallimento in base agli errori precedenti
Nokia-N900:/# tar xvzf /home/user/MyDocs/backupmenu-20100919.tar.gz /
tar: /home/user/MyDocs/backupmenu-20100919.tar.gz: funzione "open" non riuscita: No such file or directory
tar: Errore irrimediabile: uscita immediata
tar: Child returned status 2
tar: /: non trovato nell'archivio
tar: Uscita con stato di fallimento in base agli errori precedenti
Nokia-N900:/#

EDIT2: the name of the file is wrong .. Robbie you have written backupmenu-20100919.tar.gz ... but the files downloaded has the name : backupmenu-20100923.tar.gz

Last edited by Dany-69; 2010-09-23 at 16:51.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#195
@Dany: Robbie made a mistake. The file name is not that of 19th... See the name of the file you downloaded... it's backupmenu-20100923.tar.gz ! So correct it in the corresponding xterm command. I used the tab completion so it was correct.

Robbie ha sbagliato. Il nome del file non č quello del 19 settembre... controlla il nome del file che hai scaricato. E' backupmenu-20100923.tar.gz! Correggi il comando e funzionerą... Io avevo usato il tab per completare il comando e quindi l'aveva fatto automaticamente.
__________________
Ernesto de Bernardis

 

The Following User Says Thank You to debernardis For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#196
@RobbieThe1st:

When tarring the rootfs I get some errors like the following:
Code:
Errors: 6  Last:  gtar: ./usr/share/locale/tr/LC_M
ESSAGES/opcodes.mo:  File shrank by 7902 bytes; pad
ding with zeros
What's all about? I'm scared to try to restore the rootfs now
(I made a full backup with the previous version before, but I'd prefer to avoid complications...)

EDIT: OK I have learned that it means that the filesystem was (at least partially) corrupted. I have simply done an apt-get install --reinstall for the packages involved (in my case it was only binutils) and now tar gives no errors. Fine. But...

I have a request.

I think you should modify your (extremely useful) program so that when making a backup of the rootfs, you're able to make either a tar (present version) or an img file (previous version). Or both at the same time.

The reason is that if your rootfs is seriously borked, and you aren't able to boot (e.g. you're in a reboot loop or your device seems bricked) the img file can be quickly reflashed through an external computer - and you can't do that as easily with the tar file. On the contrary, if your rootfs is only mildly corrupted and you can still boot and run backupmenu, you're much more quickly done by untarring the tar file.
__________________
Ernesto de Bernardis


Last edited by debernardis; 2010-09-23 at 17:36.
 
Posts: 326 | Thanked: 335 times | Joined on Feb 2010
#197
ahahahah ernesto l'ho capito solo dopo anche io xD

By the way .. just made a full backup with the new script... now the restoring ... Pray for me ... i don't want to reinstall everything T_T
 
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#198
or if You run the command like this instead:
Code:
tar xvzf /home/user/MyDocs/backupmenu-20100919.tar.gz -C /
-C / means change to / before extracting...
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...
 

The Following User Says Thank You to DrWilken For This Useful Post:
Posts: 326 | Thanked: 335 times | Joined on Feb 2010
#199
Good... i've bricked T_T
Robbie the phone doesn't boot... no error restoring the images... But after exiting from backupmenu only the white led.. and then shut down...

By the way ... backupmenu still starts booting with the keyboard opened.
But maemo has dead ...
 

The Following User Says Thank You to Dany-69 For This Useful Post:
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#200
First off:
Everyone calm down. I made a couple mistakes in my instructions(in addition to just copy-pasting it from my previous post; hence the wrong date) - It was 4AM!


Second, I suggest no one else restore until I figure out what went wrong with Dany's restore.

Originally Posted by debernardis View Post
I think you should modify your (extremely useful) program so that when making a backup of the rootfs, you're able to make either a tar (present version) or an img file (previous version). Or both at the same time.
No need to shout!
I actually talked about that in my previous post; I guess I might as well.


Originally Posted by Dany-69 View Post
Good... i've bricked T_T
Robbie the phone doesn't boot... no error restoring the images... But after exiting from backupmenu only the white led.. and then shut down...

By the way ... backupmenu still starts booting with the keyboard opened.
But maemo has dead ...
First, can you open up your rootfs backup file and copy out the "tarstatus" file for me? If its not empty, post the contents here.

This is incredibly troubling. Here's why:
When you do a restore, I have it rm -rf the entire rootfs first.
If BackupMenu still starts, that means that (most) of the files -were- restored, and its able to boot off the RootFS.
If maemo -won't- boot though, the question is why not?

I'm going to go check on my own; keep your fingers crossed.
 

The Following 2 Users Say Thank You to RobbieThe1st For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 06:04.