Re: own Kernel - ram disk problem

Tom Oehser <[email protected]> Tue, 4 Feb 2003 10:09:44 -0500 (EST)
Newsgroups gmane.linux.tomsrtbt
Message-ID <[email protected]>
No, you cannot rename, nor can you just copy.

You must:

	(1) Run unpack.s to unpack the whole thing to directories

	(2) Change bz2bzImage to bzImage in settings.s

	(3) Change bz2bzImage to bzImage on line 111 of buildit.s

	(4) Delete 1/bz2bzImage, replace it with your bzImage

	(5) Run 2/bin/buildit.s to rebuild a new installable tomsrtbt

	(6) Run the new install.s to install it to floppy

-Tom

On 4 Feb 2003, Mario Ohnewald wrote:

> Date: 04 Feb 2003 15:34:39 +0100
> From: Mario Ohnewald <[email protected]>
> To: [email protected]
> Subject: [tomsrtbt] own Kernel - ram disk problem
>
> Hello!
> I build myself a new kernel, and then bootet the disk, but i got a
> "Could not find a valid Ram disk image starting at 867" ...
> I read in the archive that someone just renamed its bzImage kernel to
> bz2bzImage, SO DID I!
> ok, then i deleted the old kernel, copied mine on it and changed
>
> settings.s:
> ==============
> KERNEL=bz2bzImage --> KERNEL=bzImage
>
>
>
> build.s:
> =================
> if [ $KERNEL = "bz2bzImage" ]
> then
>  dd -q --retry-partial if=$RD bs=1k count=$RZ|bzip2 -9>$ID/root.raw.xz
> else
>  dd -q --retry-partial if=$RD bs=1k count=$RZ|gzip -9>$ID/root.raw.xz
> fi
>
> -->
>
> if [ $KERNEL = "bzImage" ]
> then
>  dd -q --retry-partial if=$RD bs=1k count=$RZ|gzip -9>$ID/root.raw.xz
> fi
>
> -------
>
> image=$MP/bz2bzImage --> image=$MP/bzImage
>
>
>
> umounted tomsrtbt.raw again, wrote disk. booted, stillt the same error.
> I have minix and ramdisk support in my kernel (2.4.20).
>
> What did i do wrong?
>
> Cheers, Mario
>
>
>
>