🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by onno janony Thu, 30 Mar 2000 00:00
Compile IMG
#1967
Author: onno janony
Date: Thu, 30 Mar 2000 00:00
7 lines
1471 bytes
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

If you know the solution, please mail it to me @
onnoj@hotmail.com Thnk you!
Re: Compile IMG
#1971
Author: Victor Wagner
Date: Fri, 31 Mar 2000 00:00
33 lines
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!





-- 
������� �����? ����� ������.
				--- �.�. ���
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads