Feb 202012
 

If you run fix-splash on a backtrack installation and get:

$ sudo fix-splash
[*] Fixing Initrd
[*] Extracting Initrd
181100 blocks
cpio: File ./initrd grew, 46361600 new bytes not copied
181100 blocks
[*] Reboot and bask in the joys of BootSplash

The fix is really simple…..

sudo vi `which fix-splash`

and scroll to line 16 which has:

find ./ | cpio -H newc -o > initrd

and change that line to:

find ./ ! -name initrd | cpio -H newc -o > initrd

Save the file and run it again….poof….fixed.

The reason for the error was simple, we were creating a file in the directory we told the script to search….so it started at 0 bytes and increased in size during the search (find command)

This site uses Akismet to reduce spam. Learn how your comment data is processed.