Showing posts with label make boot cd for USB install. Show all posts
Showing posts with label make boot cd for USB install. Show all posts

Wednesday, January 13, 2010

Create a cdrom for mounting a Madbox 9.10 Usb install

My old machine doesn't boot usb because of the BIOS.

So I made a custom boot-cdrom to boot an install on USB of Madbox 9.10.
More info on this distro: http://crunchbanglinux.org/forums/topic/3384/madbox-liveusb-toram/
Mostly followed this tutorial from Pendrive Linux but also
copied initrd.gz from the already on USB installed cdimage (folder: /capser)
and changed some parameters like custom.seed instead of ubuntu.seed

How to Create a CD to Boot Ubuntu from USB

The following process will enable you to create a Boot CD that can be used to Boot Ubuntu 8.10 from a USB Flash drive on systems that do not natively support booting from USB.

  1. Insert the Ubuntu 8.10 Live CD and restart your computer, booting from the CD
  2. Open a Terminal and type mkdir -p ubcd/boot/grub
  3. Type cp /usr/lib/grub/i386-pc/stage2_eltorito ubcd/boot/grub
  4. Type gedit ubcd/boot/grub/menu.lst
  5. Add the following information to your menu.lst file and save it to ubcd/boot/grub

    title Run Madbox 9.10 from USB DISK
    root (cd)
    kernel /boot/vmlinuz file=/cdrom/preseed/custom.seed boot=casper noprompt cdrom-detect/try-usb=true persistent quiet splash
    initrd /boot/initrd.gz
    boot

  6. Type cp /cdrom/casper/vmlinuz ~/ubcd/boot
  7. Type sudo gedit /etc/initramfs-tools/modules
    Add the following lines to the modules file and click save:

    usbcore
    usb-storage
    uhci_hcd
    ohci_hcd
    ehci_hcd
    sd_mod
    scsi_mod

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

    WAIT=8

copied initrd.gz from the already on USB installed cdimage (folder: /capser) and then
  1. Type sudo mkinitramfs -o ubcd/boot/initrd.gz
  2. Type mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o usbcd.iso ubcd
  3. Burn the usbcd.iso to a CD
For people who want to download the iso:
http://www.zshare.net/download/711497348edfb39e/

Blog Archive