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


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

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

  Powered by Linux