Comment 2 for bug 1474126

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

(BeagleBoneBlack)ubuntu@localhost:~$ sudo snappy rollback ubuntu-core 3
Setting ubuntu-core to version 3
Name Date Version Developer
ubuntu-core 2015-06-10 3 ubuntu!
Reboot to use the new ubuntu-core.

(BeagleBoneBlack)ubuntu@localhost:/boot/uboot/a$ sudo md5sum /writable/cache/system/boot/vmlinuz-3.19.0-18-generic
baae473daca1d9fa2c2e998aab1c0bcc /writable/cache/system/boot/vmlinuz-3.19.0-18-generic
(BeagleBoneBlack)ubuntu@localhost:/boot/uboot/a$ sudo md5sum /writable/cache/system/boot/initrd.img-3.19.0-18-generic
c42761096016a6a8813a3f718b24f777 /writable/cache/system/boot/initrd.img-3.19.0-18-generic
(BeagleBoneBlack)ubuntu@localhost:/boot/uboot/a$ sudo cp /writable/cache/system/boot/vmlinuz-3.19.0-18-generic VMLINUZ
(BeagleBoneBlack)ubuntu@localhost:/boot/uboot/a$ sudo cp /writable/cache/system/boot/initrd.img-3.19.0-18-generic INITRD.IMG
(BeagleBoneBlack)ubuntu@localhost:/boot/uboot/a$ sync
(BeagleBoneBlack)ubuntu@localhost:~$ sync
(BeagleBoneBlack)ubuntu@localhost:~$ sudo reboot

Then I was able to successfully boot image 3 again (partition a), which clearly shows that the kernel and initrd were indeed corrupted.