Slackware doesn’t fit onto one CD any more but the download sites don’t provide any DVD ISOs.
This annoyed me.
So I decided to make my own.
The theory is that we fetch all the ISOs, mount them on the loopback filesystem, copy all the files into one place, then make a new ISO from all the files, which we then burn to DVD.
You will need the following:
Fetch the ISOs..
Use a Slackware mirror. Not all mirrors have the ISOs so shop around if you need to.
If you just want a regular install, you can just get the first two. I got all four as they will all fit onto one DVD, so why not.
I also downloaded all the patches.
I intended to patch the install at this point by replacing the existing packages with the patched versions but the version numbers didn’t match and I didn’t think it would work.
Having the patches on the DVD is handy though and there’s enough space for it so I kept them.
Mount each ISO on loopback
You now need to mount each ISO on the loopback interface.
To do this you will need the loopback support in your kernel (this should not be a problem usually).
To mount the first ISO I issued the following commands (I needed to be root to do the mount):
mount -o loop slackware-10.0-install-d1.iso /tmp/image
cp -a /tmp/image/* /tmp/dvd-iso
That copies the files from the first ISO.
Note: There are some files that have the same name on more than ISO, which will get overwritten on each subsequent copy.
I didn’t mind about this as they were all unimportant README files and the like.
If you want to make sure that the retained files are the ones from the first ISO then mount and copy the ISOs in reverse order (this ensures the README files from ISO one overwrite the ones from any other ISOs).
If you’re tight on disk space you could get away with deleting that ISO file now, but I’d not recommend it in case you make a mistake and need to start again from scratch.
If you delete it and your disk space free doesn’t appear to change, make sure you actually unmounted it (run mount to check).
Next mount and copy the files from ISO two.
mount -o loop slackware-10.0-install-d2.iso /tmp/image
cp -a /tmp/image/* /tmp/dvd-iso
Repeat for ISOs 3 and 4 if you downloaded them, and copy in all the patches if you got them too.
I fetched everything and after I was done it took up 2.8G (
du /tmp/dvd-iso) of space.
Make the ISO
I followed the instructions on the first ISO to create the disk image as that makes it bootable.
The command I used was:
mkisofs -o /tmp/dvd-image.iso -R -J -V "Slackware Install" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -A "Slackware Install CD" .
My DVD burner is on Windows but the software (Nero) allows you to burn an ISO file so I copied it over the network and burnt it from there.
I guess you could use cdrecord if your DVD burner is on Linux, but if it is, you probably already know how to burn a DVD.
When the DVD is done, reboot to test.
Mine worked perfectly and I used it to install Slackware 10 on a new PC.
Good luck if you decide to try it yourself!
Post a comment if you get stuck, or spot a mistake etc.