|
|
发表于 2005-5-9 15:39:37
|
显示全部楼层
initrd.img看起来象是个img文件,但其实它是个gzip过的压缩包。
下面是从 http://www.lissot.net/partition/ramdisk.html 上抄下来的:
/boot# cat initrd-2.2.16-3ext3.img | gunzip > /tmp/myimage
/boot# file /tmp/myimage
/tmp/myimage: Linux/i386 ext2 filesystem
然后,,用你写的方法加载myimage应该就好了 :cool: |
|