Failed to load ldlinux c32 как исправить linux mint

Forum rules Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

yvesforkl

LM 18 DVD is not booting: Failed to load ldlinux.c32

Hi,

I have tried to boot from a DVD with Linux Mint 18 MATE, but without success. Isolinux starts up, but immediately stops again with a message saying «Failed to load ldlinux.c32».

Here is the sequence of steps that I have taken:

  • Downloaded the ISO image for Linux Mint 18 «Sarah» — MATE (32-bit) and verified the image exactly as specified in https://linuxmint.com/verify.php
  • Burned the ISO image to a DVD (type DVD+R) with K3B’s action «Burn Image»
  • Verified the DVD: I can mount it and the file system looks OK
  • Tried to boot: Started the PC, inserted the DVD, selected the CD/DVD drive in the BIOS boot menu
  • Result: Isolinux starts up, but immediately stops with message «Failed to load ldlinux.c32». Always reproducible, also on another PC.

The reason I am using a DVD instead of an USB device as boot medium is that the BIOS of this old PC from the year 2005 is uncapable to boot from USB.

Alternatively, I tried the Plop Boot Manager at https://www.plop.at/en/bootmanager/index.html: Burned its ISO on a CD and booted from that, in the intent to have it boot from a USB stick which has LM 17.2 on it (and which itself already allowed to boot several machines). Result here: Plop Boot Manager starts off, I select «USB», but then after the message «device connected», the process hangs. (I suspect missing USB drivers could be the culprit. Tried the same on a recent notebook, where Plop Boot Manager succeeded in actually starting the USB boot process, which then failed with an error.)

What can I do to obtain a LM 18 MATE DVD that I can boot from?

I looked everywhere I could for a solution, but only found that the message I got might have to do with changes in isolinux, yet there was nothing specific to the LM 18 image.

Do I need to modify the files in the DVD ISO image before burning it? If so, in which way?

Yves

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Cosmo.

Level 24
Level 24
Posts: 22043
Joined: Sat Dec 06, 2014 7:34 am

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by Cosmo. » Mon Oct 03, 2016 4:06 pm

There is no need to modify the files on the ISO image. As you noted that this is a not quite recent pc, it might be, that the kernel of LM 18 or other hardware related components to not work with your hardware. Download Mint 17 or LM 17.1 and try to boot from it.

yvesforkl

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by yvesforkl » Thu Oct 06, 2016 4:02 pm

austin.texas wrote:Which linux do you currently have installed?

I am not sure why you are asking this.

1) The old PC where I want to boot (and maybe then install) LM 18 MATE currently has LM 13 MATE. This is why I want to move to a more recent LTS version. I think using the Update Manager to upgrade «through» all of the LM versions between 13 and 18 is out of discussion. Hence, somehow I need to re-install LM from scratch on that PC.

2) The notebook on which I burnt the LM 18 MATE (32bit) ISO to a DVD with K3B runs LM 17.2 (64bit). But I believe that does not make a difference, does it?

Yves

yvesforkl

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by yvesforkl » Thu Oct 06, 2016 4:06 pm

Cosmo. wrote:There is no need to modify the files on the ISO image. As you noted that this is a not quite recent pc, it might be, that the kernel of LM 18 or other hardware related components to not work with your hardware. Download Mint 17 or LM 17.1 and try to boot from it.

Thank you Cosmo, I will try this.

PS. Sorry for answering so late. I checked every day if my original post was already approved, but couldn’t find it at the top of the list in the board, so I thought it hadn’t been approved yet.

Yves

User avatar

austin.texas

Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by austin.texas » Thu Oct 06, 2016 4:23 pm

yvesforkl wrote:

austin.texas wrote:Which linux do you currently have installed?

I am not sure why you are asking this.

First, because the more information you provide, the easier it might be to find a solution.
Second, because the various distributions or versions have different capabilities and/or deficiencies.

Is your CD/DVD drive SATA or IDE?
PLOP does not work with SATA cdrom drives.
The SuperGrub2 CD will boot an .iso file from a flash drive, and does work with SATA.

Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

hrmcrm

Level 4
Level 4
Posts: 229
Joined: Sun Jul 03, 2016 5:59 pm
Location: San Francisco

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by hrmcrm » Thu Oct 06, 2016 4:50 pm

You may be having a DVD problem like my old ThinkPad T23 did. One batch of DVDs would burn and verify the Mint 18 iso correctly on the computer I use for that, but they could not complete the installation in the T23 drive. I got a message window stating the installer crashed. This happened with three DVDs and two desktop versions.

With a different brand of DVDs, burned with the same procedure, the installation worked. Try running the Integrity Check on the disk before starting installation.

These old DVD drives seem to be touchy about reading a given disc. If you have a different brand available, it may be worth trying.

Howard
ThinkPads 310ED, 600E, T23, X41, X60, T61, X201, E550

User avatar

gold_finger

Level 9
Level 9
Posts: 2883
Joined: Mon Mar 11, 2013 11:39 pm

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by gold_finger » Thu Oct 06, 2016 5:27 pm

yvesforkl wrote:Result here: Plop Boot Manager starts off, I select «USB», but then after the message «device connected», the process hangs.

austin.texas wrote:Is your CD/DVD drive SATA or IDE?
PLOP does not work with SATA cdrom drives.

Wasn’t aware that Plop doesn’t work with SATA drives, so I just tested it out. Sure enough, austin.texas is correct — it got stuck with same «Device connected» message that you got yvesforkl.

hrmcrm wrote:You may be having a DVD problem like my old ThinkPad T23 did. One batch of DVDs would burn and verify the Mint 18 iso correctly on the computer I use for that, but they could not complete the installation in the T23 drive. I got a message window stating the installer crashed. This happened with three DVDs and two desktop versions.

With a different brand of DVDs, burned with the same procedure, the installation worked. Try running the Integrity Check on the disk before starting installation.

This is a good suggestion. Have seen situations like this before on the forums where one brand of dvd would fail and a different brand would work. (Has happened with usb sticks too.)

yvesforkl wrote:The reason I am using a DVD instead of an USB device as boot medium is that the BIOS of this old PC from the year 2005 is uncapable to boot from USB.

