From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Ramdisk image HOWTO ???
Date: Sun, 17 Jan 1999 22:06:10 -0700 (MST) [thread overview]
Message-ID: <199901180506.WAA16762@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <36A2B543.2A3DEB07@wn.net> from "Peter Petrakis" at Jan 17, 99 11:14:59 pm
Peter Petrakis wrote:
>
> Have you documented your work? A ramdisk howto would be a great addition
> to the alphalinux FAQ's.
Have you ever looked at /usr/src/linux/Documentation/ramdisk.txt?
It is a pretty detailed "HOWTO" with examples. There is nothing
processor specific in it.
Actually mounting ram disk images with '-o loop' option is often
more convenient.
> Bob Segrest wrote:
> >
> > I have
> > modified the file selection and would like to create a new image disk from
> > /mnt/ram1. Any suggestions ???
$ dd if=/dev/zero of=new_image count=<ram_disk_size> bs=1k
$ mke2fs -m 0 new_image
Mount 'new_image' with '-o loop' on any convenient directory
or on one of /dev/ram? and blast away. You may start from deleting
'lost+found' there as it will be definitely not needed.
Remember that using ram disk of a size different that a default
4096k requires either booting with a kernel parameter specifying
your new size or booting with a modified kernel with a default changed.
--mj
next prev parent reply other threads:[~1999-01-18 5:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-18 4:08 Ramdisk image HOWTO ??? Bob Segrest
1999-01-18 4:14 ` Peter Petrakis
1999-01-18 5:06 ` Michal Jaegermann [this message]
1999-01-18 5:05 ` Shing-Gene Yung
-- strict thread matches above, loose matches on Subject: below --
1999-01-18 4:49 Bob Segrest
1999-01-10 18:12 Bob Segrest
1999-01-11 17:17 ` Greg Lindahl
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