Create initrd tool without being root?
I thought someone on this list recently mentioned a tool dor creating initrd without
being root. I couldn't find it i the archives. Can someone help me?
Don
Am Freitag, 28. M?rz 2003 07:43 schrieben Sie:
Quoted 3 lines
I thought someone on this list recently mentioned a tool dor creating initrd without being root. I couldn't find it i the archives. Can someone help me?
If you want to build a ext2 inside your initrd you should use genext2fs. Have a look at :
Debian:
http://distro.ibiblio.org/pub/Linux/distributions/debian/pool/main/g/genext2fs/
Denx ELDK:
ftp://ftp.leo.org/pub/eldk/eldk-ppc-linux-x86/2.0.2/RPMS/genext2fs-1.3-2.i386.rpm
Project Home (very empty):
http://sourceforge.net/projects/genext2fs/
-8<--snip-->8-
Best regards
Signature · 15 lines
Mit freundlichen Gruessen Stephan Linz ====================================================================== Stephan Linz Softwareentwicklung MAZeT GmbH Email: mailto:linz at mazet.de G?schwitzer Str. 32 Tel. : (3641) 2809-55 D-07745 Jena Fax : (3641) 2809-12 Besuchen Sie bitte unsere Web-Seiten: http://www.MAZeT.de ======================================================================
Thanks.
Quoted 22 lines · Stephan Linz
Am Freitag, 28. M?rz 2003 07:43 schrieben Sie:
Quoted 3 lines
I thought someone on this list recently mentioned a tool dor creating initrd without being root. I couldn't find it i the archives. Can someone help me?
If you want to build a ext2 inside your initrd you should use genext2fs. Have a look at :
Debian:
http://distro.ibiblio.org/pub/Linux/distributions/debian/pool/main/g/genext2fs/Denx ELDK:
ftp://ftp.leo.org/pub/eldk/eldk-ppc-linux-x86/2.0.2/RPMS/genext2fs-1.3-2.i386.rpmProject Home (very empty):
http://sourceforge.net/projects/genext2fs/-8<--snip-->8-
Best regards
Quoted 2 lines · In message <[email protected]> you wrote:
I thought someone on this list recently mentioned a tool dor creating initrd without
being root. I couldn't find it i the archives. Can someone help me?
The ELDK (in current versions) uses the genext2fs to build the SELF ramdisk images. For example, you can check out the "spec" file for the SELF RPM from our ELDK build environment und manually go through the tsteps. Or just follow the usgae message:
-> genext2fs
Usage: genext2fs [options] image
Create an ext2 filesystem image from directories/files
-x image Use this image as a starting point
-d directory Add this directory as source
-f file Add nodes (e.g. devices) from this spec file
-b blocks Size in blocks
-i inodes Number of inodes
-r reserved Number of reserved blocks
-g path Generate a block map file for this path
-e value Fill unallocated blocks with value
-z Make files with holes
-v Print resulting filesystem structure
-h Show this help
Example of spec file:
drwx /dev
crw- 10,190 /dev/lcd
brw- 1,0 /dev/ram0
Report bugs to xavier.bestel at free.fr
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "Intelligence without character is a dangerous thing." - G. Steinem
Thanks.
Quoted 39 lines · Wolfgang Denk
Quoted 2 lines · In message <[email protected]> you wrote:
I thought someone on this list recently mentioned a tool dor creating initrd without
being root. I couldn't find it i the archives. Can someone help me?The ELDK (in current versions) uses the genext2fs to build the SELF ramdisk images. For example, you can check out the "spec" file for the SELF RPM from our ELDK build environment und manually go through the tsteps. Or just follow the usgae message:
-> genext2fs
Usage: genext2fs [options] image
Create an ext2 filesystem image from directories/files-x image Use this image as a starting point
-d directory Add this directory as source
-f file Add nodes (e.g. devices) from this spec file
-b blocks Size in blocks
-i inodes Number of inodes
-r reserved Number of reserved blocks
-g path Generate a block map file for this path
-e value Fill unallocated blocks with value
-z Make files with holes
-v Print resulting filesystem structure
-h Show this helpExample of spec file:
drwx /dev
crw- 10,190/dev/lcd
brw- 1,0/dev/ram0Report bugs to xavier.bestel at free.fr
Best regards,
Wolfgang Denk