Ask Your Question
1

livecd-iso-to-disk creates USB disk which "Failed to load ldlinux.c32"

asked 2016-12-29 20:25:35 -0600

woodlek gravatar image

updated 2016-12-29 20:54:55 -0600

On my Fedora Desktop

uname -a
Linux fedora25 4.8.15-300.fc25.x86_64 #1 SMP Thu Dec 15 23:10:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Using instructions from https://fedoraproject.org/wiki/HowtocreateanduseLiveUSB#litd [livecd-tools 23.4-1.fc25]

livecd-iso-to-disk --format --reset-mbr --home-size-mb 1024 \
--overlay-size-mb 2048 Fedora-Live-Xfce-x86_64-20-1.iso /dev/sdd

Creates USB stick which fails to boot, with this message

SYSLINUX 6.04 EDD
Failed to load ldlinux.c32

But this file is located on the flash drive.

.
├── LiveOS
│   ├── home.img
│   ├── livecd-iso-to-disk
│   ├── osmin.img
│   ├── overlay-LIVE-4e3788e6-7b4a-4e50-ac03-7ae62e81cc43
│   └── squashfs.img
├── lost+found
└── syslinux
    ├── boot.cat
    ├── efiboot.img
    ├── extlinux.conf
    ├── initrd0.img
    ├── isolinux.bin
    ├── ldlinux.c32
    ├── ldlinux.sys
    ├── libcom32.c32
    ├── libutil.c32
    ├── macboot.img
    ├── memtest
    ├── vesamenu.c32
    └── vmlinuz0

3 directories, 18 files
edit retag flag offensive close merge delete

Comments

2

I am usually using the dd command to write .iso images to USBs, which has always worked. See here

Have you checked if you are affected by one of those problems?

florian gravatar imageflorian ( 2016-12-29 21:05:02 -0600 )edit

And if you are lazy, you can use your graphical desktop to write a bootable usb. Just right-click on your iso and select to write it to disk (or so). It will open gnome-disks. (assuming here you are running Gnome on your Fedora workstation)

florian gravatar imageflorian ( 2016-12-29 21:07:30 -0600 )edit

The purpose of livecd-iso-to-disk is to create a USB with persistent memory. I have used straight iso burners before.

woodlek gravatar imagewoodlek ( 2016-12-30 15:07:36 -0600 )edit

I recommend installing Fedora on the USB as if it was an internal SSD/HDD, instead of using Live System with persistence.

florian gravatar imageflorian ( 2016-12-31 19:59:33 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-12-30 04:03:39 -0600

Axel Sommerfeldt gravatar image

updated 2017-01-01 09:02:48 -0600

This is caused by an incompatibility when using livecd-iso-to-disk option "--format" on modern Linux versions (like Fedora 25) which format ext4 partitions with "64bit" feature enabled as default.

I just created an issue, hopefully a fixed version of livecd-iso-to-disk will be released soon. (Meanwhile you could try to patch /usr/bin/livecd-iso-to-disk for yourself.)

https://github.com/rhinstaller/livecd...

edit flag offensive delete link more

Comments

One purpose of livecd-iso-to-disk is to create a bootable USB with persistent memory. BTW, I've had fedorawriter hang my system more than once. I had a problem pasting the link to livecd instructions. Please search for "how to create and use live usb".

woodlek gravatar imagewoodlek ( 2016-12-30 15:11:04 -0600 )edit

@woodlek I'm sorry, by reading your question more carefully your intention should have been clear -- my fault. However, I could both reproduce and solve your problem, see my edited answer above.

Axel Sommerfeldt gravatar imageAxel Sommerfeldt ( 2017-01-01 09:05:43 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-12-29 20:25:35 -0600

Seen: 935 times

Last updated: Jan 01 '17