Problem: How to restore IMG backup file
|
20th Jan, 2014, 07:05 PM
Post: #1
|
|||
|
|||
How to restore IMG backup file
Software
XBian version: Beta 2 XBMC version: Latest Overclock settings: Turbo Hardware Power supply rating: 1mA RPi model (model A/B 256mb/512mb): 512mb SD card size and make/type: 4gb ICIDU Network (wireless or LAN): LAN Connected devices (TV, USB, network storage, etc.): TV, USB Logile Link to logfile(s): Problem description: After updating XBian, it somehow got stuck at the boot screen for no apparent reason after rebooting. Having made a complete backup (in the XBian Config screen in XBMC) I thought it would be really easy to put that back to the SD Card, but when I copied it back with the help of Win32DiskImager it only showed a blinking dash on the screen when starting up. Did I do something wrong? And is there a way to open the IMG file myself and copy all necessary file to a freshly installed XBian? How to reproduce: |
|||
20th Jan, 2014, 10:33 PM
Post: #2
|
|||
|
|||
RE: How to restore IMG backup file
Hmm for now I solved it by mounting the img file and copying all the necessary files.
Is used the following info to mount the image file: http://askubuntu.com/a/236284 |
|||
21st Jan, 2014, 04:57 AM
Post: #3
|
|||
|
|||
RE: How to restore IMG backup file
It sounds like the image has a corrupt config.txt or cmdline.txt.
Do they look right? If unsure post both the files and we'll have a look. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
25th Jan, 2014, 05:56 PM
Post: #4
|
|||
|
|||
RE: How to restore IMG backup file
(20th Jan, 2014 10:33 PM)Carpenter Wrote: Hmm for now I solved it by mounting the img file and copying all the necessary files. @Carpenter, are you on stable ? this is shortly discussed in ?Beta2? thread I have the feeling. The whole problem is only the clock (turbo) and is caused by some not good patches to firmware and kernel on upstream repositories. but the reason is known and fix is already at devel repo. soon to be released if anyone currently testing it doesn't say otherwise. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
28th Jan, 2014, 01:26 AM
Post: #5
|
|||
|
|||
RE: How to restore IMG backup file
(25th Jan, 2014 05:56 PM)mk01 Wrote:Yes I am on Stable. Tried it again today and now I have a non-starting RPi again Where can I find correct config.txt and cmdline.txt files?(20th Jan, 2014 10:33 PM)Carpenter Wrote: Hmm for now I solved it by mounting the img file and copying all the necessary files. |
|||
28th Jan, 2014, 05:06 AM
Post: #6
|
|||
|
|||
RE: How to restore IMG backup file
Can you post both files
Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
28th Jan, 2014, 05:52 PM
Post: #7
|
|||
|
|||
RE: How to restore IMG backup file
(28th Jan, 2014 05:06 AM)IriDium Wrote: Can you post both filesIt has to do with overclocking indeed. I have a standard config.txt with no overclocking enabled. When I overclock my RPi in the config via SSH then it won't start anymore. But when I copy back the standard config.txt it works again. So, I will wait for the new firmware then |
|||
29th Jan, 2014, 06:40 AM
Post: #8
|
|||
|
|||
RE: How to restore IMG backup file
Looking at your setup you only have a 1amp PSU on Xbian OC 840mhz, the RPi can draw 800ma.
Maybe the Turbo setting is drawing tooooo much. Just a thought. If possible can you try a higher PSU - say 2amp - and see if you get the same problem. If that works, then that is the issue. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
29th Jan, 2014, 04:58 PM
Post: #9
|
|||
|
|||
RE: How to restore IMG backup file
I don't think so, had it always running on Turbo overclock with no issues. Only now for a few weeks this is causing issues...
|
|||
11th Apr, 2014, 05:03 PM
Post: #10
|
|||
|
|||
RE: How to restore IMG backup file
You see, I used Image Backup to back up my files. Now, after I refreshed and stuff my PC, I dunno how to recover the files!
|
|||
19th Apr, 2014, 12:21 AM
Post: #11
|
|||
|
|||
RE: How to restore IMG backup file
@salar521
image backup is supposed to be directly "flashed" into SD card back. but if you manually installed new XBian etc, you can "open" the .img file as block device (like USB disk). Code: sudo -i kpartx command will create two new "partitions" - /dev/mapper/loop0p1 and /dev/mapper/loop0p2 - which you can mount manually or just with "usbmount" command (and content should appear under /media) Code: sudo usbmount /dev/mapper/loop0p2 Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
21st May, 2014, 03:49 AM
Post: #12
|
|||
|
|||
RE: How to restore IMG backup file
Tricky question: as the SD can corrupted i moved (copied) the XBIAN to an external USB partiotion (sda1) right after installation, using the built in xbian-config/"xbian copier".
After finished configuring and installing my XBIAn i've made an IMG with the same "xbian copier". How can I restore the IMG to sda1? dd? [edit]: Also: how can a simple power outage corrupt my external usb HDD so much that XBIAN can only boot up to "the blinking cursor"? Happened to me 2x so far. Really annoying to reinstall the whole system after every power outage. |
|||
22nd Jun, 2014, 08:25 AM
Post: #13
|
|||
|
|||
RE: How to restore IMG backup file
@QuadCorei8085
my posts discussing shortly your like-your case should be few messages above. blinking cursor is not XBian filesystem corruption (rootfs). Blinking cursor means Fw or Kernel failed to load what is a way before XBian starts. What helps mostly is just take card out and do checkdisk on 1st partition. if this is happening so ofter for you, remove automount of /boot from /etc/fstab. When the FAT is not mounted, can't be damaged. Of course even rootfs can get corrupted, but for past year we had maybe 5-10 such reports. There are even people powering RPI with XBian from TV's usb port - just turning TV off/on without issues. Google will list such reports even on internet. . Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] System Backup - Restore Fails | husntvar | 3 | 10,093 |
16th Sep, 2017 04:11 AM Last Post: Nachteule |
|
[solved] xbian-config: backup to file runs two times | Groormat | 4 | 14,491 |
5th May, 2014 08:03 PM Last Post: Groormat |
|
Cant copy Backup file to XBMC-Backup | YippeeKaiay | 4 | 13,063 |
16th Jan, 2014 06:01 AM Last Post: mk01 |