Re: Problem with grub & new kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sasa wrote:
> "Ed Greshko" wrote:
> 
>> cp initrd-2.4.22-1.2115.nptlcustom.img
>> /tmp/initrd-2.4.22-1.2115.nptlcustom.img.gz
>>
>> cd /tmp
>> gunzip initrd-2.4.22-1.2115.nptlcustom.img.gz
>> cat initrd-2.4.22-1.2115.nptlcustom.img | cpio -it
> 
> I have an error message !! :-( ...
> 
> [root@fc1 boot]#cp initrd-2.4.22-1.2115.nptl.img
> /tmp/initrd-2.4.22-1.2115.nptl.img.gz
> [root@fc1 boot]#cd /tmp
> [root@fc1 tmp]#gunzip initrd-2.4.22-1.2115.nptl.img.gz
> [root@fc1 tmp]#cat initrd-2.4.22-1.2115.nptl.img | cpio -it
> cpio: premature end of archive
> 
> ..the same result is with 'initrd-2.4.22-1.2115.nptlcustom.img' !!, why ??

Ahh...because they changed things from the 2.4 kernel to the 2.6 kernel
and I missed that small detail.

If you do "file initrd-2.4.22-1.2115.nptl.img" you will notice it is a
ext2 filesystem data.

So, instead of using cpio you need to mount it someplace.  So, you could do:

mount initrd-2.4.21-40.ELsmp.img -o loop /mnt

Then see what you have....

You can mount the other file on another mount point and compare.

Ed


-- 
While you're chewing, think of STEVEN SPIELBERG'S bank account ...  his
will have the same effect as two "STARCH BLOCKERS"!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux