From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23378 invoked from network); 11 Jan 1999 17:38:47 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 11 Jan 1999 17:38:47 -0000 Received: from ares.cs.Virginia.EDU (ftp.cs.Virginia.EDU [128.143.137.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA30918 for ; Mon, 11 Jan 1999 12:17:20 -0500 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id MAA00653 for ; Mon, 11 Jan 1999 12:17:15 -0500 (EST) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id MAA18535 for axp-list@redhat.com; Mon, 11 Jan 1999 12:17:15 -0500 (EST) Message-Id: <199901111717.MAA18535@adder.cs.Virginia.EDU> Subject: Re: Ramdisk image HOWTO ??? To: axp-list@redhat.com Date: Mon, 11 Jan 1999 12:17:14 -0500 (EST) In-Reply-To: <5518FE2C95E6D111B1A500104B72113B021FD211@alfexc8.alf.dec.com> from "Bob Segrest" at Jan 10, 99 01:12:27 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > When RedHat Linux is installed on an Alpha system you boot a kernel floppy > which then loads a ramdisk image. I would like to modify or replace the > ramdisk image so that I can use the memory resident configuration for other > purposes. Is there a HOWTO or other document somewhere that will tell me > how to do this ??? If you look into the YARD package you'll get some clues. The ramdisk is a compressed ex2 filesystem, so you need to dd it off the floppy, then gunzip it, then dd it into one of the ramdisks, then mount it. dd if=/dev/fd0 | gzcat | dd of=/dev/ram1 mkdir /mnt/ram1 mount /dev/ram1 /mnt/ram1 You'll find that on an alpha, there are just 2 files there, both huge executable programs. I did cobble together a program which knew enough to, given a machine name on the keyboard, configure the network interface and dd over a compressed system disk. Nag me and I can cough up the exact source code. -- g