Hello all;
Thanks for the various scripts. I will use them if I have
to but the problem is that I am avoiding the use of an
initrd if I can. What I do is have isolinux boot the
kernel with the following config line
APPEND root=/dev/scd0 ro
Hmmmm..... Now that I think of it there is no problem.
Well let me go on anyway. Maybe this is what Martijn Bakker
was saying. Okay consider the case where I don't use scsi-emulation
So I use in the config file
APPEND root=/dev/hdd (say)
Isolinux passes control to the kernel which mounts the CD
It then executes init from the CD which does its thing, in
particular on my setup executes /etc/rc.d/rc.S which
near the begining has a line
mount -n -t tmpfs /dev/shm /tmpfs
which gives me a ramdisk. I set up a handful of symbolic links
i.e. tmp->/tmpfs/tmp etc.
and I'm done. gcc, xwindows and anything else runs fine.
Now of course I can't execute any of the suggested scripts in
the above setup because to find the scripts the CD has to be
mounted first and in general it could be anywhere C:, D: etc.
Now it seems to me that in the case of the scsi emulation
it will simply mount the first CD that it finds and for me
that is satisfactory since is likely to be the case 99% of
time. In the case of an IDE type CD setup, what interested me
was the fact that isolinux actually already knows the drive
number and if it could be persuaded to pass the information
to the kernel for mounting that would be a fairly simple and
useful solution.
Bruce