#750586 syslinux-common: Boot fails. Failed to load ldlinux.c32. File must be in /. Upstream bug

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
ewew
Date:
2025-08-17 17:47:55 UTC
Severity:
important
Tags:
#750586#5
Date:
2014-06-04 18:59:01 UTC
From:
To:
After many time spend on testing. I have found solution to problem described
in bug reports #749991 and #750244. It is comfirmed that netboot.tar.gz for SID
has been built with wrong kernel modules. After spend time with building my own
netboot.tar.gz i have found the solution to error failed to load ldlinux.c32.
This bug has been reintroduced by the upstrem and causes following error.
This info is available on syslinux mailing lists. I also found this problem
seems to be presend in debian-cd bug #699884, but not tested.
Other info is available on debian-devel mailing lists with subject "Possible
kernel modules missmatch in netboot.tar.gz for debian testing".

Thank You

Have nice day

ewew

#750586#18
Date:
2014-08-07 11:46:06 UTC
From:
To:
Ron <ron@debian.org> (2014-07-28):

Thanks.

I'm lowering the severity of #750586 since I feel important is enough.

We have a release with this bug now, so "found"ing it.

Thanks for all the details.

Since I don't know much about all these things I'm tempted not to touch
anything beyond unbreaking netboot.tar.gz; even more so since there
seems to be an attached, tested patch. :)

I could apply it blindly but it'd be nice if someone else would confirm
it works fine. I've got other things cooking, but I might end up testing
it myself it nobody steps up.

Mraw,
KiBi.

#750586#25
Date:
2014-09-20 21:28:24 UTC
From:
To:
Hi all,

Thanks for your work on this -- we're also experiencing this bug in both
jessie and sid daily netboot images in our PXE boot environment.

I might be building the image wrong, but after applying Ron's patch, I
get a symlink like the following in my netboot tarball:

ldlinux.c32 -> debian-installer/amd64/debian-installer/amd64/boot-screens//ldlinux.c32

Note that ``d-i/$arch'' is duplicated, and there is an extra slash
before ``ldlinux.c32''.

During my build, the relevant vars were:

    NETBOOT_PATH=debian-installer/amd64
    BOOT_SCREEN_DIR=debian-installer/amd64/boot-screens/

I've attached a small patch (intended to be applied after Ron's) which
fixes the target path of the symlink on my sid build.

With these two patches applied, the sid netboot image boots and installs
successfully in our environment. I'd be more than happy to help test any
additional work on this issue.

Thanks!
Chris

#750586#30
Date:
2014-09-21 08:11:00 UTC
From:
To:
That was a blind and untested patch, working backward from what I'd
hand-hacked in place to get it working for me, at the end of a long
day, and the first time I'd ever even looked at this code ...

It looks like I read $(TEMP_NETBOOT_DIR)/$(BOOT_SCREEN_DIR) wrong in
the surrounding code and assumed BOOT_SCREEN_DIR only had the
"/boot-screens" part in it.  Or at least that's the only thing I can
think I must have done, since now that you've pointed, and I'm looking
at it again, your version of that link definitely looks like the right
one to me.

Indeed amd64/netboot.cfg has:
BOOT_SCREEN_DIR = $(NETBOOT_PATH)/boot-screens/

Only the ia64 version appears to define or use it how I used it there.

Thanks for actually testing this and sending a fixed patch!

  Cheers,
  Ron

#750586#35
Date:
2014-09-21 11:57:55 UTC
From:
To:
Ron <ron@debian.org> (2014-09-21):

Looks like I could just blindly apply both patches, squashing them and
crediting both of you then?

It was low-priority (especially since untested) and I wasn't too keen on
spending time on it, but if we have success reports, merging looks like
a good idea.

Mraw,
KiBi.

#750586#40
Date:
2014-09-21 22:51:52 UTC
From:
To:
Yup, I think that would do it.

