Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Bootable USB "failed to load ldlinux.c32"

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
ribault
Posts: 12
Joined: 2020-08-26 09:50

[SOLVED] Bootable USB "failed to load ldlinux.c32"

#1 Post by ribault »

I am trying to install Debian on two x86_64 computers, one laptop and one desktop. I created a bootable USB using 'dd' from the file debian-10.5.0-amd64-netinst.iso . This USB looks perfectly bootable according to qemu. However, when trying to boot either computer from this USB, the process immediately gets stuck with the error message
ISOLINUX 6.04 EDD 20190226 EHDD Copyright (C) 1994-2015 H. Peter Anvin et al

Failed to load ldlinux.c32
Boot failed: press a key to retry...
How can I get an error message that refers to 32-bit architecture when the computer and the .iso file are both 64-bit?
Last edited by ribault on 2020-08-27 09:07, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Bootable USB "failed to load ldlinux.c32"

#2 Post by Head_on_a_Stick »

What was the exact dd(1) command that you used? Did you ensure to flush the copy buffers before removing the stick? Can you eliminate a hardware problem with the USB stick or a potentially corrupted ISO image?
deadbang

ribault
Posts: 12
Joined: 2020-08-26 09:50

Re: Bootable USB "failed to load ldlinux.c32"

#3 Post by ribault »

The command was adapted from
sudo dd bs=4M if=Downloads/ubuntu-19.04-desktop-amd64.iso of=/dev/sdb conv=fdatasync
which came from https://www.howtogeek.com/414574/how-to ... -in-linux/

I do not know whether this "flushes the copy buffers".

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Bootable USB "failed to load ldlinux.c32"

#4 Post by cuckooflew »

ribault wrote:The command was adapted from
sudo dd bs=4M if=Downloads/ubuntu-19.04-desktop-amd64.iso of=/dev/sdb conv=fdatasync
which came from https://www.howtogeek.com/414574/how-to ... -in-linux/

I do not know whether this "flushes the copy buffers".
You need to show us the command exactly how you wrote it, not a copy/paste from some random website, that command is for Ubuntu, not Debian , yes I see you say "adapted", but that could be anything,...are you sure you didn't down load a Ubuntu image, ?
I was just reading earlier today about some others with a similar problem, apparently there are some corrupted images floating around, but since it was for Ubuntu, I did not pay any attention, and did not save the links.
Also,
I do not know whether this "flushes the copy buffers".
"this" ?, it all depends on how you actually worded/wrote the command, and we do not know that either.
You really should read the 'dd' manual, before using the command you could very easily trash you HD just copy/pasting from some random website,
Using dd, on the other hand, can make perfect byte-for-byte images of, well, just about anything digital. But before you start flinging partitions from one end of the earth to the other, I should mention that there's some truth to that old Unix admin joke: "dd stands for disk destroyer." If you type even one wrong character in a dd command, you can instantly and permanently wipe out an entire drive of valuable data. And yes, spelling counts.
"instantly" is a bit of a exaggeration, the 'dd' command is slow, again depending on how it was written, but it can make it almost impossible to access any data, in just a few seconds, or less.
Check and make sure you really downloaded the Debian 64 bit ISO, as well, maybe you got a 32 bit ISO.
I think I would just wipe the usb stick, and try again, if I was not sure about the image, I would download another, and be more careful about which image I selected.The netinstall
images are small enough to be reasonable, and don't take long to download at all.
I have never used a 'dd' command that was even close to what you show. You might try using the example in the manual , it is easier to adapt and works well.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Bootable USB "failed to load ldlinux.c32"

#5 Post by Head_on_a_Stick »

ribault wrote:I do not know whether this "flushes the copy buffers".
Read dd(1) and check what the conv=fdatasync option does ;)

And in future please *never* run a command without understanding exactly what it does — there are *many* bullshit-filled fancy-looking blogs and "guides" on the interweb that offer terrifically bad advice.

The official Debian documentation recommends a much simpler procedure:

Code: Select all

# cp debian.iso /dev/sdX ; sync
It is functionally equivalent to the dd(1) command but much simpler to understand and much easier to remember.
deadbang

ribault
Posts: 12
Joined: 2020-08-26 09:50

Re: Bootable USB "failed to load ldlinux.c32"

#6 Post by ribault »

Thank you for these suggestions and explanations. The exact command I had used was
sudo dd bs=4M if=Downloads/debian-10.5.0-amd64-netinst.iso of=/dev/sdc conv=fdatasync
Now I have rewritten the bootable USB from the very same .iso file, using however the program "Startup disk creator" instead of 'dd'. This has solved the issue. (And this shows that the problem was probably an incorrect use of 'dd'.)

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: [SOLVED] Bootable USB "failed to load ldlinux.c32"

#7 Post by cuckooflew »

Ok thanks, I generally use "&& sync" instead of this :

Code: Select all

conv=fdatasync 
Any way, good that you solved it.
The other thing, I try to avoid using paths, especially long ones, it seems to me like that increases the risk of error , ...but that might just be me.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 68 times

Re: [SOLVED] Bootable USB "failed to load ldlinux.c32"

#8 Post by LE_746F6D617A7A69 »

Code: Select all

oflag=<direct,>sync
This works for dd. Plain 'sync' is an acceptable option for desktop, but not necessarily for servers (or other special use cases) - as it causes a flush of *all* the write buffers by default.
In any case, it's best to watch the LED blinking on the stick - if it has such a "feature" (rare today, because SMD LED increases the device cost by 0.01$ - that can delay buying of a new yacht for the company CEO for 1 week - definitely not acceptable ..
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

Post Reply