Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Allow installing Container Linux on a disk with 4 KB sectors #2109

Closed
bgilbert opened this issue Aug 17, 2017 · 1 comment
Closed

Allow installing Container Linux on a disk with 4 KB sectors #2109

bgilbert opened this issue Aug 17, 2017 · 1 comment

Comments

@bgilbert
Copy link
Contributor

Issue Report

Feature Request

Environment

Bare metal

Desired Feature

coreos-install should be able to install Container Linux on a disk with 4 KB sectors.

Reproduction Steps

  1. touch image; truncate image -s 8G
  2. qemu-system-x86_64 -machine accel=kvm -m 2048 -global virtio-blk-device.logical_block_size=4096 -drive if=virtio,format=raw,file=image -cdrom coreos_production_iso_image.iso
  3. sudo coreos-install -C alpha -V 1492.4.0 -d /dev/vda
  4. sudo sgdisk -p /dev/vda (note warning message)
  5. sudo poweroff
  6. Switch to EFI boot, necessary because the ISO image doesn't support it: qemu-system-x86_64 -machine accel=kvm -m 2048 -global virtio-blk-device.logical_block_size=4096 -drive if=virtio,format=raw,file=image -drive if=pflash,file=coreos_production_qemu_uefi_efi_code.fd,format=raw,readonly -drive if=pflash,file=coreos_production_qemu_uefi_efi_vars.fd,format=raw
  7. Notice boot failure

Other Information

After copying the image, coreos-install would need to move the GPT to the correct place and update all the LBAs.

@bgilbert
Copy link
Contributor Author

Thank you for reporting this issue. Unfortunately, we don't think we'll end up addressing it in Container Linux.

As we recently announced, we're working on a successor to Container Linux, and we expect most major development to occur there instead. Meanwhile, Container Linux won't see many new features, but will still be fully maintained into 2020. Stay tuned for more details about that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant