kernel panic while booting restored clonezilla image
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
Each time I'm trying to boot after restoring Clonezilla image I'm getting kernel panic. If I'm restoring it on the same computer image was created all is ok. But when I restore it on other machine, all the time kernel panic on first boot happens. Here is my source disk (from which Clonezilla image was created) GPT partition table:
/dev/sda1, unformatted, 2MB size, bios_grub flag
/dev/sda2, EXT4, /boot, 1GB
/dev/sda3, linux swap, 8GB
/dev/sda4, btrfs, /, /home, the rest size
I tried several versions already including stable and testing with the same result.
Please, look at kernel panic screenshot here.
Did you try Clonezilla live 20140527-utopic?
http://clonezilla.org/downloads/download.php?branch=alternative_testing_2
It comes with Linux kernel 3.15 so the results might be different.
Steven.
No, I didn't try 20140527-utopic yet. You think with this version the problem may be gone ? Thanks.
Not sure. It's only after you test that then we will know.
Steven.
Recently checked the latest utopic Clonezilla version. As a result there is no kernel panic but another issue happenned after restoring an image:
I've checked /etc/fstab and blkid. All is correct. Then I found that the problem seems in Btrfs:
And this message repeats several times.
Last edit: Eugene 2014-06-13
Yes, I believe the issue is on btrfs. Thomas Tsai told me he will update the btrfs part in Partclone. However, due to the changes are huge, so it might take time...
Steven.
Ok, we'll wait. The main thing if it'll work at last. Thanks.
Tried 20140617-utopic with the following results:
P.S. Don't know, may be it would be helpfull.
Last edit: Eugene 2014-06-20
Still grub rescue> with 20140915
How about Clonezilla live 20141030-utopic amd64 release?
Steven.
I'll be able to check it next thursday.
Thank you for not forgetting.
Hello. Recently tried 20141030-utopic and the latest vivid testing release with the same results:
error: invalid arch-independent ELF magic.
Entering rescue mode...
grub rescue>
Hello .
I can also reproduce that problem with my first btrfs test. The problem exist only in the „device-image“ mode. It's not looks like on a problem from the location of the destination. I have tested sshfs, smb (image check is very slow, but successful) and a local disk.
A normal clone („device-device“) work successful.
Tested was clonezilla-live-2.3.1-18-i686-pae and clonezilla-live-20141208-utopic-amd64 o a virtualbox system. OS was xubuntu 14.04.1. (fresh installation).
To prevent problems with grub I make also a dedicated /boot partition. A check from the btrfs volume shows unrecoverable errors on the file system.
In the case that I have not make a dedicated /boot partition grub can't boot. That should be normal in the case of a corrupted file system.
For me that ticket should not be listed as a support request – it should be listed as a bug and listed under limitations on the homepage. In my first view I thought I'm to stupid to recover grub – btrfs looks like supported – but isn’t it really working.
It will be nice that we get a command from the ticket owner (Thomas) or an other clonezilla specialist.
Regards
Sepp
PS: I don't need support - it's only for information. Eugene is not alone.
I must change my statement.
Additional info:
A RAW image work successful. After that restore a normal restore will also work. For me it looks like that the normal image backup not all needed information from the meta data and / or system data.
Yes, Thomas is working on fixing the broken btrfs support of Partclone.
However, as we described, btrfs itself is still under development, so this might happen again in the future even if partclone supports the version for the time being.
Steven.
Tested clonezilla-live-2.3.2-2-i686-pae
works perfect.
@Eugene: Will you check it, too.
Regards
Sepp
I'll try it as soon as possible - after the holidays. Next week.
@Sepp,
Thanks for your confirmation.
@Eugene,
Take your time. Thanks.
Steven.
Today I've tested 20150113-vivid and I can confirm that cloned from previously created image system is booted successfully. Thank you.
@Eugene,
Cool. Thanks for your confirmation.
Steven.