Are you sure about that? Did you have the bootable usb stick plugged-in before you booted the computer? Sometimes the Bios boot menu won’t show option to boot from usb if there is no bootable usb plugged-in on power-up. Also, the option may only show in the per-session boot menu and not in the main Bios settings menu. Most computers will have one key to hit to get into the main Bios settings and another key to invoke the per-session boot menu. Did you try one way, or both to boot the usb?

@austin.texas,
First, thanks for info on Plop not working with SATA cd/dvd drives. Second, I have a question about your suggestion to use SuperGrub2 cd to boot the iso from a usb. I’ve never used that before and am curious — plus I think OP may be wondering same thing as me about how to do it.

Do you just do a simple copy of iso file to the usb rather than burn the iso image to the usb (using something like UNetbootin or the dd command)? I’m guessing that you mean to just copy the iso and then direct SuperGrub2 to boot it. Is that right?

User avatar

austin.texas

Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by austin.texas » Thu Oct 06, 2016 5:44 pm

PLOP does not work with SATA drives. Read item #8 on the PLOP FAQ page.
https://www.plop.at/en/bootmanager/faq.html#faq8

For booting an .iso file from a flash drive using SuperGrub2:
Download the SuperGrub2 .iso and burn it to a CD
http://www.supergrubdisk.org
Connect a usb flash drive with fat32 format (or ext2), and make a folder named boot-isos. The exact name boot-isos is important.
Copy the Mint .iso file that you downloaded into the boot-isos folder on the flash drive.
Boot the computer with the SuperGrub2 CD.
Chose «Boot Manually» from the first menu,
Image
then «»Bootable iso’s».
The program will search all of your drives, looking for any boot-isos folder. It will find the Mint .iso file on the flash drive, and create a menu which will allow you to boot the .iso, just like booting a DVD.
It is a slow process to search your drives and build that menu, so be patient.

Tutorial and Troubleshooting with SuperGRUB2:
http://www.supergrubdisk.org/wiki/SuperGRUB2Disk
http://www.supergrubdisk.org/wiki/Boot_Problems

Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

hrmcrm

Level 4
Level 4
Posts: 229
Joined: Sun Jul 03, 2016 5:59 pm
Location: San Francisco

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by hrmcrm » Fri Oct 07, 2016 1:40 am

austin.texas wrote:For booting an .iso file from a flash drive using SuperGrub2:
Download the SuperGrub2 .iso and burn it to a CD
http://www.supergrubdisk.org
Connect a usb flash drive with fat32 format (or ext2), and make a folder named boot-isos. The exact name boot-isos is important.
Copy the Mint .iso file that you downloaded into the boot-isos folder on the flash drive.
Boot the computer with the SuperGrub2 CD.
Chose «Boot Manually» from the first menu,then «»Bootable iso’s».
The program will search all of your drives, looking for any boot-isos folder. It will find the Mint .iso file on the flash drive, and create a menu which will allow you to boot the .iso, just like booting a DVD.
It is a slow process to search your drives and build that menu, so be patient.

Super GRUB2 Disk worked to start a live session from a Mint 18 iso on the hard drive two machines, but it did not find the iso on a fat32 USB flash drive. On both machines, I booted Super GRUB2 Disk from a USB flash drive. It seemed to run correctly, but did not find the option to boot an iso on another USB flash drive in a boot-isos folder. When I started a normal session and dragged the boot-isos folder (exactly the same name) to the hard drive, booting Super GRUB2 Disk and following your procedure offered to boot the iso, then correctly started a live session. This was with Mint 18 KDE 64-bit on one machine, and Mint 18 MATE 32-bit on another.

If OP cannot boot an iso from a USB flash drive with Super GRUB2 Disk, and has room on the hard drive for the iso, this would be a good alternative.

Howard
ThinkPads 310ED, 600E, T23, X41, X60, T61, X201, E550

User avatar

austin.texas

Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by austin.texas » Fri Oct 07, 2016 6:11 am

hrmcrm wrote:If OP cannot boot an iso from a USB flash drive with Super GRUB2 Disk, and has room on the hard drive for the iso, this would be a good alternative.

Without any doubt, booting the .iso when it is on the hard drive is faster, and many times easier than placing the .iso on a flash drive. However, that creates some minor problems when it comes time to install.
For starters, the partition that the .iso is on is mounted. That is obvious, because you are using the .iso as your live operating system. The installation program will pop up a warning that you have mounted partitions, asking if you want to unmount them. You have to say «No». So right off the bat, you have one partition on the hard drive that you cannot install to or alter. And the next logical conclusion is that «Use entire disk» is no longer an option.
If you have created your root, swap, and /home partitions previously with Gparted, you can proceed and install to those partitions.
However, if you use the installation program to create your partitions, the installation will fail, because one necessary step in creating those partitions is to rewrite the partition table. That is not possible with one partition mounted.
Now you understand why I suggested putting the .iso on a flash drive.

Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

hrmcrm

Level 4
Level 4
Posts: 229
Joined: Sun Jul 03, 2016 5:59 pm
Location: San Francisco

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by hrmcrm » Fri Oct 07, 2016 6:15 pm

@austin.texas,
Thanks for pointing out the negatives of installing with an .iso on the hard drive, and offering work-arounds for each of them.

I did more testing and found why SuperGrub2 did not find the .iso on a USB flash drive. I had only the SuperGrub2 flash drive plugged in when I powered on the system and selected the boot source. I plugged in the other USB flash drive containing the .iso at that point, before starting SuperGrub2. That made the second USB flash drive unavailable.

When both USB flash drives were plugged in when the system powered on, SuperGrub2 found the .iso on the second USB flash drive and booted it into a live Mint session.

This is a very useful tool. Glad you mentioned it.
Thanks,

Howard
ThinkPads 310ED, 600E, T23, X41, X60, T61, X201, E550

yvesforkl

Re: LM 18 DVD is not booting: Failed to load ldlinux.c32

Post

by yvesforkl » Tue Oct 18, 2016 5:21 pm

Thank you very much for your help. I proceeded exactly as you recommended: viewtopic.php?f=46&t=231064#p1224805

However, after I had booted SuperGrub2 from CD, it was not able to detect the ISO I had put in directory /boot-isos on the USB flash drive, i.e. the «Boot-isos» menu had no entries in it.

