A day after I sidestep my way into a Crux installation to avoid USB CDROM issues, I find this brief set of notes reprinted to the Crux mailing list. If I understand it right, it’s a step-by-step conversion of the Crux ISO into a bootable USB, which I can only assume allows external sources for the installation process.
As a review and for my own notes, doing this on an Arch system basically required:
- mkdir -p /mnt/{loop,usb}
- yaourt -S dosfstools syslinux
- fdisk /dev/sdb
- o
- n
- p
- 1
- (enter)
- (enter)
- t
- 0b
- a
- 1
- w
- dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdb
- /sbin/mkdosfs -F 32 /dev/sdb1
- mount /dev/sdb1 /mnt/usb
- mount -o loop,ro crux-2.6.iso /mnt/loop
- rsync -aq /mnt/loop/ /mnt/usb/
- umount /mnt/loop
- mv /mnt/usb/boot/{iso,sys}linux
- mv /mnt/usb/boot/syslinux/{iso,sys}linux.cfg
- sed -i -e ‘s/isolinux/syslinux/g’ /mnt/usb/boot/syslinux/syslinux.cfg
- wget -O /mnt/usb/crux.squashfs http://jaeger.morpheus.net/linux/crux/tmp/crux.squashfs
- wget -O /mnt/usb/boot/initramfs http://jaeger.morpheus.net/linux/crux/tmp/initramfs
- umount /mnt/usb
- syslinux /dev/sdb1
In my case though, it wasn’t the magic bullet. I can boot the USB stick and the familiar Crux header spools past, but at the “module loading” step, both squashfs.ko and isofs.ko are spat back, with the message “device or resource busy” … and I get no farther than my previous attempts with the actual CD.
No harm done. I am learning slowly from these things. And it’s rather gratifying to build a USB stick that will boot. I shall have to experiment a little more and see if there are any other CD-based distros that I can convert to bootable USB. Some already have that — Arch for example has img files, which are wonderful — but some would be nice to change over.
But in the mean time, my scheme for installing Crux on the X60s remains the same. Now to put my evil plan to work. …





Recent Comments