[lkml]   [1996]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.0.0/2.0.25 oopses with buslogic 956C and two 4G seagates ...

"A month of sundays ago Philip Blundell wrote:"
> On Sun, 17 Nov 1996, Peter T. Breuer wrote:
> > (if anyone already knows how to make a S/w bootdisk with a
> > decompressing ramdisk, please let me know :-).
> It's quite easy. Build your kernel with ramdisk enabled. Build your
> filesystem image (I use the loopback filesystem for this), and compress
> it.


I had already taken the buslogic boot disk, mounted it as minix on /mnt,
blammed my kernel onto it, added append="load_ramdisk=1 prompt_ramdisk=1"
to its lilo.conf (upgraded my lilo and ...) and ran lilo -r /mnt -b /dev/fd0
on it.

This works - i.e. it mounts a separate rootdisk into ram - but it doesn't
know how to decomopress the image. So I just decompressed a rootdisk and
it goes. I'd like to know the decompress trick ..

> Pick a start offset on the disk for the filesystem. This has to be large

But I want a FS on a _separate_ floppy. Do I therefore keep with offset 0?

> enough that it starts after the kernel finishes, and small enough that the
> filesystem will fit. Obviously the total size of kernel+compressed image
> has to be smaller than the size of your disk.
> Then use dd to write the filesystem onto the disk:
> # dd if=filesystem.gz of=/dev/fd0 bs=1024 seek=nnn
> where nnn is the offset you chose. When you boot your kernel, give it
> "ramdisk_start=nnn" and off you go. You can do this with LILO on the boot
> disk, or by hardwiring the value into the kernel image (with rdev).

I see. It looks to me as though what I already did should have worked
modulo some playing with offsets. It may be that the slackware
bootdisks are compressed at an offset, because my trick couldn't mount
the (compressed) bootdisks and I was using the default offset of zero.
Heck - what am I saying. They must be compressed at offset zero or I
couldn't have decomporessed them. I don't get it. Time for one more go.

> phil

Peter T. Breuer
|Departamento de Ingenieria de Sistemas Telematicos, Universidad Politecnica
|de Madrid, Escuela Tecnica Superior de Ingenieros de Telecomunicacion,
|Ciudad Universitaria, E--28040 Madrid, SPAIN.
|Tel. Office : +34 (1)336 6831
| Fax : +34 (1)543 2077 or 336 7333
|Internet : <,,>
| URL :

 \ /
  Last update: 2005-03-22 13:37    [W:0.028 / U:3.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site