Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to configure on s390x machine #877

Open
henrywang opened this issue Mar 10, 2025 · 1 comment
Open

Failed to configure on s390x machine #877

henrywang opened this issue Mar 10, 2025 · 1 comment
Labels
area/s390x Issues relating to s390x

Comments

@henrywang
Copy link

henrywang commented Mar 10, 2025

Run podman run --rm --privileged --pid=host -v /:/target -v /dev:/dev -v /var/lib/containers:/var/lib/containers --security-opt label=type:unconfined_t localhost/bootc:beaker bootc install to-existing-root --target-transport containers-storage on s390x machine.

Failed with error:

ERROR Installing to filesystem: Listing partitions of /dev/dasda: Subprocess failed: ExitStatus(unix_wait_status(256))
sfdisk: /dev/dasda: does not contain a recognized partition table
root@ibm-z-511 ~]# lsblk 
NAME                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
dasda                      94:0    0 38.2G  0 disk 
├─dasda1                   94:1    0    1G  0 part /boot
└─dasda2                   94:2    0 37.2G  0 part 
  ├─rhel_ibm--z--511-root 253:0    0 33.4G  0 lvm  /var/lib/containers/storage/overlay
  │                                                /
  └─rhel_ibm--z--511-swap 253:1    0  3.8G  0 lvm  [SWAP]
@HuijingHei
Copy link
Member

Have a short talk with @henrywang , seems on s390x bootc / bootupd use sfdisk to list partitions that introduces the problem, might use fdasd according to coreos-installer

[root@ibm-z-511 ~]# sfdisk -J /dev/dasda
sfdisk: /dev/dasda: does not contain a recognized partition table

@cgwalters cgwalters added the area/s390x Issues relating to s390x label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/s390x Issues relating to s390x
Projects
None yet
Development

No branches or pull requests

3 participants