(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.
(BeagleBoneBlac k)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.
(BeagleBoneBlac k)ubuntu@ localhost: /boot/uboot/ a$ sudo md5sum /writable/ cache/system/ boot/vmlinuz- 3.19.0- 18-generic a2c2e998aab1c0b cc /writable/ cache/system/ boot/vmlinuz- 3.19.0- 18-generic k)ubuntu@ localhost: /boot/uboot/ a$ sudo md5sum /writable/ cache/system/ boot/initrd. img-3.19. 0-18-generic 8813a3f718b24f7 77 /writable/ cache/system/ boot/initrd. img-3.19. 0-18-generic k)ubuntu@ localhost: /boot/uboot/ a$ sudo cp /writable/ cache/system/ boot/vmlinuz- 3.19.0- 18-generic VMLINUZ k)ubuntu@ localhost: /boot/uboot/ a$ sudo cp /writable/ cache/system/ boot/initrd. img-3.19. 0-18-generic INITRD.IMG k)ubuntu@ localhost: /boot/uboot/ a$ sync k)ubuntu@ localhost: ~$ sync k)ubuntu@ localhost: ~$ sudo reboot
baae473daca1d9f
(BeagleBoneBlac
c42761096016a6a
(BeagleBoneBlac
(BeagleBoneBlac
(BeagleBoneBlac
(BeagleBoneBlac
(BeagleBoneBlac
Then I was able to successfully boot image 3 again (partition a), which clearly shows that the kernel and initrd were indeed corrupted.