VM Okd Installation issue Error: couldn't find boot device for /dev/sda

TheTheWho

New Member
Oct 29, 2022
1
0
1
Hi,


I struggle to set up okd cluser on proxmox. Proxmox is installed on my home server dell r820
My installation is based on https://www.youtube.com/watch?v=d03xg2PKOPg and i also follow https://docs.okd.io/4.11/installing...talling-bare-metal.html#installing-bare-metal


When i try to start installation process i get error couldn't find boot device from very first bootstrap machine. Could someone help me with understanding this error and how it could be fixed. I sadly didin't find the solution myslef :(
I try diferenet vm and disk set up and differenet fedora coreos version buy with no luck


-----logs-----
sudo coreos-installer install /dev/sda --image-url=...--ignition-url=... --insecure --insecure-ignition --preserve-on-error
Downloading image from ...
Downloading signature from ...
Failed to fetch signature: fetching signature URL
Signature not found; skipping verification as requested


Read disk 747.0 MiB/747.0 MiB (100%)

Error: couldn't find boot device for /dev/sda


Preserving partition table as requested


------state after fail-------
[core@localhost ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 4096 0 4096 0% /dev
tmpfs 8189288 0 8189288 0% /dev/shm
tmpfs 3275716 67140 3208576 3% /run
/dev/loop0 3265476 112108 3153368 4% /run/ephemeral
/dev/sr0 764506 764506 0 100% /run/media/iso
/dev/loop1 650368 650368 0 100% /sysroot
tmpfs 8189292 0 8189292 0% /tmp
tmpfs 1637856 0 1637856 0% /run/user/1000


[core@localhost ~]$ sudo fdisk -l
Disk /dev/loop0: 3.12 GiB, 3354333184 bytes, 6551432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 90 GiB, 96636764160 bytes, 188743680 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4f63234d


Device Boot Start End Sectors Size Id Type
/dev/sda1 * 0 1529855 1529856 747M 0 Empty
/dev/sda2 180 10291 10112 4.9M ef EFI (FAT-12/16/32)


Disk /dev/sdb: 10 GiB, 10737418240 bytes, 20971520 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5B042748-4F39-42DB-A2E3-1038F4CC9B7F


Device Start End Sectors Size Type
/dev/sdb1 2048 4095 2048 1M BIOS boot
/dev/sdb2 4096 264191 260096 127M EFI System
/dev/sdb3 264192 1050623 786432 384M Linux filesystem
/dev/sdb4 1050624 20971486 19920863 9.5G Linux filesystem


Disk /dev/loop1: 646.57 MiB, 677980672 bytes, 1324181 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


-----example vm configuration ----
boot: order=scsi0;ide2;net0
cores: 4
ide2: local:iso/fedora-coreos-36.20220716.3.1-live.x86_64.iso,media=cdrom,size=747M
kvm: 1
memory: 16384
meta: creation-qemu=7.0.0,ctime=1665337329
name: Bootstrap
net0: virtio=A6:5D:AB:03:BE:1E,bridge=vmbr1,firewall=1,tag=1
numa: 0
ostype: l26
scsi0: fast10:vm-100-disk-0,size=90G,ssd=1
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=a7c298f0-21e8-492d-8380-b387112a4b0f
sockets: 1
unused0: fast10:vm-100-disk-1
vmgenid: 20462370-52d3-4084-89e5-5ffcf685eaf1