KVM QEMU сборка образа и ошибка при virt-sysrep

Собираю образ командой

virt-install --accelerate --hvm --connect qemu:///system --name oraclelinux8 --nographics --ram=4 --vcpus=2 --arch=x86_64 --os-type=linux --os-variant=ol8.2 --network=bridge:virbr0 --disk format=qcow2,size=6,path=images/oraclelinux8 --events on_poweroff=preserve --noreboot --location=repo --noautoconsole --wait=-1

Все успешно, образ появляется в images/oraclelinux8, при запуске его ругается на disk boottable error

А так же при virt-sysrep , выскакивает такой лог:

OCaml daemon loaded
trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle
calling: settle
libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
libguestfs: appliance is up
libguestfs: trace: launch = 0
libguestfs: trace: c_pointer
libguestfs: trace: c_pointer = 94115639941376
libguestfs: trace: list_partitions
guestfsd: <= list_partitions (0x8) request length 40 bytes
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
libguestfs: trace: list_partitions = []
libguestfs: trace: inspect_os
guestfsd: => list_partitions (0x8) took 0.08 secs
guestfsd: <= inspect_os (0x1e0) request length 40 bytes
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
command: blkid '-c' '/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda'
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
command: blkid returned 2
command: lvm 'lvs' '--help'
command: lvm returned 0
command: lvm: stdout:
  lvs - Display information about logical volumes

  lvs
\t[ -H|--history ]
\t[ -a|--all ]
\t[ -o|--options String ]
\t[ -S|--select String ]
\t[ -O|--sort String ]
\t[    --segments ]
\t[    --aligned ]
\t[    --binary ]
\t[    --configreport log|vg|lv|pv|pvseg|seg ]
\t[    --foreign ]
\t[    --ignorelockingfailure ]
\t[    --ignoreskippedcluster ]
\t[    --logonly ]
\t[    --nameprefixes ]
\t[    --noheadings ]
\t[    --nolocking ]
\t[    --nosuffix ]
\t[    --readonly ]
\t[    --reportformat basic|json ]
\t[    --rows ]
\t[    --separator String ]
\t[    --shared ]
\t[    --trustcache ]
\t[    --unbuffered ]
\t[    --units r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E ]
\t[    --unquoted ]
\t[ COMMON_OPTIONS ]
\t[ VG|LV|Tag ... ]

  Common options for lvm:
\t[ -d|--debug ]
\t[ -h|--help ]
\t[ -q|--quiet ]
\t[ -v|--verbose ]
\t[ -y|--yes ]
\t[ -t|--test ]
\t[    --commandprofile String ]
\t[    --config String ]
\t[    --driverloaded y|n ]
\t[    --longhelp ]
\t[    --profile String ]
\t[    --version ]

  Use --longhelp to show all options and advanced commands.
command: lvm 'lvs' '-o' 'vg_name,lv_name' '-S' 'lv_role=public && lv_skip_activation!=yes' '--noheadings' '--separator' '/'
command: lvm returned 0
check_for_filesystem_on: /dev/sda (unknown)
command: mount '-o' 'ro' '/dev/sda' '/sysroot//'
[    9.333428] SGI XFS with ACLs, security attributes, no debug enabled
command: mount returned 32
command: mount: stderr:
mount: unknown filesystem type '(null)'
inspect_os: fses:
inspect_get_roots: roots:
guestfsd: => inspeclibguestfs: trace: inspect_os = []
virt-sysprep: error: no operating systems were found in the guest image
libguestfs: trace: close
libguestfs: closing guestfs handle 0x559901495900 (state 2)
libguestfs: trace: internal_autosync
t_os (0x1e0) took 0.98 secs

Может у кого было такое, что делали?


Ответы (0 шт):