From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11059 invoked from network); 18 Jan 1999 05:30:40 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Jan 1999 05:30:40 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id AAA06102 for ; Mon, 18 Jan 1999 00:06:11 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id WAA16762 for axp-list@redhat.com; Sun, 17 Jan 1999 22:06:10 -0700 From: Michal Jaegermann Message-Id: <199901180506.WAA16762@ellpspace.math.ualberta.ca> Subject: Re: Ramdisk image HOWTO ??? To: axp-list@redhat.com Date: Sun, 17 Jan 1999 22:06:10 -0700 (MST) In-Reply-To: <36A2B543.2A3DEB07@wn.net> from "Peter Petrakis" at Jan 17, 99 11:14:59 pm Content-Type: text 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= 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