WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: howto "restore" an image ?  (Read 1576 times)

Offline halma

  • Full Member
  • ***
  • Posts: 164
howto "restore" an image ?
« on: August 25, 2014, 06:12:27 AM »
hi
i will short this up:
usually restore an dd image of the whole harddrive, scp is your friend as command:
Code: [Select]
dd if=$ROOTDIR/ddimage | ssh tc@ip-adress-of-the-destination-host 'sudo dd of=/dev/sda conv=noerror,sync bs=4k && sudo sync && sudo reboot'
should usually work
if i do this command from an booted "system rescue disc" on the target host, system rescue distro runs...then dd command" after the reboot TC works  without problems.
, but if i do this on an host where TC is installed onto /dev/sda1 up and running , after the dd command success and rebooting it displays me:

...
...
Possible swap partition(s) enabled.
mkdir: can't create directory '/tce/optional' : No such file or directory
chown: /tce: No such file or directory
Done.
Setting keymap to us Down.
...
...

and then it jumps to the prompt without loading the extentions ...

thanks
best regards


thanks
best regards
« Last Edit: August 25, 2014, 01:24:14 PM by halma »
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol