-----Mensaje original-----
De: trevor [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 24 de abril de 2002 14:37
Para: [EMAIL PROTECTED]
Asunto: Re: AW: Kernel panic:VFS:Unable to mount root fs on 01:01


>On Tuesday 23 April 2002 22:51, [EMAIL PROTECTED] wrote:
>> The system is Redhat 7.1 with kernel 2.4.2-3.
>> And the lilo.conf is :
>>
>> boot=/dev/hda
>> map=/mnt/flash/boot/map
>> install=/mnt/flash/boot/boot.b
>> image=/mnt/flash/boot/vmlinuz-2.4.2-3
>>               ramdisk=40000
>>               label=flash
>>               root=/dev/ram
>>               initrd=/mnt/flash/boot/initrd.img.gz
>> image=/mnt/flash/boot/vmlinuz-2.4.2-3
>>               ramdisk=40000
>>               label=normal
>>               root=/dev/hdb7
>>               read-only
>
>filesystem mounting occurs a very very long time after lilo has finished its 
>job. you can't ask lilo to boot something from a filesystem that will only be 
>mounted about 4 minutes later!
>

This is true, the kernel cannot mount /dev/ram unless you have put a filesystem there 
before.
So, the initrd.img.gz should do this work.  If I remember well, when the kernel 
uncompresses the initrd, it tries to execute a file named /linuxrc.  If this program 
(or script) copies a filesystem into /dev/ram, it should work.

If you don't do something similar, you won't have a filesystem in /dev/ram to mount, 
as trevor sais.


>if this is what you're trying to do, you'll need to find a different 
>solution. i suggest reading the two *.ps documents that come with your lilo 
>software. you should find them someplace like 
>"/usr/share/doc/lilo-x.y.z/doc". reading through (and understanding) the 
>"User_Guide.ps" should offer you some clues. you might also want to look at 
>the "Technical_Guide.ps" too.
>
>best regards,
>       trevor

--
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