I have tried it with all 4 USB slots (AFAIK that machine has 2 different USB controllers), always with the same result. Additionally, for each of the 4 slots, SuperGrub2’s partition listing did include everything (HDD, CD, even floppy disk), but nothing from the USB flash drive.

So I suppose it could rather be a problem with missing USB drivers (which could have tripped up Plop, too).

At that point, I see no point in insisting to boot from USB on that machine (even indirectly).

I know that I still have the option to place the ISO on the HDD and boot from there (with all caveats, as having to partition beforehand due to the inability to unmount for partitioning, and not being able to use the disk space taken up by the ISO earlier than when the installation is completed).

In that situation, however, I rather give up on the idea of using that old (and noisy) computer and will buy me a new, silent Mintbox…

Thanks again to all of you for your help in this thread. (BTW, neither the BIOS menus nor the boot menu had the option to boot directly from USB.)

Yves

I’m trying to put Ubuntu on my desktop. Right now, it and my laptop are running Manjaro 3.18. I’ve been using Unetbootin to create the live USB on my laptop. I’ve tried several different versions of Ubuntu, as well as a couple other distros. I’ve removed and reinstalled Unetbootin a few times as well. I’ve reformatted the USB drive each time between tries (FAT32 normally, but I tried ext4 once just to see if anything different would happen). I’ve used this USB drive many times before for this same purpose. No matter what I try, I get the error:

Failed to load ldlinux.c32
Boot Failed: Press a key to retry...

If there’s any other information that would help, let me know.

asked Mar 27, 2015 at 10:56

Jacob Jones's user avatar

2

Just came across the same problem. I thought I would share what worked for me for future visitors.

Turns out I had an outdated version of the Rufus software used to create the bootable drive.

I updated the software and that solved the problem.

answered Jul 30, 2016 at 18:29

Marc-Andre Valois's user avatar

I was able to get this to work by creating the live USB from a different computer. It seems that there is something wrong with the way Unetbootin runs on Manjaro, as even uninstalling and re-installing Unetbootin didn’t do the trick (including its dependencies). In my case, I just had to create the live USB with Unetbootin on Windows 7.

answered Mar 27, 2015 at 20:49

Jacob Jones's user avatar

Jacob JonesJacob Jones

1721 gold badge1 silver badge10 bronze badges

I faced the same issue when trying to install Fedora 22 from a USB loaded with the DVD image. It turns out the DVD image was corrupted. I downloaded a second image and diff showed that the two images were different. Indeed, I was able to boot from the second image with no problem.

answered May 30, 2015 at 20:46

drs's user avatar

drsdrs

5,2238 gold badges38 silver badges68 bronze badges

3

Your bios is the problem not usb .I have a 32GB usb it work on any pentium 4 pc
but when I use it on old pc it gives me random errors and this error is one of them I make my usb boot able from sardu boot and I found another answer from SuperUser QA site.

Community's user avatar

answered Dec 6, 2015 at 14:22

Mohannd's user avatar

I had the same issue turns out it was the flash drive I was using . Was able to try on another flash drive and everything worked fine.Hope it helps.

answered Apr 4, 2018 at 14:32

StackEdd's user avatar

3

I had exactly the same issue because of the iso using older Ubuntu mount. Rufus was able to detect and update it and now the iso in the usb is working fine. I am pretty sure this can fix your issue.

answered Aug 10, 2017 at 15:04

mab2000's user avatar

1

colonel писал(а): ↑

07 дек 2018, 21:16

та ну ….

Вот ведь, снова да ладом.. :-D

colonel писал(а): ↑

07 дек 2018, 21:16


а вот тут на видео уверяют что ошибка из-за того что не той программой флешку делают

А я об чем говорю — ошибка на стадии записи флешки. :hoho:
Конкретно по видео — чел записал флешку сначала UltraISO, причем очень древней версии (ибо версия суслика 6.02 (тогда как 6.03 вышла ещё в 14-м году), а видео выложено в июне 18г. про запись образа Ubuntu18.04). К слову сказать, я ещё с весны этого года с Rufus записывал кучу разных дистров (16-18-х гг.) — там нет версии 6.02, только 6.03 и 6.04.
И что, совсем не смущает слово SYSLINUX в начале видео? Они даже слово «той» взяли в кавычки потому что совсем для нубов это делалось (без «грязных» подробностей :-D )
И на скрине ТС-а (Рис1) похоже совсем не по глазам?
Ну изучай тогда мат.часть, и не передергивай меня больше.. :evil:

https://ru.wikipedia.org/wiki/Syslinux

https://wiki.archlinux.org/index.php/Sy … %B8%D0%B9)

Конкретно это —
«ldlinux.c32 должен присутствовать в каждой установке syslinux/extlinux и соответствовать версии ldlinux.sys, установленной на раздел. В противном случае, syslinux не выполнит загрузку.»
«Модули библиотек lib*.c32 и неосновные модули *.c32 должны соответствовать версии ldlinux.sys, установленной на раздел»

colonel писал(а): ↑

07 дек 2018, 21:16


а ещё грят что таковое может быть на некоторых машинах если в биосе не выставлена эмуляция usb в hdd
а ещё … если не с того пункта меню загрузки пытаются загрузиться
а ещё …если флешка «не той системы» и её надо заменить

Про говноблогеры тут Unborn уже 100500 раз высказался.. :-D

colonel писал(а): ↑

07 дек 2018, 21:16


если то что пишется на флешку при побайтной заливке утилитой dd (иили другими программами с таким же принципом создания загрузочной флешки записью iso-образа ) берётся из образа где всё соответствует версии и при этом суслика (syslinux) там нет и в помине.

А где ТС написал про утилиту dd и/или соответствующие проги, кроме того что «я записал»? С этого и стоило начинать распросы.
Он «потерялся» ещё с поста #4, а дальше флуд на 2 сраницы грубо говоря на тему «как я провел лето».. :-D
Здесь уже несколько топиков на эту тему, и везде одно и то же.. без понимания сути происходящего

colonel писал(а): ↑

07 дек 2018, 21:16


проверить скачанный образ на целостность проверкой хеша

