2

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:/
  • 2
    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 – daisy 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
3

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.

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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