Skip to content

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.

Notifications You must be signed in to change notification settings

PingNote/fix_orphaned_inode_list

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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]

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%