Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ability to create Windows USB installers #5

@depau

Description

@depau

Relevant information:

Requirements

  • TODO: Investigate whether shoving the raw UDF filesystem into a partition in a new MBR does the trick without any filesystem parsing
    • Investigate how many UEFI firmwares will start crying after seeing it
    • Still need to find a MBR boot sector that can parse enough of it and jump into Crapdows
    • Investigate how many legacy BIOS firmwares will try to parse it even if they're not supposed to and die
  • DVD image
  • MBR
    • Be able to create a MBR partition table with one partition
      • Embed fdisk from Termux, or implement it in Kotlin, either way it should be fairly easy
    • Find a suitable MBR boot sector - syslinux should have a few Windows boot sectors, investigate whether they're okay for Windows installer disks
  • FAT32
    • Create FAT32 filesystems (shouldn't be too hard - mkdosfs from Termux)
    • Read/write FAT32 filesystems (libaums can do that)
  • UEFI
    • Nothing to be done, just ensure the filesystem of choice is supported by 100% firmwares or add a FAT32 ESP
  • Too large install.wim
    • wimlib (a Java wrapper needs to be written)

Once the requirements are met, the app will have to:

  • Create a MBR partition table on the USB drive
  • Add one big FAT32 partition (we might be able to use Android's USB format feature)
  • Copy the image content (not the image itself) to the partition
  • If install.wim is too big, split it.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions