Hi!
I had the same problem. The information about initrd is not so good, is it?
I think that you are booting from a scsi hard disk. If this is the case you
have to boot it two
steps. In the first one you just load the scsi module, this is done by the
initrd image.
Ill tell you how i work this out:
1) make a copy of your initrd file somewhere, for example in your home
directory
# cp /boot/initrd-2.0.36-0.7.img /root/initrd.gz
2) uncompress this file
# gzip -d /root/initrd.gz
3) then initrd is a file system that you can mount somewhere.
# mkdir /mnt/aux
# mount -o loop /root/initrd /mnt/aux
(I'm not quite sure about the options for the mount command, try a just
"mount /root/initrd /mnt/aux" and the error message tell you the right
options that you should specify)
4) look inside /mnt/aux. You would able to find the solution yourself.
Look inside the fille
linuxrc. My linuxrc file contains just one line:
" insmod /lib/aic7xxx.o "
maybe your file will be like this: aic7xxx.o is your scsi device
driver.
5) replace this driver with the module generated with the rtl linux
patch
# cp /lib/modules/2.0.36.RTL1.1/scsi/aic7xxx.o /mnt/aux/lib/
6) Almost done. Umount the file system and re-compress it
# umount /root/initrd
# gzip /root/initrd
7) move the compressed file to your boot directory:
# cp /root/initrd.gz /boot/initrd-2.0.36.RTLinux.img
8) update your lilo file adding an initrd line for the new file:
>--------separator--------------------------------------
>boot=/dev/sda2
>map=/boot/map
>install=/boot/boot.b
>prompt
>timeout=50
>image=/boot/vmlinuz-2.0.36-0.7
> label=linux
> root=/dev/sda2
> initrd=/boot/initrd-2.0.36-0.7.img
> read-only
>image=/boot/zImage
> label=RT-Linux
> root=/dev/sda2
> initrd=/boot/initrd-2.0.36.RTLinux.img <<<<<< New line!!!!
> read-only
>-------------------------------------------------
9) Update your boot configuration with the lilo comand
# lilo
And thats all!!! Just one thing more. Check that you have build the
kernel with support
for ramdisk y initrd file, otherwise you wont be able to boot.
I hope this will work.(it worked for me) but if this is not true let me
know maybe I've forgotten something.
Joaquin Morcate
[EMAIL PROTECTED]
-----Original Message-----
From: Surya P Kommareddy <[EMAIL PROTECTED]>
To: RT-Linux <[EMAIL PROTECTED]>
Date: Tuesday, April 27, 1999 2:07 AM
Subject: [rtl] rt-linux boting problem
> I have recently compiled an rt-linux kernel and confgured my
NT-bootloader
>to load both my old-linux and the new rt-linux kernels. I could
successfully
>load both NT and old-linux, but when I load rt-linux the loading starts and
>stops at a point saying that it's unable to mount root filesystem. i have
>written the message below for you ....
>
>....
>...
>partition check:
>VFS: Cannot open root device 08:02
>Kernel panic: VFS: Unable to mount root fs on 08:02
><STOPS HERE>
>
> I followed the procedure listed for compiling and making modules etc. I
then
>moved the zImage file to /boot directory, then modified my lilo.conf file
to
>include the new kernel's zImage file. My new lilo.conf looks like....
>--------separator--------------------------------------
>boot=/dev/sda2
>map=/boot/map
>install=/boot/boot.b
>prompt
>timeout=50
>image=/boot/vmlinuz-2.0.36-0.7
> label=linux
> root=/dev/sda2
> initrd=/boot/initrd-2.0.36-0.7.img
> read-only
>image=/boot/zImage
> label=RT-Linux
> root=/dev/sda2
> read-only
>-------------------------------------------------
>
> Can somebody please tell me what to do. Since its initializing and
stopping
>while loading there's no problem with the lilo.conf and since NT loader
could
>load linux there's no problem with bootsect.lnx file which I copied to c:/
>directory after I executed 'lilo -b /dev/sda2', since my boot record is on
the
>linux root partition.
>
> Thanks in anticipation.
>
>Surya.
>
>
>--- [rtl] ---
>To unsubscribe:
>echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
>echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
>----
>For more information on Real-Time Linux see:
>http://www.rtlinux.org/~rtlinux/
>
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/