Originally posted by trouby
Already managed, but I'll be glad to see how to create an initrd file without mkinitrd (although it's great, you just specify the modules you want, the kernels' version and it build everything for you)
Don't really need mkinitrd, but was thinking about it after going back - correction, coming home - again to Slackware after some frustrating yrs with RH.
So I copied mkinitrd from RH 7.2 and changed modules.conf to modprobe.conf for kernel 2.6.4/5. Next, needs to copy /sbin/nash (script interpretor to interpret linuxrc images) from RH as well.
Now mkinitrd makes trouble, since the version on Slackware (9.1) doesn't support the BSD flag -d for creating unique dirs, wierd, since man(3) mkdtemp shows the underlying code is present.
A bit busy right now, but seems I only need to work my way around the missing -d switch, either by compiling a proper (BSD style) mktemp, or changing the way unique dirs are created.
Dunno about legalities copying/modifying/distributing RH's mkinitrd + nash, else I wouldn't mind uploading it as a tgz package somewhere, like slackfiles?
I'll be back with more info 2morr hopefully. At least I'll describe exactly what needs to be done to the RH stuff, for those who can't live WO it.
Ehh, haven't had probs myself, but someone claims diskIO is faster compiling the ness stuff into the kernel then using a module... Anyone care to enlighten me?
"The early bird gets the worm. If you want
something else for breakfast, get up later."