Re: Problem with grub & new kernel

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

 



sasa wrote:
> "Ed Greshko" wrote:
>> Could you tell me the output of
>> "file initrd-2.4.22-1.2115.nptlcustom.img"?
> 
> #file initrd-2.4.22-1.2115.nptlcustom.img
> initrd-2.4.22-1.2115.nptlcustom.img: gzip compressed data, from Unix,
> max compression

You have to uncompress it before you can mount it.  Remember we went
through this steps.

1. copy it from /boot to /tmp and add the .gz extension.
2. gunzip the file.
3. After that you should see something similar to:
   [egreshko@gangster tmp]$ file initrd-2.4.21-40.ELsmp.img
   initrd-2.4.21-40.ELsmp.img: Linux rev 1.0 ext2 filesystem data
4. Then you can mount it...
   [root@gangster tmp]# mount -o loop initrd-2.4.21-40.ELsmp.img /mnt
   [root@gangster tmp]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc6             77940192  27503864  46477112  38% /
/dev/hdc1               202220     67293    124487  36% /boot
none                    367400         0    367400   0% /dev/shm
/tmp/initrd-2.4.21-40.ELsmp.img
                          7745       348      6997   5% /mnt

5. Then you can go to /mnt and see the file system....
[root@gangster tmp]# cd /mnt
[root@gangster mnt]# ls
bin  dev  etc  lib  linuxrc  loopfs  proc  sbin  sysroot

6. You should mount the non-custom initrd at some other mount point.
Maybe make a directory called /mnt1 and mount it there...and then
compare what is in the non-custom file system with your custom one.  I'm
guessing that the difference will be in the lib directory.

Ed





-- 
Federal grants are offered for... research into the recreation
potential of interplanetary space travel for the culturally disadvantaged.

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