incognitus0
November 12th, 2010, 03:18 PM
I installed Xubuntu 10.10 on a 16 GB pendrive with full disk encryption using the alternate installer. The installation process was quite time consuming so I made a backup booting from the standard live CD with something along these lines
dd if=/dev/sdb conv=noerror,sync | pv | gzip -c -9 > foobar.img.gz
The pendrive booted fine for a couple of days and BTW it was quite good performance-wise, but I decided to scrape it off and start from the backup, so I run
gunzip -c foobar.img.gz | pv | dd of=/dev/sdb conv=sync,noerror
Now upon boot I am getting
error: hd0,msdos1 write error.
After a while the login screen appears:
Unlocking the disk /dev/disk/by-uuid/58a8... (sdb5_crypt) Enter passphrase:
So I enter it, get the OK message
cryptsetup: sdb5_crypt set up successfully
only to get the following prompt
No init found. Try passing init= bootarg.
BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of buil-in commands.
(initramfs)
How to fix it? Is it possible to do backups of encrypted systems this way or do I have to use different tools for backup operating on the filesystem level for example?
dd if=/dev/sdb conv=noerror,sync | pv | gzip -c -9 > foobar.img.gz
The pendrive booted fine for a couple of days and BTW it was quite good performance-wise, but I decided to scrape it off and start from the backup, so I run
gunzip -c foobar.img.gz | pv | dd of=/dev/sdb conv=sync,noerror
Now upon boot I am getting
error: hd0,msdos1 write error.
After a while the login screen appears:
Unlocking the disk /dev/disk/by-uuid/58a8... (sdb5_crypt) Enter passphrase:
So I enter it, get the OK message
cryptsetup: sdb5_crypt set up successfully
only to get the following prompt
No init found. Try passing init= bootarg.
BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of buil-in commands.
(initramfs)
How to fix it? Is it possible to do backups of encrypted systems this way or do I have to use different tools for backup operating on the filesystem level for example?