Problems after restored backup - XU4

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Problems after restored backup - XU4

Post by johnvick »

My eMMC failed so I restored from a DietPi backup to an SD card but got a failed message and couldn't boot.

I restored another self-scripted rsync backup I had on a USB drive. After editing boot.ini and fstab all seems to be working - well almost all.

I now cannot install anything from dietpi-software - I get the test internet connection message. I am connected OK and can install from apt-get.
dp2.jpg
Is it due to the DNS being wrong as in the picture? Or something else?

John
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: Problems after restored backup - XU4

Post by Fourdee »

johnvick wrote:I now cannot install anything from dietpi-software - I get the test internet connection message
Hi John,

Restore would revert the fix we applied for: https://github.com/Fourdee/DietPi/issue ... -282374707

Updating DietPi would patch this, or run:

Code: Select all

sed -i "s@debian.org/debian[[:space:]]@debian.org/debian/ @g" /etc/apt/sources.list
All our images (v145.img) have been updated with this fix also:
https://github.com/Fourdee/DietPi/issues/778
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Problems after restored backup - XU4

Post by johnvick »

Thanks Fourdee this sorted it.

Also I booted from a new 145 image and restored a 144 FS. Changing the version number to 144 forced the upgrade.

This business of /boot/boot.ini residing on the ramdisk foxed me a bit over the weekend until I worked it out and edited on a different device.

If I need to do this in future where is the best place to edit it (other than on a different device)?

And one more question if I may - the FS is now on an SSD - what are the best fstab options for such a drive?

John
Post Reply