kali-2.1.2-odroidc2.img
After I flash it, I deleted the partition and expanded it. Then it doesn't boot.
Thanks
kali-2.1.2-odroidc2.img
After I flash it, I deleted the partition and expanded it. Then it doesn't boot.
Thanks
Last edited by sslx; 2016-05-19 at 05:12.
There are some thoughts on here.
https://github.com/offensive-securit...ipts/issues/76
However, still need help.
Here's the serial output.
http://pastebin.com/raw/9LMBUBAY
I also tried backing up boot, expanding the partition, and restoring boot. C2 boots, but the partition goes back to small.
Apparently nothing has to do with resizing.
Kali boot partition gets corrupted whenever you shutdown or reboot. A workaround is to backup the non-corrupted version and restore it on boot.
https://github.com/offensive-security/k ... issues/76#
• Flash the image
• Boot
• Mount the boot partition and also make it auto mount on start up using /etc/fstab.
mount /dev/mmcblk0p1 /boot
echo '/dev/mmcblk0p1 /boot auto defaults 0 0' >> /etc/fstab
• Create backup folder and create the restore script.
mkdir /boot/backup
cp /boot/uInitrd /boot/backup/
nano /boot/backup/restore.sh
#!/bin/bash
cp /boot/backup/uInitrd /boot/
• Make the script executable and make sure it runs without error.
chmod 755 /boot/backup/restore.sh
/boot/backup/restore.sh
• Add the script to the rc.local.
nano /etc/rc.local
Add the following line Before exit 0.
/boot/backup/restore.sh
• Reboot!
Having same problem. To edit the etc/fstab are you running the commands in the terminal or using gedit. I tried running your walkthrough both ways but I must be doing something wrong.thanks