судя по этому —
«1. Сумму образа понял, а хеш ?
6. Я вписал команду в терминале , ничего, говорит что не найденно команды.»
очевидно, что человек абсолютно не понимает о чем его спрашивают (т.е. самый начальный уровень, и не то что в линуксе..)
P.S. Можете и дальше спорить и рассказывать байки не по теме (про SD, btrfs, UEFI, GPT и т.д.), но уже без меня.. :bye:

Hi all,

Description

When booting from the generated iso, an error is issued :

ISOLINUX 6.03 ETCD Copyright (C) 1994-2014 H. Peter Anvin et Al

Failed to load ldlinux.c32
Boot failed : press a key to retry ...

Configuration Files and environment

[root@hbcs tmp]# uname -a
Linux hbcs 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@hbcs tmp]# cat /etc/redhat-release 
CentOS Linux release 7.7.1908 (Core)

Steps to Reproduce

  • Build a VM under VMware workstation 15
  • Install Centos 7
  • Update to last packages
  • download linux live
  • customize config file (vmlinuz part)
  • follow linux-live steps to generate the iso
  • boot a test vm using the generated iso

Expected Functionality

Boot into your customized linux

Config File

[root@hbcs tmp]# cat /linux-live/config 
#!/bin/bash
# This is a config file for Linux Live Kit build script.
# You shouldn't need to change anything expect LIVEKITNAME

# Live Kit Name. Defaults to 'linux';
# This will be the name of the directory created on your CD/USB, which
# will contain everything including boot files and such.
# For example, Slax changes it to 'slax'
# Must not contain any spaces.
# If you change it, you must run ./tools/isolinux.bin.update script
# in order to update isolinux.bin for CD booting.
# If you do not need booting from CD (eg you're booting only from USB)
# then you can ignore recompiling isolinux.bin, just rename LIVEKITNAME
# and you're done.
LIVEKITNAME="mysuperiso"

# Kernel file, will be copied to your Live Kit
# Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready
# out of the box.
#VMLINUZ=/vmlinuz
VMLINUZ=/boot/vmlinuz-3.10.0-1062.el7.x86_64

# Kernel version. Change it to "3.2.28" for example, if you are building
# Live Kit with a different kernel than the one you are actually running
KERNEL=$(uname -r)

# List of directories for root filesystem
# No subdirectories are allowed, no slashes,
# so You can't use /var/tmp here for example
# Exclude directories like proc sys tmp
MKMOD="bin etc home lib lib64 opt root sbin srv usr var"

# If you require network support in initrd, for example to boot over
# PXE or to load data using 'from' boot parameter from a http server,
# you will need network modules included in your initrd.
# This is disabled by default since most people won't need it.
# To enable, set to true
NETWORK=false

# Temporary directory to store livekit filesystem
LIVEKITDATA=/tmp/$LIVEKITNAME-data-$$

# Bundle extension, for example 'sb' for .sb extension
BEXT=sb

# Directory with kernel .ko modules, can be different in some distros
LMK="lib/modules/$KERNEL"

Generation Log

[root@hbcs linux-live]# ./build 
Changing current directory to /linux-live
Building intramfs image...
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /tmp/hbcs-data-8951/hbcs/01-core.sb, block size 1048576.
[============================================================================================================================================================================================================================================|           ] 24753/25822  95%
File /var/lib/NetworkManager/dhclient-8935414b-7b67-439f-b649-8ef3ef0f74a1-ens160.lease changed size while reading filesystem, attempting to re-read
[====================================================================================================================================================================================================================================================== ] 25796/25822  99%
File /var/log/audit/audit.log changed size while reading filesystem, attempting to re-read

File /var/log/cron changed size while reading filesystem, attempting to re-read

File /var/log/messages changed size while reading filesystem, attempting to re-read
[=======================================================================================================================================================================================================================================================|] 25822/25822 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 1048576
        compressed data, compressed metadata, compressed fragments, compressed xattrs
        duplicates are removed
Filesystem size 666637.95 Kbytes (651.01 Mbytes)
        37.90% of uncompressed filesystem size (1759097.24 Kbytes)
Inode table size 273058 bytes (266.66 Kbytes)
        16.49% of uncompressed inode table size (1656329 bytes)
Directory table size 289058 bytes (282.28 Kbytes)
        37.32% of uncompressed directory table size (774461 bytes)
Xattr table size 3686 bytes (3.60 Kbytes)
        18.41% of uncompressed xattr table size (20017 bytes)
Number of duplicate files found 1923
Number of inodes 30847
Number of files 24825
Number of fragments 759
Number of symbolic links  1044
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 23
Number of directories 4955
Number of ids (unique uids + gids) 17
Number of uids 5
        root (0)
        chrony (998)
        polkitd (999)
        hbcs (1000)
        postfix (89)
Number of gids 16
        root (0)
        chrony (996)
        polkitd (998)
        ssh_keys (997)
        hbcs (1000)
        bin (1)
        slocate (21)
        nobody (99)
        tty (5)
        dbus (81)
        utmp (22)
        utempter (35)
        sys (3)
        postdrop (90)
        postfix (89)
        mail (12)
-----------------------------
Finished. Find your result in /tmp/hbcs-data-8951
To build ISO, run: /tmp/gen_hbcs_iso.sh
To build ZIP, run: /tmp/gen_hbcs_zip.sh

ISO Build Log