I can do additional sanity testing of the daily build after the patches
are applied, but already did pretty extensive testing on the netboot
image yesterday with the patches applied.

Thanks!
Chris

#750586#45
Date:
2014-09-22 01:55:53 UTC
From:
To:
Yeah, that works for me too.  I wasn't in a hurry to push this until
someone had actually tested the patch either (and I got buried again
and didn't get to that myself), but I know that what it was _intended_
to do really works, so if it's been tested now, getting it into the
dailies for wider testing seems like a good plan.

  Cheers,
  Ron

#750586#50
Date:
2014-09-26 22:41:29 UTC
From:
To:
Ron <ron@debian.org> (2014-09-22):

So Matt Taggart reported this on IRC and this reminded me I had it on
my todo list.

Pushed to master. Thanks again!

Mraw,
KiBi.

#750586#55
Date:
2015-01-29 10:14:12 UTC
From:
To:
Unfortunately, ldlinux.c32 is still being sought and not found. Any
news?

#750586#60
Date:
2015-02-15 13:18:50 UTC
From:
To:
This is still a show-stopper in RC1.
#750586#65
Date:
2015-02-15 14:21:49 UTC
From:
To:
martin f krafft <madduck@debian.org> (2015-01-29):

It would be helpful if either of you could try and figure out what's
going on/why Ron's patch is insufficient/what needs to be changed to
get your usecase to work. At least Chris Kuehl (cc'd) was happy with
the change.

Mraw,
KiBi.

#750586#70
Date:
2015-02-15 14:38:19 UTC
From:
To:
also sprach Cyril Brulebois <kibi@debian.org> [2015-02-15 15:21 +0100]:

I thought this issue was actually resolved? With the new d-i-n-a
version, this now works for me.

#750586#75
Date:
2015-02-15 14:50:12 UTC
From:
To:
martin f krafft <madduck@debian.org> (2015-02-15):

If you think we can infer “martin is using d-i-n-a” from “Unfortunately,
ldlinux.c32 is still being sought and not found. Any news?” then I can
assure you that we cannot…

Mraw,
KiBi.

#750586#80
Date:
2015-02-16 13:37:03 UTC
From:
To:
Hi again,

Indeed, we have had no problems in the past few months.

I also just tested both the latest daily as well as the RC1 netboot
images on i386 and amd64 and can't replicate the problem on any
combination.

Thanks for your work on Debian.

Chris

#750586#85
Date:
2015-02-18 10:49:41 UTC
From:
To:
also sprach Cyril Brulebois <kibi@debian.org> [2015-02-15 15:50 +0100]:

Yeah, sorry about that. I now took another look and I think that
when I wrote in to the bug, I actually didn't have much of a clue
about the issue at hand and the problem wasn't applicable to me in
the first place.

#750586#90
Date:
2015-04-27 02:48:43 UTC
From:
To:
I can confirm the bug with PXE boot.

I have a script ran daily in a cron job that mirrors several
Debian/Ubuntu netboot directories, sorts them in a "dists" directory by
distro/release/arch, modifies paths in the .cfg files to match my tree,
and symlinks a couple of files from one of those distros (I chose Debian
stable) in my PXE directory to provide the actual PXE boot, with a
custom menu to choose between distros (if I'm not mistaken, it's a
fairly common use case).

The PXE boot used to work by symlinking pxelinux.0 at the PXE root,
boot-screens/vesamenu.c32, and creating a modified copy of
pxelinux.cfg/default (again to have the paths match my tree).

After Jessie became stable, the PXE boot stopped working with this
"failed to load ldlinux.c32" error. Adding "path boot-screens/" to
pxelinux.cfg/default and symlinking ldlinux.c32 (amongst other .c32
files) in said boot-screens directory wasn't enough to make it work; I
had to additionally symlink ldlinux.c32 at the root of my tree to be
able to successfully boot from PXE.

I'm no coder so I can't look in the source code and be more precise, but
pxelinux.0 behaves as if it ignores this new "path" statement (in
pxelinux.cfg/default) regarding ldlinux.c32; but it's still correctly
interpreted for other c32 files, since pxelinux is able to find them in
the boot-screens directory.

Important note : mirroring the Jessie netboot directory to the root of
my PXE server (without any modification) didn't work either, since it
doesn't have ldlinux.c32 at its root; but netboot.tar.gz has it, so they
don't match - I'm not sure it can be considered as a regression (since
the netboot directory used to be a working PXE tree regardless of the
tarball contents) but I think it may explain why some people report it's
now working and others don't.

Hope it helps.

Regards,

#750586#97
Date:
2015-10-11 09:43:17 UTC
From:
To:
Hi,

I am able to reproduce this issue with debian-8.2.0-amd64-DVD-1.iso
using older desktop PC which is from year 2006.

I thought Debian would be good for a little older PC and I wouldn't
have to worry about it so much, but it appears I must find another
distribution as this bug has been open since 2014.

#750586#102
Date:
2015-10-14 13:10:12 UTC
From:
To:
Hi,
I want to know if this bug have been fixed or not?I downloaded the netboot.tar.gz yesterday and can not boot by PXE. I got this error of failed to load ldlinux.c32Noticed this bug report already more than a year old, I would guess the solution should been compiled in the distributed netboot.tar.gz.Or I really have to build my own netboot.tar.gz?Thanks,GangOn Wed, 04 Jun 2014 20:59:01 +0200 ewew <m.alfaeko@gmail.com> wrote:> Package: syslinux-common> Version: 3:6.03~pre1+dfsg-4 and others> Severity: grave> Tags: d-i upstream> Justification: renders package unusable> > After many time spend on testing. I have found solution to problem described> in bug reports #749991 and #750244. It is comfirmed that netboot.tar.gz for SID > has been built with wrong kernel modules. After spend time with building my own> netboot.tar.gz i have found the solution to error failed to load ldlinux.c32.> This bug has been reintroduced by the upstrem and causes following error.> This info is available on syslinux mailing lists. I also found this problem> seems to be presend in debian-cd bug #699884, but not tested.> Other info is available on debian-devel mailing lists with subject "Possible > kernel modules missmatch in netboot.tar.gz for debian testing".> > Thank You> > Have nice day> > ewew> >

#750586#107
Date:
2015-11-22 10:44:21 UTC
From:
To:
HI Sir/Md Asif

Can you outsource some SEO business to us? We will work
according to you and your clients and for a Long term relationship.

We will target in this Price More than 15 keywords.

Looking forward for your positive reply.

Best Regards!

Thanks.

Md Asif

skype: snehadixit9

Whatsapp : +919236546467

#750586#112
Date:
2016-02-11 05:16:20 UTC
From:
To:
Hi, I have same problem here with an old Notebook. I reproduce this bug with
debian-testing-amd64-netinst.iso builds 2016-02-10 23:57.

Please, what I could do to install Debian in that Notebook since this bug is
very old?

Thank you so much!

#750586#117
Date:
2016-02-11 20:02:13 UTC
From:
To:
Hi,

I've investigated this bug a bit because of a posting to debian-user@;
the original fix that went into Jessie fixes the netboot.tar.gz images.
The problem is that the installer data in the mirror doesn't contain
ldlinux.c32.

(For a more detailed analysis of the problem that I posted to
debian-user, see [1].)

Additionally, the default pxelinux.0 image from jessie onwards doesn't
support HTTP via gPXE/iPXE anymore, it only supports TFTP. So directly
using a HTTP mirror for PXE booting with gPXE/iPXE is possible up to
Wheezy, but not possible starting with Jessie anymore. I've reported
this against pxelinux as:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814459>

But there is an alternative image, lpxelinux.0, which implements HTTP
directly (and doesn't call out to gPXE/iPXE) that may be used instead
of pxelinux.0; it's already included in the pxelinux package from
Jessie onwards.

I've attached a patch against d-i git master that adds the ldlinux.c32
and lpxelinux.0 files to the mirror itself (and not just to the
netboot.tar.gz as before).

I verified that a Jessie installer created in a clean pbuilder
environment with that patch applied works as expected and has
ldlinux.c32 as well as lpxelinux.0 in both netboot.tar.gz files as
well as the mirror file system proper.

It would be great if this patch could be applied not only to Stretch
but also be part of the next point release in Jessie, so that booting
the Jessie installer directly from HTTP works again.

Thanks!

Regards,
Christian

[1] https://lists.debian.org/debian-user/2016/02/msg00295.html

#750586#124
Date:
2016-02-12 22:05:35 UTC
From:
To:
Hi,

An iso-dvd (debian-testing-amd64-DVD-1.iso 2016-02-08 08:31) will be in the
same issue? Lack the ldlinux.c32 ?

Or I need to wait the maintainers to apply the patch?

My two notebook, different brand, have the same problem.

Thank you very much.

#750586#129
Date:
2016-05-22 01:18:00 UTC
From:
To:
Good day
I'm Thomas Allen,am hearing impaired.i would love to know if you can handle
website design for a new company and also if you do, you accept credit
cards? kindly get back to me ASAP so i can send you the job details.
Regards

#750586#134
Date:
2016-12-19 03:00:46 UTC
From:
To:
Dear Customer,

Your item has arrived at December 17, but our courier was not able to deliver the parcel.

Please review delivery label in attachment!

Yours sincerely,
Eric Long,
USPS Senior Office Manager.

#750586#139
Date:
2016-12-19 03:00:42 UTC
From:
To:
Dear Customer,

Your item has arrived at December 17, but our courier was not able to deliver the parcel.

Please review delivery label in attachment!

Yours sincerely,
Eric Long,
USPS Senior Office Manager.

#750586#144
Date:
2016-12-25 16:35:40 UTC
From:
To:
Dear Customer,

Your item has arrived at December 23, but our courier was not able to deliver the parcel.

Review the document that is attached to this e-mail!

Thank you,
Troy Henderson,
USPS Parcels Delivery Manager.

#750586#149
Date:
2016-12-31 20:44:50 UTC
From:
To:
Dear Customer,

Your parcel was successfully delivered December 28 to USPS Station, but our courier cound not contact you.

Please check the attachment for details!

With anticipation,
Jesus Neal,
USPS Chief Office Manager.

#750586#156
Date:
2019-07-01 12:18:18 UTC
From:
To:
Hello my Beloved i have something very important to share with you please
contact  my private email address for more details(adamwls12@hotmail.com)

#750586#163
Date:
2020-02-21 21:27:46 UTC
From:
To:

#750586#168
Date:
2020-02-28 10:43:53 UTC
From:
To:
multiple of times i have writing to you i do not know if you did not get my message but can you write me now because i have an urgent information for you kindly email me now at  mrshuiangonn7764@gmail.com
--------------------------------------------------------- Disclaimer: This e-mail, including any attachment with it may contain privileged, proprietary & confidential information and is intended solely for the addressee. If you are not the intended recipient of this e-mail, please notify us immediately and destroy this email without taking any copies or showing it to anyone. Unauthorized use of this e-mail is prohibited. SQUARE will not take any responsibility for misdirection, corruption or unauthorized use of e-mail communications, or for any damage that may be caused as a result of transmitting or receiving an e-mail communication. Caution: Do not click links or open attachments unless you recognize the sender and know the content is safe.
#750586#175
Date:
2022-06-23 09:18:32 UTC
From:
To:
Hello,

I am contacting you for a possible partnership to transfer US$25,
000,000.00 to your country for investment under your assistance. Your
sincere cooperation is anticipated and I will furnish you with the details,
upon receipt of your response to this email address: jjj.joshua@yandex.com

My regards,

John Joshua.