1

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:/

2 Answers 2

2

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 --
2
  • 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 Commented Jan 22, 2012 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. Commented Jan 22, 2012 at 21:31
1
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.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.