Go to advanced search

by Mantrid
Fri Jun 22, 2012 9:10 am
Forum: Beginners
Topic: Restoring Backup data?
Replies: 13
Views: 3104

Re: Restoring Backup data?

ha yeah I tried that as a last resort at one time but the pi wouldn't even boot for obvious reasons. when i used the dodgy image onto sdb2 it'd boot ok but when it was loading up it wouldn't be able to mount the main partition and just kernel panic, so i knew it was a bit closer to the solution but ...
by Mantrid
Fri Jun 22, 2012 8:46 am
Forum: Beginners
Topic: Restoring Backup data?
Replies: 13
Views: 3104

Re: Restoring Backup data?

sdb is the whole sd card, sdb2 was the main partition the command was something along these lines: dd bs=1m if=/dev/sdb2 conv=sync,noerror | gzip -c > (location) to restore was easy enough, just unzip and then run dd if=(location) of=/dev/sdb2 In the future though I'll know to do it to the whole SD ...
by Mantrid
Fri Jun 22, 2012 8:11 am
Forum: Beginners
Topic: Restoring Backup data?
Replies: 13
Views: 3104

Re: Restoring Backup data?

Ah yeah that's a good point, I got my wireless working before by using the rpi-date actually. Also what you listed there may explain why all my scripts and servers are running but the terminal text on the tv before i put it back to headless was miniscule again
by Mantrid
Thu Jun 21, 2012 10:57 pm
Forum: Beginners
Topic: Restoring Backup data?
Replies: 13
Views: 3104

Re: Restoring Backup data?

Hm. Tried using the alternative superblocks and got the same message. Remembered I took a backup the previous day and that's working fine when i mount it!! :D all these messages saying it was corrupt must've actually been true rather than the pc trying to guess for once..dd'd it to SD and it's booti...
by Mantrid
Thu Jun 21, 2012 9:34 pm
Forum: Beginners
Topic: Restoring Backup data?
Replies: 13
Views: 3104

Re: Restoring Backup data?

Oh and if i dd it to either sdb or sdb2 it finishes up that the sd card only has 1 partition, that ext4 (which i can't mount anyway)
by Mantrid
Thu Jun 21, 2012 6:56 pm
Forum: Beginners
Topic: Restoring Backup data?
Replies: 13
Views: 3104

Re: Restoring Backup data?

fdisk says: Disk pi_4gb_2012_06_19.img: 3355 MB, 3355451392 bytes 255 heads, 63 sectors/track, 407 cylinders, total 6553616 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000000...
by Mantrid
Thu Jun 21, 2012 2:31 pm
Forum: Beginners
Topic: Restoring Backup data?
Replies: 13
Views: 3104

Re: Restoring Backup data?

Hi, thanks for replying yes I use Gparted with the same values as when I set up the card initially (As it's a 4gb card so I'd resized the partitions to use it all and kept the steps I used in case I needed them again) so I repeated that when installing the base image again I used that mount command ...
by Mantrid
Thu Jun 21, 2012 8:51 am
Forum: Beginners
Topic: Restoring Backup data?
Replies: 13
Views: 3104

Restoring Backup data?

Hi all I've been taking backups of my pi SD using dd, though I think I've been doing it wrong in that I've been backing up the main ext4 partition (sdb2) instead of the whole sd card (sdb), is that right? anyway, I need to restore it now, thinking I can rewrite the base debian image and place the ba...

Go to advanced search