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"!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux