Closed leoh0 closed 6 years ago
Description I reinstalled latest version of linuxkit then I can not boot with ./boot.sh on macOS.
linuxkit
./boot.sh
Steps to reproduce the issue:
... $ brew install --HEAD linuxkit # or brew reinstall --HEAD linuxkit $ ./boot.sh
Describe the results you received:
$ linuxkit version linuxkit version v0.3+ commit: 9d2c57564bd568b384def0f2a00091c13d296f91 $ ls -al *.iso -rw-r--r-- 1 al staff 1803530240 4 23 16:22 kube-master-efi.iso -rw-r--r-- 1 al staff 1166034944 4 23 16:24 kube-node-efi.iso $ ./boot.sh + '[' -n '' ']' + mkdir -p kube-master-state + touch kube-master-state/metadata.json + '[' -n '' ']' + '[' -n '' ']' + '[' -n '' ']' + exec linuxkit run -networking default -cpus 2 -mem 1024 -state kube-master-state -disk size=4G -data-file kube-master-state/metadata.json --uefi kube-master-efi.iso FATA[0000] Cannot find kernel file: kube-master-efi.iso-kernel
Describe the results you expected:
Successful boot.
Ah, I think I may have broken that with https://github.com/linuxkit/linuxkit/pull/3002. I think we now need to specify -iso as well as I changed the auto-detect of the boot mode
-iso
Thank you this works like a charm.
Description I reinstalled latest version of
linuxkit
then I can not boot with./boot.sh
on macOS.Steps to reproduce the issue:
linuxkit
on MacOS./boot.sh
Describe the results you received:
Describe the results you expected:
Successful boot.