[root@hbcs tmp]# ./gen_hbcs_iso.sh 
genisoimage 1.1.11 (Linux)
Scanning .
Scanning ./hbcs
Scanning ./hbcs/modules
Scanning ./hbcs/changes
Scanning ./hbcs/boot
Writing:   Initial Padblock                        Start Block 0
Done with: Initial Padblock                        Block(s)    16
Writing:   Primary Volume Descriptor               Start Block 16
Done with: Primary Volume Descriptor               Block(s)    1
Writing:   Eltorito Volume Descriptor              Start Block 17
Size of boot image is 4 sectors -> No emulation
Done with: Eltorito Volume Descriptor              Block(s)    1
Writing:   Joliet Volume Descriptor                Start Block 18
Done with: Joliet Volume Descriptor                Block(s)    1
Writing:   End Volume Descriptor                   Start Block 19
Done with: End Volume Descriptor                   Block(s)    1
Writing:   Version block                           Start Block 20
Done with: Version block                           Block(s)    1
Writing:   Path table                              Start Block 21
Done with: Path table                              Block(s)    4
Writing:   Joliet path table                       Start Block 25
Done with: Joliet path table                       Block(s)    4
Writing:   Directory tree                          Start Block 29
Done with: Directory tree                          Block(s)    6
Writing:   Joliet directory tree                   Start Block 35
Done with: Joliet directory tree                   Block(s)    5
Writing:   Directory tree cleanup                  Start Block 40
Done with: Directory tree cleanup                  Block(s)    0
Writing:   Extension record                        Start Block 40
Done with: Extension record                        Block(s)    1
Writing:   The File(s)                             Start Block 41
  1.48% done, estimate finish Tue Mar  3 10:14:43 2020
  2.96% done, estimate finish Tue Mar  3 10:14:43 2020
  4.43% done, estimate finish Tue Mar  3 10:14:43 2020
  5.91% done, estimate finish Tue Mar  3 10:14:43 2020
  7.38% done, estimate finish Tue Mar  3 10:14:43 2020
  8.86% done, estimate finish Tue Mar  3 10:14:43 2020
 10.33% done, estimate finish Tue Mar  3 10:14:43 2020
 11.81% done, estimate finish Tue Mar  3 10:14:43 2020
 13.29% done, estimate finish Tue Mar  3 10:14:43 2020
 14.76% done, estimate finish Tue Mar  3 10:14:43 2020
 16.24% done, estimate finish Tue Mar  3 10:14:43 2020
 17.72% done, estimate finish Tue Mar  3 10:14:43 2020
 19.19% done, estimate finish Tue Mar  3 10:14:43 2020
 20.67% done, estimate finish Tue Mar  3 10:14:43 2020
 22.14% done, estimate finish Tue Mar  3 10:14:43 2020
 23.62% done, estimate finish Tue Mar  3 10:14:47 2020
 25.09% done, estimate finish Tue Mar  3 10:14:46 2020
 26.57% done, estimate finish Tue Mar  3 10:14:46 2020
 28.04% done, estimate finish Tue Mar  3 10:14:46 2020
 29.52% done, estimate finish Tue Mar  3 10:14:46 2020
 31.00% done, estimate finish Tue Mar  3 10:14:46 2020
 32.48% done, estimate finish Tue Mar  3 10:14:46 2020
 33.95% done, estimate finish Tue Mar  3 10:14:45 2020
 35.43% done, estimate finish Tue Mar  3 10:14:45 2020
 36.90% done, estimate finish Tue Mar  3 10:14:45 2020
 38.38% done, estimate finish Tue Mar  3 10:14:45 2020
 39.85% done, estimate finish Tue Mar  3 10:14:45 2020
 41.33% done, estimate finish Tue Mar  3 10:14:45 2020
 42.80% done, estimate finish Tue Mar  3 10:14:45 2020
 44.28% done, estimate finish Tue Mar  3 10:14:45 2020
 45.76% done, estimate finish Tue Mar  3 10:14:47 2020
 47.23% done, estimate finish Tue Mar  3 10:14:47 2020
 48.71% done, estimate finish Tue Mar  3 10:14:47 2020
 50.19% done, estimate finish Tue Mar  3 10:14:46 2020
 51.66% done, estimate finish Tue Mar  3 10:14:46 2020
 53.14% done, estimate finish Tue Mar  3 10:14:46 2020
 54.61% done, estimate finish Tue Mar  3 10:14:46 2020
 56.09% done, estimate finish Tue Mar  3 10:14:46 2020
 57.56% done, estimate finish Tue Mar  3 10:14:46 2020
 59.04% done, estimate finish Tue Mar  3 10:14:46 2020
 60.52% done, estimate finish Tue Mar  3 10:14:46 2020
 61.99% done, estimate finish Tue Mar  3 10:14:46 2020
 63.47% done, estimate finish Tue Mar  3 10:14:46 2020
 64.95% done, estimate finish Tue Mar  3 10:14:47 2020
 66.42% done, estimate finish Tue Mar  3 10:14:47 2020
 67.90% done, estimate finish Tue Mar  3 10:14:47 2020
 69.37% done, estimate finish Tue Mar  3 10:14:47 2020
 70.85% done, estimate finish Tue Mar  3 10:14:47 2020
 72.32% done, estimate finish Tue Mar  3 10:14:47 2020
 73.80% done, estimate finish Tue Mar  3 10:14:47 2020
 75.27% done, estimate finish Tue Mar  3 10:14:46 2020
 76.75% done, estimate finish Tue Mar  3 10:14:46 2020
 78.23% done, estimate finish Tue Mar  3 10:14:46 2020
 79.70% done, estimate finish Tue Mar  3 10:14:46 2020
 81.18% done, estimate finish Tue Mar  3 10:14:46 2020
 82.66% done, estimate finish Tue Mar  3 10:14:46 2020
 84.13% done, estimate finish Tue Mar  3 10:14:47 2020
 85.61% done, estimate finish Tue Mar  3 10:14:47 2020
 87.08% done, estimate finish Tue Mar  3 10:14:47 2020
 88.56% done, estimate finish Tue Mar  3 10:14:47 2020
 90.03% done, estimate finish Tue Mar  3 10:14:47 2020
 91.51% done, estimate finish Tue Mar  3 10:14:47 2020
 92.99% done, estimate finish Tue Mar  3 10:14:47 2020
 94.46% done, estimate finish Tue Mar  3 10:14:47 2020
 95.94% done, estimate finish Tue Mar  3 10:14:47 2020
 97.42% done, estimate finish Tue Mar  3 10:14:47 2020
 98.89% done, estimate finish Tue Mar  3 10:14:47 2020
Total translation table size: 2048
Total rockridge attributes bytes: 2699
Total directory bytes: 10240
Path table size(bytes): 66
Done with: The File(s)                             Block(s)    338577
Writing:   Ending Padblock                         Start Block 338618
Done with: Ending Padblock                         Block(s)    150
Max brk space used 1b000
338768 extents written (661 MB)

ISO boot directory content

