How to Create a USB Boot CD for Xubuntu. The resulting disc can be used to boot a Xubuntu USB flash drive on computers with a BIOS that does not natively support booting from USB. A Boot CD created via this process works by loading the Initial Ram Filesystem along with any USB drivers from the CD. Because the USB drivers are made available from the Boot CD, the system will then attempt to find, decompress and load the final Xubuntu squash filesystem and casper-rw persistence file (if it exists) from the USB flash drive.
Essentials to make a USB Boot CD for Xubuntu
- Test PC with a BIOS that doesn't support booting from USB
- PC that can boot from USB or the Live CD
- Working CD Burner
- USB flash drive with Xubuntu preinstalled
How to Create a USB Boot CD for Xubuntu
Note: We prefer to perform the following steps by booting from a prebuilt Xbuntu Live USB on a machine that does support booting from USB. This allows us to free up the CD Burner and use it to burn the final ISO.
- Insert your Xubuntu Live USB or Live CD and restart your computer, booting from the device
- Open a Terminal (Applications > Accessories >Terminal)
- Type sudo apt-get install grub
- Type mkdir -p ubcdx/boot/grub
- Type cp /usr/lib/grub/i386-pc/stage2_eltorito ubcdx/boot/grub
- Type mousepad ubcdx/boot/grub/menu.lst
Copy the following information to the menu.lst file and save the file:title Start Xubuntu from USB DISK
root (cd)
kernel /boot/vmlinuz file=/cdrom/preseed/xubuntu.seed boot=casper noprompt cdrom-detect/try-usb=true persistent
initrd /boot/initrd.lz
boot - Type cp /cdrom/casper/vmlinuz ~/ubcdx/boot
- Type sudo mousepad /etc/initramfs-tools/modules
Add the following lines to the end of your modules file and save the file:usbcore
usb-storage
uhci_hcd
ohci_hcd
ehci_hcd
sd_mod
scsi_mod - Type sudo mousepad /etc/initramfs-tools/initramfs.conf
Add the following line to the bottom of the file and save the file:WAIT=8
- Type sudo mkinitramfs -o ubcdx/boot/initrd.lz
- Type mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o usbcdx.iso ubcdx
- Type brasero -i usbcdx.iso to Burn the ISO to a CD