Make a USB Boot CD for Kubuntu 9.04

View previous topic View next topic Go down

Make a USB Boot CD for Kubuntu 9.04

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

This tutorial explains how to create a USB Boot CD that can be used to boot Kubuntu 9.04 from a USB flash driveon computers utilizing a system BIOS that does not natively support booting from USB. Kubuntu is a derivative of Ubuntu that uses the KDE desktop environment instead of Gnome. The USB boot CDcreated using this tutorial launches the initrd and vmlinuz kernel from the CD along with the necessary USB drivers, and then proceeds to locate the filesystem on the USB drive. Because the USB driver modules are preloaded from the initrd on the CD, the compressed filesystem can then be detected and loaded from the USB device.

*THINGS NEEDED:
PC with a BIOS that does not support booting from USB
Kubuntu 9.04 CD
Working CD Drive and USB Port
USB flash drive with Kubuntu 9.04 preinstalled

*Creating a CD to Boot Kubuntu from USB
1. Insert your Kubuntu 9.04 Live CD and restart your computer, booting from the CD
2. Open a Terminal and Type mkdir -p ubcdk/boot/grub
3. Type cp /usr/lib/grub/i386-pc/stage2_eltorito ubcdk/boot/grub
4. Type nano ubcdk/boot/grub/menu.lst
5. Copy the following information to the menu.lst file. Press Ctrl+X, press Y, and then press Enter to save the file:


title Run Kubuntu 9.04 from USB DISK
root (cd)
kernel /boot/vmlinuz file=/cdrom/preseed/kubuntu.seed boot=casper noprompt cdrom-detect/try-usb=true persistent
initrd /boot/initrd.gz
boot

6. Type cp /cdrom/casper/initrd.gz ~/ubcdk/boot
7. Type cp /cdrom/casper/vmlinuz ~/ubcdk/boot
8.Type sudo nano /etc/initramfs-tools/modules
9. Add the following lines to the end of your modules file. Press Ctrl+X, press Y, and then press Enter to save the file:


usbcore
usb-storage
uhci_hcd
ohci_hcd
ehci_hcd
sd_mod
scsi_mod
Type sudo nano /etc/initramfs-tools/initramfs.conf
Add the following line to the bottom of the file. Press Ctrl+X, press Y, and then press Enter to save the file:


WAIT=8

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

Replacing 2.6.2* with your actual kernel version.

11. Type uname -r to find your kernel version. I.E. 2.6.28-11-generic
12. Type mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o usbcdk.iso ubcdk
13. Burn the usbcdk.iso to a CD







Source:
http://www.pendrivelinux.com/usb-boot-cd-for-kubuntu-904/






[silent killer]

Admin
Admin

Posts : 408
Join date : 2009-04-25

http://xd627.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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