2008-09-08, 11:00
I have managed to get everything onto a small (1gb) hdd partition on my laptop, and can emulate everything booting up.. Ive made a script that replaces the 'usb' script, so that it KNOWS where to mount the filesystem from.. The problem im having though, is getting the new script into the initrd.img..
I extract is with 'gzip -dc initrd0.img |cpio -id' then put my script into the extracted files..
However, when i try to regenerate the initrd, i end up with a non working file..
Ive been using.. 'find dir -print |cpio -o |gzip >initrd-temp.img' as the command for this, and the resulting file seems valid... ie, its a gzipped cpio archive.. but the kernel doesnt seem to like it..
What commands are used to generate the original initrd img for XBMC LiveUSB ?
Thanks,
Travis (wishie)
I extract is with 'gzip -dc initrd0.img |cpio -id' then put my script into the extracted files..
However, when i try to regenerate the initrd, i end up with a non working file..
Ive been using.. 'find dir -print |cpio -o |gzip >initrd-temp.img' as the command for this, and the resulting file seems valid... ie, its a gzipped cpio archive.. but the kernel doesnt seem to like it..
What commands are used to generate the original initrd img for XBMC LiveUSB ?
Thanks,
Travis (wishie)