Many txs for the advice; I used mkinitrd to make a initial ramdisk. I used the command;

/sbin/mkinitrd --fstab /boot/initrd-2.4.21.img 2.4.21 to create a file initrd-2.4.21.img

When I rebooted to test the kernel, I got the following error;

Kernel panic: no init found. Try passing init= option to kernel. This I understand is a typical newbie compile error, but was preceded a couple of statements;

RAMDISK: Compressed image found at block 0
**
**
**
mounting root filesystem
mount: missing root filesystem

The howto kernel compile discusses these errors with LILO and I am using grub, so I could not find a way to solve it.

I punched in c at the grub command line and was able to boot the kernel manually, but not with grub. My grub.conf is exactly like the suggestions in a reply to my earlier post and is copied below.

****************************************grub.conf*********************************************
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=2
splashimage=(hd0,0)/grub/splash.xpm.gz
title Pasco Linux (2.4.21)
root (hd0,0)
kernel /bzImage.pasco ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.21.img
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img

****************************************************************************************************
any suggestions for me to fix this?

Regards,

G

On Wed, 2003-07-09 at 17:39, Michael Schwendt wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 08 Jul 2003 17:35:22 +0200, [EMAIL PROTECTED] wrote:

> Do you think that you could advise?

Yes.

> 11. Reboot and check new kernel is booting 
> 
> 
> At this point the boot says booting Pasco Linux and stops with error 15:
> cannot find file.

> I have attached my grub.conf and also the contents of by /boot directory.
> 
> Any suggestions to get me up and going?

Don't change config files unless you know what you're doing. You
should have used the existing boot menu entry as a template for your
new entry:

> title Pasco Linux (2.4.21)
>       root (hd0,0)
>       kernel /boot/bzImage.pasco ro root=LABEL=/ hdc=ide-scsi
>       initrd /initrd-2.4.21.img
> title Red Hat Linux (2.4.20-8)
>       root (hd0,0)
>       kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
>       initrd /initrd-2.4.20-8.img

(hd0,0) is your /boot-partition. On that partition, the path
to your kernel image is /bzImage.pasco, NOT /boot/bzImage.pasco
Hence your entry should be:

 title Pasco Linux (2.4.21)
       root (hd0,0)
       kernel /bzImage.pasco ro root=LABEL=/ hdc=ide-scsi
       initrd /initrd-2.4.21.img

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/DDca0iMVcrivHFQRArSQAKCGIQFdiSSuJJ/v8kMETEDGVu++9gCfee4b
tOvsuF0zaDSS2SLCZic4Qok=
=jUhc
-----END PGP SIGNATURE-----


<<attachment: george_signature_20030505.gif>>

Reply via email to