Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 the syslinux.cfg file should 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
1  
Can you expand your question as to why you are not following the recommended installation method in step 2 ubuntu.com/download/ubuntu/download –  fossfreedom Jan 22 '12 at 11:42
    
@fossfreedom Because I want my usb key can also boot with other linux distributions, such as Parted Magic, Lucid Puppy. –  NGY Jan 22 '12 at 12:03
    
actually i had grub installed on my Kingston USB key , syslinux is kinda obsolete on my side –  warl0ck Jan 22 '12 at 12:21
    
@warl0ck It's true, grub is much easier, maybe I should try it next time. –  NGY Jan 22 '12 at 12:54

2 Answers 2

up vote 3 down vote accepted

I have solved the problem using

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

Here is the source for the information that helped me.

share|improve this answer

Hmmm....dude, you have chosen a very longer way. What you all need is a program called "Live USB" Click HERE to get it!

share|improve this answer

Your Answer

 
discard

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.