Viewing contents of initrd

John Austin ja at jaa.org.uk
Fri Jan 13 09:56:06 UTC 2006


On Fri, 2006-01-13 at 09:30 +0100, Mogens Kjaer wrote:
> Neal Becker wrote:
> ...
> > star -t -z -v -f filename.  Don't bother gunzipping.
> > 
> 
> Doesn't work for me:
> 
> # star -t -z -v -f  initrd-2.6.14-1.1656_FC4.img
> star: XXXXX xftype == 0 (typeflag = '' 0x00)
>    0   0 U--x-----x    0/0   Jan  1 01:01 1970 .
> star: XXXXX xftype == 0 (typeflag = '' 0x00)
>    0   0 U--x-----x   2   0/0   Jan  1 01:01 1970 sysroot
> star: XXXXX xftype == 0 (typeflag = '' 0x00)
>    0   0 U-w------x   1   0/0   Jan  1 01:01 1970 init
> star: Wrong magic at: 0: '#!/bin'.
> star: 3 blocks + 0 bytes (total of 30720 bytes = 30.00k).
> # which star
> /usr/bin/star
> # rpm -qf /usr/bin/star
> star-1.5a54-2
> 
> This works:
> 
> # gzip -cd initrd-2.6.14-1.1656_FC4.img|cpio -t -v
> 
> Mogens
> -- 
> Mogens Kjaer, Carlsberg A/S, Computer Department
> Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
> Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
> Email: mk at crc.dk Homepage: http://www.crc.dk
> 
Hi
 
gunzip -c initrd_usb.gz | cpio -i

seems good to me 
See
http://www.vigla.eclipse.co.uk/

Page 12 of the 
Fedora Core Installation to an External USB Disk Drive - usb_install.pdf
link

John







More information about the fedora-list mailing list