I've been trying to install a very old version of Debian for a broadcast server (no option to go with something newer) and having a lot of problems as the main image seems to be coded to only install from /cdrom even if booted from USB originally.
Eventually I found if I download hd-media/boot.img.gz uncompress it and dd the resultant .ing file to a usb key it boots and gets to a point where it says it's searching for the iso file, rather than specifically looking for the cdrom. Sounds promising....
So what I wanted to do was add the debian.iso file to the boot.img image.
What I tried (paths approx/removed)
# mkdir /mnt/boot
# mount -o loop if=boot.img of=/mnt/boot
# cp debian.iso /mnt/boot
# dd if=/dev/loop0 of=boot2.img
md5sum of boot.img and boot2.img were the same as I assume the loop device automatically writes to the file. I wasn't sure so created the second one to check.
After doing this it boots, I get the Spash screen but then it crashes and restarts the system.
I have managed to get to the install stage by using two separate USB keys but I would still like to know the correct way to do the above for future reference.
Bookmarks