/tmp/hbcs-data-8951/hbcs/boot
[root@hbcs boot]# ll
total 10532
-rwxr-xr-x. 1 root root    1175 Mar  3 09:54 bootinst.bat
-rwxr-xr-x. 1 root root    1156 Mar  3 09:54 bootinst.sh
-rw-r--r--. 1 root root    9798 Mar  3 09:54 bootlogo.png
-rwxr-xr-x. 1 root root  208480 Mar  3 09:54 extlinux.x32
-rwxr-xr-x. 1 root root  209424 Mar  3 09:54 extlinux.x64
-rw-r--r--. 1 root root 2775356 Mar  3 09:54 initrfs.img
-rw-r--r--. 1 root root   40960 Mar  3 10:14 isolinux.bin
-rw-r--r--. 1 root root  116552 Mar  3 09:54 ldlinux.c32
-rw-r--r--. 1 root root  181944 Mar  3 09:54 libcom32.c32
-rw-r--r--. 1 root root   23628 Mar  3 09:54 libutil.c32
-rw-r--r--. 1 root root     440 Mar  3 09:54 mbr.bin
-rw-r--r--. 1 root root   46909 Mar  3 09:54 pxelinux.0
-rw-r--r--. 1 root root     451 Mar  3 09:54 syslinux.cfg
-rw-r--r--. 1 root root  126511 Mar  3 09:54 syslinux.com
-rw-r--r--. 1 root root  243712 Mar  3 09:54 syslinux.exe
-rw-r--r--. 1 root root   26684 Mar  3 09:54 vesamenu.c32
-rwxr-xr-x. 1 root root 6734016 Mar  3 09:54 vmlinuz-3.10.0-1062.el7.x86_64

Kind Regards

На чтение 3 мин. Просмотров 352 Опубликовано 15.12.2019

Раскатал диск с Ubuntu 14.10 на флешку, используя метод с помощью программы Ultra ISO. Попробовал загрузится с флешки, однако при загрузки вылазит ошибка

failed to load ldlinux.c32

Пробовал программу UNetbootin, тоже не пошло.

Гугление подсказало — для создания правильно загрузочной флешки нужно использовать программу Win32DiskImager.

Я пытаюсь запустить Ubuntu с USB. Точное сообщение об ошибке выглядит следующим образом:

Я выполнил следующие инструкции (несколько раз, тот же результат), чтобы создать USB-накопитель: Ссылка

Я выполнил следующие инструкции для загрузки компьютера: Ссылка

Я использовал совершенно новый 16GB USB 3.0 от PNY. Я установил его с помощью ноутбука Dell 7 Dell (BIOS), который не смог загрузить его с USB. Я попытался загрузить его на Windows 10 Dell Desktop (BIOS) с тем же результатом. Я использовал последний LTS ISO от Ubuntu.com ( ubuntu-16.04.3-desktop-amd64 ).

Я пробовал писать в режиме ISO-образа несколько раз с тем же результатом, прежде чем пытаться использовать режим DD-образа, который запустил ошибку «поврежденного файла», а затем полностью очистил USB, поэтому я медленно отформатировал его в FAT32 на моем следующая попытка (вместо обычной опции быстрого формата инструкции).

Некоторые люди сказали, что им удалось скопировать ldlinux.c32 , libcom32.c32 и libutil.c32 в корневой каталог, но это не изменило для меня ничего. Я пробовал форматировать USB как NTFS, так и FAT32. Тот же результат. Некоторые говорили, что FAT16 исправил их для них, но это не было вариантом в Руфусе.

Я полностью потерян! Здесь я был, пытаясь изучить Linux, и я не могу даже загрузить его! Помогите, пожалуйста?

РЕДАКТИРОВАТЬ: Не уверен, почему он помечен как дубликат. Вопросы, которые он якобы идентичны, не имеют ничего общего с этим конкретным сообщением об ошибке.

Доброго времени суток ! Нужна помощь в установке kubuntu (именно с процесса создания загрузочной флешки и места , откуда можно скачать дистрибутив).
Я решил попробовать kubuntu (до этого ставил ubuntu) , повторил тот же процесс , как при установке ubuntu , но ничего , как вы могли понять , не вышло 🙁 При каждой попытке (использовании разных программ для создания загрузочной флешки и разных iso) вылетали разные ошибки (чаще всего был просто черный экран с курсором) . Уже 3-ий день бьюсь с kubuntu , и все впустую. Если такая тема уже где-то присутствует , прошу не ругаться и просто скинуть на нее ссылку ) в противном случае , я был бы очень благодарен вам , если бы вы мне все разжевали (да-да , именно так). Всем заранее спасибо , буду ждать ответа 🙂

А чем делали конкретно загрузочную флешку?
Хорошие результаты показывает, например, вот этот софт
Флешка должна быть отформатирована в FAT32
И покажите какие ошибки вылетают. Трудно гадать на кофейной гуще 🙂

Этим и делал (еще пробовал PowerISO , UltraISO , YUMI и еще несколько).
Ошибки не все запомнил , одна из ошибок — Failed to load ldlinux.c32
Boot failed: please change discs and press a key to continue
Еще , как и писал ранее , просто черный экран с нижним подчеркиванием в верхнем левом углу.
Может пригодиться — пытаюсь поставить вместо Windows XP

Возможно битый образ или битая флешка. Там в меню первоначальном (если делать флешку через UNetbootin) есть пункт «Check disk for defects». Проверьте.

  • Index
  • » Newbie Corner
  • » [Solved] Syslinux Failed to load ldlinux.c32

#1 2016-08-04 21:45:26

forbi
Member
Registered: 2013-12-21
Posts: 45

[Solved] Syslinux Failed to load ldlinux.c32

TLDR:
ext4 was using 64bit by default. Reformat with -O ^64bit

Oh right, I installed arch a lot of times on different hardware, and I always use Syslinux. The thing is, the last two netbooks I installed with syslinux, throws that error.

Chroot and here are some outputs>

