Thank you for comments.
Now I knew why I had the kernel panic error messages which I posted.
As I said I use Redhat kernel 7.1 with Celeron 1.2 GHz, 64 MB and follow Paul
Moody's miniHowto.

The system loads a linuxrc file which is in initrd.img.gz . <= in lilo.conf,
root=/dev/ram and initrd=/mnt/.....
The shell, "nash" which is comes from RedHat, is for loading linuxrc which is
said by RedHat (i.e. man nash).
And it is said for the nash to have a "mount" built-in command.
All right so far, nash tries to load the linuxrc script.
However,  the "mount" built-in command does not mount the given device.
Of course, I compiled the zcat with static flag.
Thus, ramdisk file could not be copied and uncompressed into the ramdisk,
/dev/ram.
That's why I had the kernel panic on /dev/ram.

So,
I tried to use sash shell with mount from busybox but sash seems not to load
linuxrc file.

Are there any other way to load linuxrc file?
How about bug-fixed nash?
I can not get the source of the "nash.c".
I need Paul Moody's way because I need to copy other files into the ramdisk just
after bootting up.

Here my linuxrc file.
#!/bin/nash --force
mount /dev/hda1 /mnt
zcat /mnt/boot/ram.img.gz > /dev/ram
umount /dev/hda1

Regards,
Bokyun Na.




--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to