Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm making a bootable USB key for myself, and one function of it is to install Ubuntu.

I have downloaded the ubuntu-11.10-desktop-i386.iso file.

There is a pretty good method for installation of Red Hat from a USB drive, but the problem is, when it comes to Ubuntu, what should the syslinux.cfg file be?

I used syslinux -d /boot/syslinux /dev/sdb1 and put vmlinuz and initrd.img inside it.

Is the following item of syslinux.cfg correct?

LABEL InstallUbuntu
MENU LABEL Ubuntu 11.10 Install
KERNEL /boot/syslinux/vmlinuz
APPEND linux load_ramdisk=1 initrd=/boot/syslinux/initrd.img method=hd:sdb1:/
share|improve this question

If you boot Ubuntu select "Try Ubuntu"

Open a terminal and run usb-creator-gtk, Ubuntu will copy itself to your USB with a complete syslinux install.

Ubuntu boots from the /casper/vmlinux

If you just wanted to edit an existing syslinux.cfg
These are the relevant lines Ubuntu uses after following the above procedure

kernel /casper/vmlinuz
append noprompt boot=casper integrity-check initrd=/casper/initrd.lz quiet splash --
share|improve this answer
Thanks for your answer, but I what I mean is that the bootable usb key is also a installer for ubuntu. I have found the solution, see syslinux.org/archives/2011-January/015991.html – NGY Jan 22 '12 at 18:03
This is the installer. If you follow the usb-creator the menu has all options but an "Install Ubuntu" icon is always on the desktop regardless. There are many ways to slice and dice this one. – bsd Jan 22 '12 at 21:31
up vote 1 down vote accepted
LABEL InstallUbuntu
MENU LABEL Ubuntu 11.10 Install
LINUX /vmlinuz
INITRD /initrd.lz
APPEND boot=casper iso-scan/filename=/ubuntu-11.10-desktop-i386.iso

solved the problem.

See also there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.