[root@archiso /]# syslinux-install_update -iam
Syslinux BIOS install successful
Boot Flag Set - /dev/sda1
Installed MBR (/usr/lib/syslinux/bios/mbr.bin) to /dev/sda
[root@archiso /]# ls -l /boot/syslinux/
total 2112
-rw-r--r-- 1 root root       0 Aug  4 18:41 SYSLINUX_AUTOUPDATE
-rw-r--r-- 1 root root    1596 Aug  4 18:41 cat.c32
-rw-r--r-- 1 root root   24716 Aug  4 18:41 chain.c32
-rw-r--r-- 1 root root    1228 Aug  4 18:41 cmd.c32
-rw-r--r-- 1 root root    3660 Aug  4 18:41 cmenu.c32
-rw-r--r-- 1 root root    1464 Aug  4 18:41 config.c32
-rw-r--r-- 1 root root    4184 Aug  4 18:41 cptime.c32
-rw-r--r-- 1 root root    4480 Aug  4 18:41 cpu.c32
-rw-r--r-- 1 root root    1748 Aug  4 18:41 cpuid.c32
-rw-r--r-- 1 root root    2748 Aug  4 18:41 cpuidtest.c32
-rw-r--r-- 1 root root    1568 Aug  4 18:41 debug.c32
-rw-r--r-- 1 root root    4040 Aug  4 18:41 dhcp.c32
-rw-r--r-- 1 root root    1988 Aug  4 18:41 disk.c32
-rw-r--r-- 1 root root    8660 Aug  4 18:41 dmi.c32
-rw-r--r-- 1 root root   11928 Aug  4 18:41 dmitest.c32
-rw-r--r-- 1 root root    3232 Aug  4 18:41 elf.c32
-rw-r--r-- 1 root root    2716 Aug  4 18:41 ethersel.c32
-rw-r--r-- 1 root root   10436 Aug  4 18:41 gfxboot.c32
-rw-r--r-- 1 root root    1576 Aug  4 18:41 gpxecmd.c32
-rw-r--r-- 1 root root  165464 Aug  4 18:41 hdt.c32
-rw-r--r-- 1 root root    3704 Aug  4 18:41 hexdump.c32
-rw-r--r-- 1 root root    1804 Aug  4 18:41 host.c32
-rw-r--r-- 1 root root    4120 Aug  4 18:41 ifcpu.c32
-rw-r--r-- 1 root root    1720 Aug  4 18:41 ifcpu64.c32
-rw-r--r-- 1 root root    4260 Aug  4 18:41 ifmemdsk.c32
-rw-r--r-- 1 root root    1872 Aug  4 18:41 ifplop.c32
-rw-r--r-- 1 root root    1648 Aug  4 18:41 kbdmap.c32
-rw-r--r-- 1 root root    4896 Aug  4 18:41 kontron_wdt.c32
-rw-r--r-- 1 root root  116368 Aug  4 18:41 ldlinux.c32
-r--r--r-- 1 root root   60928 Aug  4 18:41 ldlinux.sys
-rw-r--r-- 1 root root    5076 Aug  4 18:41 lfs.c32
-rw-r--r-- 1 root root  182532 Aug  4 18:41 libcom32.c32
-rw-r--r-- 1 root root   66744 Aug  4 18:41 libgpl.c32
-rw-r--r-- 1 root root  101840 Aug  4 18:41 liblua.c32
-rw-r--r-- 1 root root   24172 Aug  4 18:41 libmenu.c32
-rw-r--r-- 1 root root   23672 Aug  4 18:41 libutil.c32
-rw-r--r-- 1 root root    4700 Aug  4 18:41 linux.c32
-rw-r--r-- 1 root root    2960 Aug  4 18:41 ls.c32
-rw-r--r-- 1 root root    6820 Aug  4 18:41 lua.c32
-rw-r--r-- 1 root root   10200 Aug  4 18:41 mboot.c32
-rw-r--r-- 1 root root    2452 Aug  4 18:41 meminfo.c32
-rw-r--r-- 1 root root   26084 Aug  4 18:41 menu.c32
-rw-r--r-- 1 root root    3336 Aug  4 18:41 pci.c32
-rw-r--r-- 1 root root 1011638 Aug  4 18:41 pci.ids
-rw-r--r-- 1 root root    3460 Aug  4 18:41 pcitest.c32
-rw-r--r-- 1 root root    2956 Aug  4 18:41 pmload.c32
-rw-r--r-- 1 root root    1640 Aug  4 18:41 poweroff.c32
-rw-r--r-- 1 root root    3116 Aug  4 18:41 prdhcp.c32
-rw-r--r-- 1 root root    1476 Aug  4 18:41 pwd.c32
-rw-r--r-- 1 root root   12356 Aug  4 18:41 pxechn.c32
-rw-r--r-- 1 root root    1356 Aug  4 18:41 reboot.c32
-rw-r--r-- 1 root root   13792 Aug  4 18:41 rosh.c32
-rw-r--r-- 1 root root    1608 Aug  4 18:41 sanboot.c32
-rw-r--r-- 1 root root    3148 Aug  4 18:41 sdi.c32
-rw-r--r-- 1 root root   15428 Aug  4 18:41 sysdump.c32
-rw-r--r-- 1 root root    7544 Aug  4 18:41 syslinux.c32
-rw-r--r-- 1 root root    2513 Aug  4 18:10 syslinux.cfg
-rw-r--r-- 1 root root    3068 Aug  4 18:41 vesa.c32
-rw-r--r-- 1 root root    2180 Aug  4 18:41 vesainfo.c32
-rw-r--r-- 1 root root   26632 Aug  4 18:41 vesamenu.c32
-rw-r--r-- 1 root root    1840 Aug  4 18:41 vpdtest.c32
-rw-r--r-- 1 root root    2460 Aug  4 18:41 whichsys.c32
-rw-r--r-- 1 root root    3528 Aug  4 18:41 zzjson.c32
LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda1 rw
    INITRD ../intel-ucode.img,../initramfs-linux.img

Tried without «intel-ucode», still. Any ideas?

Last edited by forbi (2016-08-05 13:10:48)

#2 2016-08-04 22:21:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,833
Website

Re: [Solved] Syslinux Failed to load ldlinux.c32

I’m not sure how it would cause this error, but there is clearly something wrong with that syslinux.cfg.

What is your partition layout?  Right now you have sda1 as both a boot parition and root parition.


«UNIX is simple and coherent…» — Dennis Ritchie, «GNU’s Not UNIX» —  Richard Stallman

