|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] initrd - how to view the contend?
The initrd is just a gzipped filesystem.
First, copy (not move!) the file to somewhere else and save it with a .gz extension so gzip will unzip it.
Second, run the `file' program on the extracted ramdisk, you might see one of these:
"initrd: ASCII cpio archive (SVR4 with no CRC)" "initrd: Linux rev 1.0 ext2 filesystem data"
If you have the ext2 one, you should be able to mount the file via loopback to a mount point and do anything you want. As far as cpio, I'm not too adept at working with cpio files but it shouldn't be too hard to work with it. If you have some other type, you'll just need to figure out how to mount the file to read it.
Good luck, Nathan
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|