Sign in to follow this  
natiz

[SOLVED] Boot failed: Failed to load ldlinux.c32

Recommended Posts

Solution: Re-formatting the flash to FAT16 (FAT) using Windows. (source)

 

 

Hi,

 

I decided to upgrade from 5.0 to 6.0 beta 12.

 

I followed the instructions listed in readme.txt, copied the files, and ran make bootable.

While trying to boot from USB I get this: Failed to load ldlinux.c32

 

At first I thought it was a Mac OS thing, so I did the same process using WinXP, but the same error appears.

I also did a fresh install, without copying my previous config folder (from unraid v5.0)

 

What am I doing wrong?

 

Here's the log from the make_bootable on mac:

 

INFO: make_bootable_mac v1.1

 

INFO: The following drive appears to be the unRAID USB Flash drive:

/dev/disk1

UNRAID 2.0GB

 

To continue please enter your admin Password:

INFO: Unmounting /dev/disk1

Forced unmount of all volumes on disk1 was successful

INFO: Writing MBR on /dev/disk1

0+1 records in

0+1 records out

447 bytes transferred in 0.000650 secs (687767 bytes/sec)

INFO: Mounting /dev/disk1

Volume(s) mounted successfully

syslinux for Mac OS X; created by Geza Kovacs for UNetbootin unetbootin.sf.net

"/dev/disk1s1" unmounted successfully.

/dev/disk1s1        DOS_FAT_32                    /Volumes/UNRAID

mountpoint is /Volumes/UNRAID

checkpoint1

checkpoint1.5

checkpoint1.6

/Volumes/UNRAID/ldlinux.sys ldlinuxname

checkpoint2

checkpoint3

/Volumes/UNRAID/ldlinux.c32 ldlinuxname

checkpoint3.5

"/dev/disk1s1" unmounted successfully.

checkpoint4

checkpoint5

checkpoint6

checkpoint7

checkpoint8

/dev/disk1s1        DOS_FAT_32                    /Volumes/UNRAID

 

INFO: the unRAID USB Flash drive is now bootable and may be ejected.

 

logout

 

[Process completed]

 

If it makes any difference, mobo is GA-P35C-DS3R

 

Also, clearly the file is created:

mtwoee.png

 

EDIT 1:

Just noticed there was another thread opened about this issue, for a different Gigabyte mobo.

I tried copying the libcom32.c32 file, as suggested, but the same error appears.

Share this post


Link to post
Share on other sites

Try putting these additional files from the download on your flash and run makebootable again:

 

syslinux folder with all contents

make_bootable_mac

make_bootable.bat

 

 

 

 

Share this post


Link to post
Share on other sites

Not sure I understand what you mean, these files are already on the flash drive. The above screenshot shows the content of the flash drive (not the download folder)

I ran make_bootable_mac multiple times, same error occurs.

Share this post


Link to post
Share on other sites

I saw your screenshot. Are all of the files I mentioned from the latest download, or are they from a previous install?

Share this post


Link to post
Share on other sites

All the files are from unRAIDServer-6.0-beta12-x86_64.zip, which I recently downloaded from the downloads page.

I formatted the flash before copying the files

Share this post


Link to post
Share on other sites

All the files are from unRAIDServer-6.0-beta12-x86_64.zip, which I recently downloaded from the downloads page.

I formatted the flash before copying the files

Those files do not reflect what I see for beta 12.    I have a syslinux folder, and inside that are a number of files relating to syslinux

Share this post


Link to post
Share on other sites

I'm guessing that both of you are using windows, hence not seeing ldlinux.c32 and ldsyslinux.sys which is created once running make bootable.

 

For clarification, here's the full flash directory:

5GPDCVx.png?1

 

Share this post


Link to post
Share on other sites

So I went back on memory lane, to when I initially installed unRAID.

At that time, I had a different syslinux error (no conf file found), which was solved by re-formatting the drive to FAT16.

I believe it was this thread which gave me the idea.

 

So the solution was simple re-formatting the flash (using Windows, can't do it on Mac) to FAT16.

Share this post


Link to post
Share on other sites

This info was great and pointed me in the right direction wanted to provide an update for any other Mac users that ran in to the same issue.  There is a way to format the flashdrive to FAT-16 after letting the Mac erase the drive and create the single partition with the name you need.

 

After using the Disk Util to erase the drive you can run the following commands to find the partition and then reformat it to FAT-16 from a terminal

 

diskutil list

=========== example output============================

/dev/disk1

  #:                      TYPE NAME                    SIZE      IDENTIFIER

  0:    FDisk_partition_scheme                        *1.0 GB    disk1

  1:                DOS_FAT_32 UNRAID                  1.0 GB    disk1s1

================================================

 

once you identify the partition you can then run

 

sudo newfs_msdos -F 16 -v UNRAID /dev/disk1s1

=========== example output============================

newfs_msdos: warning: /dev/disk1s1 is not a character device

512 bytes per physical sector

/dev/disk1s1: 1957344 sectors in 61167 FAT16 clusters (16384 bytes/cluster)

bps=512 spc=32 res=1 nft=2 rde=512 mid=0xf8 spf=239 spt=32 hds=128 hid=2 drv=0x80 bsec=1957886

================================================

 

you can ignore the warning about not being a character device and even when you run diskutil list it will show as DOS_FAT_32 its actually FAT 16 and was able to get past the missing file.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Copyright © 2005-2017 Lime Technology, Inc. unRAID® is a registered trademark of Lime Technology, Inc.