Skip to content

Disk creation is wrong #2

@EtchedPixels

Description

@EtchedPixels

Using makedisk 1 creates a 512MB disk
Truncating it to 32MB later with truncate leaves you with a 512MB disk with 512MB identify data that is the wrong length

This will fail if anything looks at the actual IDE header, or tries to read off the end of the media, unlike a properly created disk using makedisk 4 and truncating to 40MB. The 32768 choice is odd anyway - a 32MB flash drive generally only has 32000000 bytes or thereabouts on it.

If you use makedisk 4 you don't need to do truncates (and you can use dd to drop data in the middle of the file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions