ÈÐ Wïgê† Ðð† ñåmê

ïñ£ð§ê¢, ïñ£ðrmå†ïðñ §ê¢µr, Ðïgï†ål £ðrêñ§ï¢§, hå¢kïñg, §¥§†êm åÐmïñ阮rå†ïðñ, lïñµx ßlðg

Backtrack: fixing fix-splash cpio initrd grew error

, , ,

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

[codesyntax lang=”bash”]

$ 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

[/codesyntax]

The fix is really simple…..

sudo vi `which fix-splash`

and scroll to line 16 which has:

[codesyntax lang=”bash”]

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

[/codesyntax]

and change that line to:

[codesyntax lang=”bash”]

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

[/codesyntax]

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)


Leave a Reply