#3 2016-08-04 22:37:17

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [Solved] Syslinux Failed to load ldlinux.c32

@Trilby

FWIW, I don’t understand what you’re getting at. I can’t see anything clearly wrong with the menu entry he posted, so I can’t help but wonder if you mean to suggest having «sda1 as both a boot parition and root parition» is a problem.


But whether the Constitution really be one thing, or another, this much is certain — that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

#4 2016-08-04 23:35:08

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: [Solved] Syslinux Failed to load ldlinux.c32

@Trilby

Sorry, but I can’t see any errors in that menu entry.
And that line was the only one modified. (sda1 and intel in initrd)

root@archiso ~ # fdisk -l
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x73230cb6

Device     Boot     Start       End   Sectors Size Id Type
/dev/sda1  *         2048 104859647 104857600  50G 83 Linux

And here is syslinux.cfg, ingore the line about sda2

root@archiso ~ # arch-chroot /mnt
[root@archiso /]# cat /boot/syslinux/syslinux.cfg
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
#   * menu.c32 - provides a text menu
#   * vesamenu.c32 - provides a graphical menu
#   * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
#   * hdt.c32 - hardware detection tool
#   * reboot.c32 - reboots the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples

DEFAULT linux
PROMPT 0        # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl

# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32

# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border       30;44   #40ffffff #a0000000 std
MENU COLOR title        1;36;44 #9033ccff #a0000000 std
MENU COLOR sel          7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel        37;44   #50ffffff #a0000000 std
MENU COLOR help         37;40   #c0ffffff #a0000000 std
MENU COLOR timeout_msg  37;40   #80ffffff #00000000 std
MENU COLOR timeout      1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07        37;40   #90ffffff #a0000000 std
MENU COLOR tabmsg       31;40   #30ffffff #00000000 std

# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda1 rw
    INITRD ../intel-ucode.img,../initramfs-linux.img

LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda1 rw
    INITRD ../initramfs-linux-fallback.img

LABEL linux
    MENU LABEL Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda2 rw
    INITRD ../intel-ucode.img,../initramfs-linux.img

#LABEL windows
#        MENU LABEL Windows
#        COM32 chain.c32
#        APPEND hd0 1

LABEL hdt
        MENU LABEL HDT (Hardware Detection Tool)
        COM32 hdt.c32

LABEL reboot
        MENU LABEL Reboot
        COM32 reboot.c32

LABEL poweroff
        MENU LABEL Poweroff
        COM32 poweroff.c32

Last edited by forbi (2016-08-04 23:40:35)

#5 2016-08-04 23:45:38

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [Solved] Syslinux Failed to load ldlinux.c32

which filesystem are you using on sda1?

#6 2016-08-04 23:46:14

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: [Solved] Syslinux Failed to load ldlinux.c32

ext4

boot error

By the way, GRUB works just fine, which makes it weirder.

Last edited by forbi (2016-08-05 00:06:33)

#7 2016-08-05 00:07:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,833
Website

Re: [Solved] Syslinux Failed to load ldlinux.c32

Oops, sorry — I’ve never used syslinux on a single (boot on root) partition.  I misunderstood how it would work.  Sorry for the noise.


«UNIX is simple and coherent…» — Dennis Ritchie, «GNU’s Not UNIX» —  Richard Stallman

#8 2016-08-05 01:31:43

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [Solved] Syslinux Failed to load ldlinux.c32

Did you disable 64bit volume support when creating the filesystem?

From http://www.syslinux.org/wiki/index.php?title=Filesystem

As of Syslinux 6.03, «pure 64-bits», compression and/or encryption are not supported.

Quoting part of the release notes of version 1.43 of e2fsprogs (May 17, 2016):

        Mke2fs will now create file systems with the metadata_csum and 64bit features enabled by default.

Users should rather (manually) disable the 64bit feature in the mke2fs command when creating / formatting a boot volume with ext2/3/4; otherwise, the bootloader (as of version 6.03) will fail.

passing ‘-O ^64bit’ option to mkfs should do the trick.

EDIT: You might want to make sure that the ’64bit’ feature is actually enabled with dump2fs before wiping your partition

Last edited by ooo (2016-08-05 02:05:54)

#9 2016-08-05 13:09:07

forbi
Member
Registered: 2013-12-21
Posts: 45

Re: [Solved] Syslinux Failed to load ldlinux.c32

@ooo
Thanks a lot man. I can confirm that ext4 was using 64bit and that was causing syslinux to fail.

Solved!

#10 2017-05-31 19:21:11

AsmundEr
Member
From: Trondheim, Norway
Registered: 2010-05-07
Posts: 14

Re: [Solved] Syslinux Failed to load ldlinux.c32

Not to necro, but this is the top google result, and the advice given here is needlessly complicated.

Instead of reformatting and reinstalling, one can simply use `resize2fs` with the -s flag to convert a 64 bit ext4 to 32 bit. This can be done from the Arch live install image.

#11 2017-08-31 09:30:20

Steve Lockwood
Member
Registered: 2017-08-31
Posts: 1

Re: [Solved] Syslinux Failed to load ldlinux.c32

AsmundEr wrote:

Not to necro, but this is the top google result, and the advice given here is needlessly complicated.

Instead of reformatting and reinstalling, one can simply use `resize2fs` with the -s flag to convert a 64 bit ext4 to 32 bit. This can be done from the Arch live install image.

This worked for me. 
— Installing on an oldish Dell notebook
— Using rufus to create the USB stick
— Using a single partition /dev/sda1
— Following the instructions to install syslinux
— Getting the message in the thread title. 

Booting from the USB stick and running resize2fs -s /dev/sda1 fixed it.

Many thanks.

#12 2017-08-31 12:55:44

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,018
Website

Re: [Solved] Syslinux Failed to load ldlinux.c32

Thanks for sharing, but I’m going to go ahead and close this old topic now.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Понравилась статья? Поделить с друзьями:
  • Failed to load hardware monitor driver как исправить windows 10
  • Failed to launch openocd gdb server error spawn openocd exe enoent
  • Failed to load hardware monitor driver this program must run as administrator как исправить
  • Failed to load game data archeage как исправить
  • Failed to load ffmpeg dll как исправить