Re: add new module in initrd

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



In article <20070813042010.GA3338@xxxxxxxxxxxxxxxxxxxxx>,
beast <beast@xxxxxxxxxx> wrote:
> On 10/08/07 10:26 +0000, Tony Mountifield wrote:
> >In article <20070810071942.GA3164@xxxxxxxxxxxxxxxxxxxxx>,
> >beast <beast@xxxxxxxxxx> wrote:
> >> Hi,
> >> 
> >> I would like to do a network install using PIXES boot, however the ethernet
> >> device was not supported by centos installation (RTL8110SC). How do i add
> >> this module into the initrd?
> >> I know i can use: mkinitrd --with=r8169 `uname -r`, but i did not know what
> >> is the standard modules included in the installation initrd of Centos.
> >
> >The initrd file is just a gzipped ext2 filesystem image, so you need to
> >uncompress it into a temporary file and then mount that file using loopback:
> >
> >zcat /boot/initrd-`uname -r`.img >/tmp/fs
> >mkdir /mnt/initrd
> >mount -r -t ext2 -o loop /tmp/fs /mnt/initrd
> >
> >Then you can look under /mnt/initrd to see the contents of the initial ramdisk.
> 
> Its not an image anymore :
> fs: ASCII cpio archive (SVR4 with no CRC)

Ah, I didn't realise it had changed. I must admin the box I tried it on
was my old FC1 system with a 2.4 kernel. Should have checked on a more
recent system!

Thanks for the correction, and glad the hint helped anyway.

Cheers
Tony
-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux