Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: Ramdisk image HOWTO ???
Date: Mon, 11 Jan 1999 12:17:14 -0500 (EST)	[thread overview]
Message-ID: <199901111717.MAA18535@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <5518FE2C95E6D111B1A500104B72113B021FD211@alfexc8.alf.dec.com> from "Bob Segrest" at Jan 10, 99 01:12:27 pm

> 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


  reply	other threads:[~1999-01-11 17:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-10 18:12 Ramdisk image HOWTO ??? Bob Segrest
1999-01-11 17:17 ` Greg Lindahl [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-01-18  4:08 Bob Segrest
1999-01-18  4:14 ` Peter Petrakis
1999-01-18  5:06   ` Michal Jaegermann
1999-01-18  5:05 ` Shing-Gene Yung
1999-01-18  4:49 Bob Segrest
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox