HowTo restore full system after voltage drop
August 29, 2012 05:37AM
I had a fully functional USB stick made with jeff's script.
I also configured a full incremental rsync backup following these instructions.
Some days ago there was a voltage drop in my area and the USB stick ext2 partition currupted.
Now I formatted it in ext4 end recover full system backup with these instructions but my dockstar still doesn't boot it.
I know I should let recocgnize it from uBoot someway but I don't know how...
can you please help me?
Re: HowTo restore full system after voltage drop
August 29, 2012 03:26PM
@beeryourself,

Make a clone of your stick and change it back to Ext2 file system. Try booting with it first to make sure everything works.

With Jeff's script, UBoot env for the rootfs type is set to Ext2. Afer you booted successfully into Debian, you can see that with fw_printenv. You can change the UBoot rootfs type to Ext3 and change your USB stick file system to Ext3. But I would make sure to set up netconsole or rescue system first before changing any of UBoot envs.

Ext3 boot drive will recover from power outage with no problem.
Re: HowTo restore full system after voltage drop
August 30, 2012 03:05AM
thankyou for answering!
i know that ext3 boot drive will recover from power outage with no problem and I am trying to figure out what's the best between this and lack of journaling with ext2 for a more durable usb drive.

by the way I already tried to format the stick in ext2 and recover the same backup but it still doesn't boot and I don't understand why considering that's a 1:1 copy of the old working stick.

is there another way to recover an incremental backup making a bitwise copy?



Edited 2 time(s). Last edit at 08/30/2012 03:07AM by beeryourself.
Re: HowTo restore full system after voltage drop
August 30, 2012 03:16PM
beeryourself Wrote:
-------------------------------------------------------
> thankyou for answering!
> i know that ext3 boot drive will recover from
> power outage with no problem and I am trying to
> figure out what's the best between this and lack
> of journaling with ext2 for a more durable usb
> drive.
>
> by the way I already tried to format the stick in
> ext2 and recover the same backup but it still
> doesn't boot and I don't understand why
> considering that's a 1:1 copy of the old working
> stick.

Were you root user (or sudo root) while restoring the backup?
Re: HowTo restore full system after voltage drop
August 31, 2012 03:04AM
of course I do it with sudo, if I don't it doesn't copy anything...
after the copy I can see every single file copied 1:1 but it doesn't boot.
I was thinking to try making a new bootable stick directly by jeff's script and then overwrite all folders but boot.
do you think that's worth a try?



Edited 1 time(s). Last edit at 09/02/2012 03:08AM by beeryourself.
Re: HowTo restore full system after voltage drop
September 02, 2012 03:08AM
so... anyone?
Re: HowTo restore full system after voltage drop
September 02, 2012 03:58AM
Definitely, yes. I think it's worth trying that. But I would also set up netconsole right after installing the new stick. That way you will have more info to troubleshoot (i.e. At least that will tell you there is something wrong with the rootfs, not the boot image if it's done booting UBoot).
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: