Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

This question already has an answer here:

So I am trying to install Ubuntu, I had it before but I removed it because i couldn't re install it, i thought it would work but it didn't. So I cant boot into the install anymore, it says:

SYSLINUX (not sure the number) EDD 4.06-pre7 Copyright (C) 1994-2012 H. Peter Anvin et al

I am trying to boot from a PNY usb flash drive, I know its not the usb because i used this to boot into it brfore also i cant boot into any other linux distro either, so can someone please reply?

share|improve this question

marked as duplicate by Eliah Kagan, Tim, Eric Carvalho, nux, muru Aug 13 '14 at 15:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I'm just going to take a stab in the dark here and say that Syslinux probably isn't able to locate ldlinux.sys. ldlinux.sys is added by Syslinux when it the bootloader is installed. It is the second stage of the Syslinux bootloader (the whole bootloader doesn't fit in 412(?) bytes). The deal is, though, that it has to be at a specific point on the disk. If it's been moved from that specific location (perhaps via copy/paste) then Syslinux will not be able to find it.

The key to fixing this is to find syslinux.exe (I'm assuming you're using Windows for this process) on your drive. If you don't know where it is, look in unetbooting/pendrivelinux Program Files folders.

  1. Take note of the above location
  2. Open a command prompt (as Administrator)
  3. cd "C:\path\to\syslinux.exe"
  4. BE VERY CAREFUL HERE THAT YOU SPECIFY THE CORRECT DRIVE LETTER! syslinux -m -a F: (where F: is the drive letter of your USB drive.)
  5. syslinux will then re-add the ldlinux.sys file, but in the correct location so that it can be read at boot.

Hopefully that should rectify your booting situation.

share|improve this answer
there is no syslinux.exe only a CFG file and a another one and a internet shortcut – Kyle Apr 23 '14 at 23:59
and i cant open any of them – Kyle Apr 24 '14 at 0:34
The syslinux.exe is not located on the flash drive. It's located in the Program Files of whatever utility you used to create the boot USB (unetbootin, pendrivelinux, etc). An alternative would be to dd the ISO directly to the USB drive, though you will lose all information on the drive. – Chuck R Apr 25 '14 at 10:03

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