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


natiz

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.

Link to comment

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.

Link to comment
  • 10 months later...

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.