Make a USB Boot CD for Xubuntu 9.04

Go down

Make a USB Boot CD for Xubuntu 9.04

Post  Admin on Fri Jul 10, 2009 11:37 am

Create a USB Boot CD that can be used to boot Xubuntu 9.04 from USB flash driveon computers using a system BIOS that does not natively support booting from USB. The boot CD works by loading the initrd and vmlinuz kernel from the CD. Once the necessary USB drivers have been loaded, the boot CD proceeds to locate and load the filesystem from the USB flash drive. Because the USB driver modules are preloaded from the CD, the compressed filesystem can then be detected and loaded from the USB device even if your system BIOS does not support booting from USB.

USB Boot CD for Xubuntu 9.04 build essentials:
PC with a BIOS that does not support booting from USB
Xubuntu 9.04 CD
Working CD Drive and USB Port
USB flash drive with Xubuntu 9.04 preinstalled

Creating a CD to Boot Kubuntu from USB
Insert your Xubuntu 9.04 Live CD and restart your computer, booting from the CD
Open a Terminal and 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 Run Xubuntu 9.04 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.gz
Type cp /cdrom/casper/initrd.gz ~/ubcdx/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:

Type uname -r to find your kernel version. I.E. 2.6.28-11-generic

Type mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o usbcdx.iso ubcdx
Burn the usbcdx.iso to a CD


[silent killer]

Type sudo mousepad /etc/initramfs-tools/initramfs.conf
Add the following line to the bottom of the file and save the file:

Type sudo mkinitramfs -o ubcdx/boot/initrd.gz 2.6.2*

Replacing 2.6.2* with your actual kernel version.


Posts : 408
Join date : 2009-04-25

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum