Results 1 to 5 of 5

Thread: Odroid C1+ and C2 Don't Boot After Partition Resize

  1. #1
    Join Date
    2015-Aug
    Posts
    15

    Odroid C1+ and C2 Don't Boot After Partition Resize

    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.

  2. #2
    Join Date
    2015-Aug
    Posts
    15
    There are some thoughts on here.
    https://github.com/offensive-securit...ipts/issues/76
    However, still need help.

  3. #3
    Join Date
    2015-Aug
    Posts
    15
    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.

  4. #4
    Join Date
    2015-Aug
    Posts
    15
    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!

  5. #5
    Join Date
    2016-Jun
    Posts
    1
    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

Similar Threads

  1. Chromebook expand/resize/grow partition rootfs
    By Outis in forum ARM Archive
    Replies: 16
    Last Post: 2018-07-30, 21:34
  2. Resize Kali Linux Partition In VMWare
    By Prog Snob in forum General Archive
    Replies: 0
    Last Post: 2014-12-08, 22:00
  3. Resize persistence partition
    By Ritashugisha in forum General Archive
    Replies: 0
    Last Post: 2014-05-29, 03:39
  4. Gparted Can't Resize Kali Partition Running From USB
    By justin-goldberg in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2014-05-23, 20:50
  5. Partition resize on Raspberry Pi
    By Toontje in forum ARM Archive
    Replies: 1
    Last Post: 2013-07-01, 22:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •