* RE: Ramdisk image HOWTO ???
@ 1999-01-18 4:08 Bob Segrest
1999-01-18 4:14 ` Peter Petrakis
1999-01-18 5:05 ` Shing-Gene Yung
0 siblings, 2 replies; 7+ messages in thread
From: Bob Segrest @ 1999-01-18 4:08 UTC (permalink / raw)
To: axp-list; +Cc: lindahl
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Ramdisk image HOWTO ???
1999-01-18 4:08 Ramdisk image HOWTO ??? Bob Segrest
@ 1999-01-18 4:14 ` Peter Petrakis
1999-01-18 5:06 ` Michal Jaegermann
1999-01-18 5:05 ` Shing-Gene Yung
1 sibling, 1 reply; 7+ messages in thread
From: Peter Petrakis @ 1999-01-18 4:14 UTC (permalink / raw)
To: axp-list
Have you documented your work? A ramdisk howto would be a great addition
to the alphalinux FAQ's.
Peter Petrakis
Bob Segrest wrote:
>
> 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
>
> --
> 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
--
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Ramdisk image HOWTO ???
1999-01-18 4:14 ` Peter Petrakis
@ 1999-01-18 5:06 ` Michal Jaegermann
0 siblings, 0 replies; 7+ messages in thread
From: Michal Jaegermann @ 1999-01-18 5:06 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Ramdisk image HOWTO ???
1999-01-18 4:08 Ramdisk image HOWTO ??? Bob Segrest
1999-01-18 4:14 ` Peter Petrakis
@ 1999-01-18 5:05 ` Shing-Gene Yung
1 sibling, 0 replies; 7+ messages in thread
From: Shing-Gene Yung @ 1999-01-18 5:05 UTC (permalink / raw)
To: axp-list
Alternatively, you can also mount the image as a loopback fs...
--shing
On Sun, 17 Jan 1999, Bob Segrest wrote:
> 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
>
> --
> 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
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Ramdisk image HOWTO ???
@ 1999-01-18 4:49 Bob Segrest
0 siblings, 0 replies; 7+ messages in thread
From: Bob Segrest @ 1999-01-18 4:49 UTC (permalink / raw)
To: axp-list
Hi Peter,
I agree !!!
I will probably take a crack at it after I actually get it to work. At this
point all I have managed to do is unpack the RedHat ramdisk into
/dev/ram1...
Bob Segrest
-----Original Message-----
From: Peter Petrakis [mailto:peterpan@wn.net]
Sent: Sunday, January 17, 1999 11:15 PM
To: axp-list@redhat.com
Subject: Re: Ramdisk image HOWTO ???
Have you documented your work? A ramdisk howto would be a great addition
to the alphalinux FAQ's.
Peter Petrakis
Bob Segrest wrote:
>
> 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
>
> --
> 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
--
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Ramdisk image HOWTO ???
@ 1999-01-10 18:12 Bob Segrest
1999-01-11 17:17 ` Greg Lindahl
0 siblings, 1 reply; 7+ messages in thread
From: Bob Segrest @ 1999-01-10 18:12 UTC (permalink / raw)
To: axp-list
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 ???
Bob Segrest
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Ramdisk image HOWTO ???
1999-01-10 18:12 Bob Segrest
@ 1999-01-11 17:17 ` Greg Lindahl
0 siblings, 0 replies; 7+ messages in thread
From: Greg Lindahl @ 1999-01-11 17:17 UTC (permalink / raw)
To: axp-list
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1999-01-18 5:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-18 4:08 Ramdisk image HOWTO ??? Bob Segrest
1999-01-18 4:14 ` Peter Petrakis
1999-01-18 5:06 ` Michal Jaegermann
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox