Filesystem corruption (and how to recover)

Comments

  • Hello! I just got this and cannot update,

    root@kiwisdr:~# cdp
    root@kiwisdr:~/Beagle_SDR_GPS# up
    make: *** No rule to make target 'stop'. Stop.
    Removing Makefile.1
    error: object file .git/objects/ee/61250cd0a2e7b8aa6d59394d737705c79fec33 is empty
    error: object file .git/objects/ee/61250cd0a2e7b8aa6d59394d737705c79fec33 is empty
    fatal: loose object ee61250cd0a2e7b8aa6d59394d737705c79fec33 (stored in .git/objects/ee/61250cd0a2e7b8aa6d59394d737705c79fec33) is corrupt
    error: object file .git/objects/c9/1804dbd09efaef3048c7b4ec1049069393fd9f is empty
    error: object file .git/objects/c9/1804dbd09efaef3048c7b4ec1049069393fd9f is empty
    fatal: loose object c91804dbd09efaef3048c7b4ec1049069393fd9f (stored in .git/objects/c9/1804dbd09efaef3048c7b4ec1049069393fd9f) is corrupt
    fatal: The remote end hung up unexpectedly
    make: *** No rule to make target 'clean'. Stop.
    make: *** No targets. Stop.
    make: *** No rule to make target 'install'. Stop.
    make: *** No rule to make target 'start'. Stop.
    root@kiwisdr:~/Beagle_SDR_GPS#
  • jksjks
    edited May 2020
    Please start a new discussion when you have a new problem and not append to an unrelated topic.

    Your filesystem has become corrupted. You can recover by using these shell commands when logged in as root to your Kiwi's Beagle:
    cdp
    mst
    cd
    mv Beagle_SDR_GPS B.BAD
    gclone Beagle_SDR_GPS
    cdp
    m
    mi
    ku
    
    Your configuration customization should be okay because it is stored in the separate directory /root/kiwi.config (well, let's hope it's okay).
Sign In or Register to comment.