From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20970 invoked from network); 18 Jan 1999 04:33:13 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Jan 1999 04:33:13 -0000 Received: from mail13.digital.com (mail13.digital.com [192.208.46.30]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA03913 for ; Sun, 17 Jan 1999 23:08:45 -0500 Received: from mrohub2.mro.dec.com (mrohub2.mro.dec.com [16.34.192.32]) by mail13.digital.com (8.9.1a/8.9.1/WV2.0c) with ESMTP id XAA04920; Sun, 17 Jan 1999 23:08:47 -0500 (EST) Received: by mrohub2.mro.dec.com with Internet Mail Service (5.5.2232.9) id ; Sun, 17 Jan 1999 23:08:46 -0500 Message-ID: <5518FE2C95E6D111B1A500104B72113B021FDF66@alfexc8.alf.dec.com> From: Bob Segrest To: axp-list@redhat.com Cc: lindahl@cs.virginia.edu Subject: RE: Ramdisk image HOWTO ??? Date: Sun, 17 Jan 1999 23:08:44 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Hi Greg, Your notes were useful for getting the ramdisk image onto my system. I have modified the file selection and would like to create a new image disk from /mnt/ram1. Any suggestions ??? Bob Segrest -----Original Message----- From: Greg Lindahl [mailto:lindahl@cs.virginia.edu] Sent: Monday, January 11, 1999 12:17 PM To: axp-list@redhat.com Subject: Re: Ramdisk image HOWTO ??? > 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 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com