Hi,
want to manipulate the initram.igz and add a new parameter 'BOOTNIC' for booting via pxe and multiple nics. My problem is that the pxe nic is on booting linux is the second (eth1) and so udhcpc fails with no lease.
Did unpackaging of an existing initram.igz like:
mkdir temp
cd temp
cat ../initram.igz | gzip -d | cpio -id
Tried to packaging the whole directory with:
find . -depth -print | cpio -ov | gzip > ../initram2.igz
But that seems not to be the right way. Error with the ram disk and vfs root.
How do you (the developers) generate the initram.igz package?
Regards
Thomas
Howto manipulate initram.igz?
Happy that it works.
version 1.0.1-rc2 dissapeared from the website since the final 1.0.1 is available. A RC is a Release-candidate, so it's the version before the final. So here is the order of the versions:
1.0.1-betaX < 1.0.1-rcX < 1.0.1 < 1.0.2-betaX < 1.0.2-rcX < 1.0.2
Now 1.0.2-beta2 is available with the new improvements and bug fixes.
version 1.0.1-rc2 dissapeared from the website since the final 1.0.1 is available. A RC is a Release-candidate, so it's the version before the final. So here is the order of the versions:
1.0.1-betaX < 1.0.1-rcX < 1.0.1 < 1.0.2-betaX < 1.0.2-rcX < 1.0.2
Now 1.0.2-beta2 is available with the new improvements and bug fixes.
Extract:
Recreate initram.igz:
Code: Select all
mkdir tempdir
cat /path/to/initram.igz | gzip -d | cpio -id
Code: Select all
cd tempdir
find . | cpio -H newc -o | gzip -9 |> /path/to/initram.igz
-
- Posts: 32
- Joined: 13 Mar 2010, 23:33
Re: Howto manipulate initram.igz?
Since 1.5.2 igz compressed with lzma
so
Extract
Recreate initram.igz:
so
Extract
Code: Select all
mkdir tempdir
cat /path/to/initram.igz | /usr/bin/unlzma | cpio -id
Recreate initram.igz:
Code: Select all
cd tempdir
find . | cpio -H newc -o | /usr/bin/lzma -9 |> /path/to/initram.igz
-
- Posts: 34
- Joined: 17 May 2010, 18:50
Re: Howto manipulate initram.igz?
Correction:
Only the following worked for me:
extract
repack:
Only the following worked for me:
extract
Code: Select all
$ cat ../customcd/isoroot/isolinux/initram.igz | unxz | sudo cpio -id
Code: Select all
$ find . |cpio -o -H newc| lzma > /tmp/new.initram.igz