Skip to content

usb-init behavior different between dd'ed image and iso boot #1374

Description

@tlaurion

Went through this trying to boot tinycore detached signed iso.

To replicate on recovery shell:

  • put Tinycore iso on usb thumb drive (this is isolinux, not grub)
  • usb-init #select iso (will fail since iso is not detached signed)
  • mount -o remount,rw /media #put media in write mode
  • gpg --card-status #to map public key and security dongle's private key
  • gpg --detach-sign /media/tinycore.iso #to sign iso
  • mount -o remount,ro /media #to sync changes to media, putting in in read only mode
  • usb-init #to mount usb media to media, search iso and mount to /boot, and search /boot for boot options

This will pass detached signature validation, but will fail to find bootable options.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions