Re: [debian-knoppix] Re: request: knoppix conversion to kernel 2.6 howto
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi folks! ;-)
On Friday 03 October 2003 20:03, new.gmane.org wrote:
[...]
> driver module. Could someone point me to instructions on how to
> build a custom initrd (which I hope to perform on the working
> system, then install on the other one).
You have to follow this instructions:
1) dd if=/dev/zero of=initrd bs=<size_in_kb>k count=1
Eg (10 MB initrd): dd if=/dev/zero of=initrd bs=10000k count=1
2) Giving format:
mke2fs -v -N 7000 initrd
7000 is the number of inodes that are going to be created. You can give a
different number.
3) Changing the maximal mount count:
tune2fs -c 1000 initrd
4) That's all. The last thing is mounting this file. I suggest mounting your
old initrd and the new one, and copying from the first to the second
everything, and then, change whatever you want.
In order to mount this files:
mount -o loop -t ext2 initrd /mnt/initrd (or wherever)
Be lucky! ;-)
- --
Rafa Martín de Agar Tirado
-- a.k.a. "marti" --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/fcuiPk/vA/z1goERAnbYAJ9G53Mhq/vGjCObdpCecTpy8kI+jACggObr
xBs5tVBecMerWcWu2PEQW7c=
=qzXy
-----END PGP SIGNATURE-----
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
Reply to: