0

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?

Tim
  • 32,861
  • 27
  • 118
  • 178

1 Answers1

1

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.

Chuck R
  • 4,918
  • there is no syslinux.exe only a CFG file and a another one and a internet shortcut – helpful henry Apr 23 '14 at 23:59
  • and i cant open any of them – helpful henry Apr 24 '14 at 00: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