hi all
I have been trying to put minirtl-3.0 on floppy. For that I have followed steps to put an OS on floppy. fine.
But the application that i want to put up on floppy along with the OS requires 7 FIFOs.
So for that matter i have tried modifying the root.rtldev.mk ( under config directory ) in root.rtl of the floppy image of OS.
But even if i don't modify anything but just put root.rtl back to floppy from my working directory,
I have followed the steps below:
image from /usr/rtlinux-3.0/minirtl-3.0/images was mounted on a directory /rtlimg
using the command
$mount -t msdos -o loop /usr/rtlinux/minirtl/images/minirtl-i586-V3.0.img /rtlimg
Now from /rtlimg I take the root.rtl and copy it to a directory /usr/minilinux/root.tar.gz
$cp /rtlimg/root.rtl /usr/minilinux/root.tar.gz
After that i untar the root.rtl in /usr/minilinux.
$tar -xvzf root.tar.gz
I get some directories created by that.
Now even if i just reverse my steps , without carrying out any modifications, that is
I just tar the contents of minilinux directory back as root.rtl and put it back to /rtlimg .
using
$cd /usr/minilinux
$tar -cvf ../root.tar .
$cd /usr
$gzip -9 root.tar
this creates root.tar.gz
$cp /usr/root.tar.gz /rtlimg
Then i take this image and put it on floppy.
using
$umount /rtlimg
$dd if=/usr/rtlinux/minirtl/images/minirtl-i586-V3.0.img of=/dev/fd0
I reboot the kernel after this from the floppy but get the following
RAMDISK: Extracting root archive
Error chown and/or chmod ./bin/ash
Error chown and/or chmod ./bin/sed
Error in making ./bin/sh
Warning:Unable to open an initial console
Kernel Panic: No init found. Try passing init=option to kernel
_____________________________________________________________________________________
Nidhi
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience