Boot CD for Ubuntu usb flash

Posted On February 22, 2008

Filed under Ubuntu
Tags: ,

Comments Dropped leave a response

Check your USB flash’s mount point.

How to:

USB flash icon <- Right click

-> Property -> Volume

$ gedit boot-uf.sh

Copy, paste this and save it.

mkdir bootcd
cp /cdrom/isolinux/* bootcd
cp /cdrom/casper/vmlinuz bootcd
cp /cdrom/casper/initrd.gz bootcd
mv bootcd/isolinux.cfg ./
sed -e '13,32d' -e 's/file=\/cdrom\/preseed\/ubuntu.seed//' -e 's/or install //' -e 's/\/casper\///' -e 's/300/50/' -e 's/=no/=no persistent irqpoll all_generic_ide/' isolinux.cfg > bootcd/isolinux.cfg
sudo genisoimage -R -b isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -o bootcd.iso bootcd
cp -f bootcd/isolinux.cfg /media/disk/syslinux.cfg
rm -rf isolinux.cfg bootcd

/media/disk would change if your mount point wasn’t /media/disk .

*gedit should be maximize for making Boot CD correct.

$ sh ./boot-uf.sh

bootcd.iso is made to /home/ubuntu. Burn it to CD-R or CD-RW.

citation(JP);
https://wiki.ubuntulinux.jp/UbuntuTips/UsbInstall/UsbFlashBootableCdrom

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s