Heya.. After alot of running around I figured most of the things out needed to build a ramdisk (for a later distro project). I made a 16mb file (16384kb to be exact) and I put these options in isolinux.cfg:
Code:
default NORMAL
timeout 300
promt 1
display message.txt
F1 message.txt
F2 f2.txt
F3 f3.txt
label NORMAL
KERNEL kernel
APPEND initrd=initrd.gz acpi=off root=/dev/ram init=/linuxrc
label NORMAL2
KERNEL kernel2
APPEND initrd=initrd.gz ramdisk_size=16384 rw root=/dev/ram init=/linuxrc
Now here's problem nr 1. When i pop the disk in. It doesn't sit there waiting for me to input which choice I want. It boots straight away off the NORMAL selection.
But the real problem is that the system kinda hangs after the kernel finishes with a "Freeing unused kernel memory: ???k freed {depending on which kernel I compiled})
Usually it wakes up after I hit enter or (more often: CTRL + C) then busybox kicks in and things seem to be progressing although not too quickly.
I've looked over and over and I can't really find out what this is.. I use approx 49% of the kernel image I made. To make the empty image I used the instructions from here:
http://www.lissot.net/partition/ramdisk.html
under "Making a generic ramdisk image"
only change was that count was set to 16 instead of 4.
Busybox is statically compiled and I made sure to include the libs and additional programs I needed mostly by compiling the programs and throwing them in, a few things where copied off my host system (1 or 2 libs I think).
The initrd image itself:
http://spido.dk/initrd.gz
The kernels I checked with was 2.6.9 with ck-sources 1 and with ck-sources 3 (currently using this)
Oh and to finish off, if you for some reason use my image for some sort of distro or stuff.. Then mention me *and* the creator of slackware (since his scripts are in there right now, going to replace some of them).
I *really* hope some of you can help, I got homework too so it's kinda limited how much time I should use fiddling with this thing :P
-J