Article View: ahn.tech.linux
Article #1971Re: Compile IMG
From: Victor Wagner
Date: Fri, 31 Mar 2000 00:00
Date: Fri, 31 Mar 2000 00:00
33 lines
2140 bytes
2140 bytes
In comp.os.linux.misc onno janony <onnoj@hotmail.com> wrote: : How do I compile IMG??? (Like the bootimg's on the RedHat CD (initrd.img) : I want to compile a boot floppy into an IMG so I can use a dos menu to run : loadlin vmlinuz initrd=loadme.img Img is not to be compilied - it is real image of file system to be loaded at startup. You should create a file system (for instance, on floppy), populate it with neccessary files (i.e. kernel modules) and then use dd to copy it to file. Alternatively, you may create empty file using dd if=/dev/zero of=myimg.img count=2880 bs=512 (to be same as 1.44 flopy) then run mkfs on it (minix filesystem is preferrable becouse it have less overhead than ext2), then mount it with -o loop option and populate with files. You'll need loopback device support in you kernel. Refer to /usr/src/linux/Documentation/initrd.txt for more inforamtion. : If you know the solution, please mail it to me @ : onnoj@hotmail.com Thnk you! -- ������� �����? ����� ������. --- �.�. ���
Technical Details
Message-ID:
<8c2qh8$ch7$1@wagner.wagner.home>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<GgHE4.7483$FF6.151209@zonnet-reader-1>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f5392,64db2a0092f13d42 X-Google-Attributes: gidf5392,public X-Google-Thread: 10c696,64db2a0092f13d42 X-Google-Attributes: gid10c696,public X-Google-Thread: 112ebc,64db2a0092f13d42 X-Google-Attributes: gid112ebc,public X-Google-Thread: 11033e,64db2a0092f13d42 X-Google-Attributes: gid11033e,public X-Google-Thread: fc4a0,64db2a0092f13d42 X-Google-Attributes: gidfc4a0,public X-Google-Thread: 1103af,64db2a0092f13d42 X-Google-Attributes: gid1103af,public From: vitus@wagner.rinet.ru (Victor Wagner) Subject: Re: Compile IMG Date: 2000/03/31 Message-ID: <8c2qh8$ch7$1@wagner.wagner.home> X-Deja-AN: 605025701 Content-Transfer-Encoding: 8bit References: <GgHE4.7483$FF6.151209@zonnet-reader-1> Organization: Where is your mouse [/dev/Wagner's home Content-Type: text/plain; charset=koi8-r Mime-Version: 1.0 Newsgroups: ahn.tech.linux,alt.os.linux.dial-up,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.misc,cz.comp.linux