Insert Disk 1, we’ll need initrd from there if you use any filesystem other than ext2…so if you use ext2, you’re done. Otherwise, keep going:

mount -t auto /dev/hdb /mnt/cdrom

or

mount -t auto /dev/cdrom /mnt/cdrom

Now that the 1st disc is in and mounted, let’s get mkinitrd installed so we can use it:

installpkg /mnt/cdrom/slackware/a/mkinitrd-1.0.1-i486-3.tgz

Now let’s make it for our filesystem…see[url=ftp://ftp.slackware.com/pub/slackware/slackware-10.2/testing/packages/linux-2.6.13/README.initrd] This How-To[/url] for specifics to your filesystem. For me, I use reiserfs…so my command would be as follows…you may use a different filesystem…so please refer to that linked document above for filesystem specifics:

mkinitrd -c -k 2.6.13 -m reiserfs

Now that you generated an initrd…let’s update lilo, the bootloader for it…here’s my /etc/lilo.conf settings for the new kernel. Please note that I did not change any of the global lilo.conf settings such as framebuffer settings and timeouts, etc.:
image = /boot/vmlinuz-generic-2.6.13
root = /dev/hda2
initrd=/boot/initrd.gz
label =”Slaq-10.2″
read-only
Notice the initrd.gz line above is in the /boot directory. I hopped over to that directory to make sure I was referencing the right thing by listing the contents (ls -al) and ensuring that I was pointing to the right image initrd.gz. I’ve seen other how-to’s reference different files…hence, why I’m clarifying this.
Next, update the MBR with the lilo.conf info by executing

lilo

Now reboot, and hopefully things will have gone well for you. If you have any questions, drop a comment. I’ll try to answer any that you may have. Have fun with Slackware! It was my first and favorite and still is! (NOTE: this article was previously published in the forum tips and tricks area. The forum has been absolved and the article moved here)

yeah,, you have good howto here. I am just having a really hard time trying to get my cdrom to mount successfuly.You can get with me or I can get with you. My Yahoo ID is > xxxinlinuxflamesxxx. I would appreciate it if you could get with me abou this.