Giter Site home page Giter Site logo

pingnote / fix_orphaned_inode_list Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gmenezesg/fix_orphaned_inode_list

0.0 2.0 0.0 5 KB

When using pishrink, I've encountered the error "Inodes that were part of a corrupted orphan linked list found". This script attempts to fix orphaned inode list.

Shell 100.00%

fix_orphaned_inode_list's Introduction

fix_orphaned_inode_list

First of all, big thanks to pishrink developer. This script is partly copied from pishrink original script but has no image shrinking capability. It only uses the same logic from pishrink to map variables, mount loopbacks and run fsck tool.

When using pishrink, I've encountered the error "Inodes that were part of a corrupted orphan linked list found". This script attempts to fix orphaned inode list on img files.

In my case, I've generated a .img file using Win32DiskImager. When I ran pishrink on this generated .img file, the error showed up.

This script is made available "as is". I cannot be held responsible for further issues that may come up by executing this script.

Execute at your own risk!

Usage:

wget https://raw.githubusercontent.com/gmenezesg/fix_orphaned_inode_list/master/fix_orphaned_inode_list.sh

sudo chmod +x fix_orphaned_inode_list.sh

sudo ./fix_orphaned_inode_list.sh [imagefile.img]

fix_orphaned_inode_list's People

Contributors

gmenezesg avatar

Watchers

James Cloos avatar Ping Wu (小平) avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.