Skip to content

grml2usb: error: invalid arch-independent ELF magicΒ #94

@jkirk

Description

@jkirk

grml2usb could not create a bootable USB device:

~/projects/grml/grml2usb on ξ‚  master (e55f4f1) is πŸ“¦ v0.0.0 via 🐍 v3.11.2 
at 2026-02-12 15:53:55 +01:00 ❯ sudo grml2usb --fat16 /srv/isos/grml-full-daily20260212build616unstable-amd64.iso /dev/sdb1
Executing grml2usb version ***UNKNOWN***
Choosing syslinux as bootloader
Using syslinux as bootloader
Checking for boot flag
Are you sure you want to format the specified partition with fat16? y/N y
Note: you can skip this question using the option --force
Formating partition with fat16 filesystem
mkfs.fat 4.2 (2021-01-31)
Using ISO /srv/isos/grml-full-daily20260212build616unstable-amd64.iso
Identified grml flavour "grml-full-amd64".
Copying files. This might take a while....
Fatal: Required file logo.16 not found in /tmp/grml2usb2czrjf1g

❯ git last                                                                           
commit e55f4f1 (HEAD -> master, origin/master)
Merge: d13b845 87030b3
Author: Chris Hofstaedtler <zeha@users.noreply.github.com>
Date:   2026-02-11 11:27:56 +0100

    Merge pull request #90 from grml/zeha/cleanup
    
    Python style cleanup


❯ sudo parted /dev/sdb       
GNU Parted 3.5
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.                                          
(parted) p                                                                
Model: Generic MassStorageClass (scsi)
Disk /dev/sdb: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  2000MB  1999MB  primary  fat16        boot, lba

(parted) q
Information: You may need to update /etc/fstab.

This is the full error:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    HighPrio

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions