to import to a customer's cluster. After some digging I found out it's not a disk image, but a partition image. So there's no partition table. I suspect there's some really hacky way to get this to boot?
it depends on the OS, perhaps if it is Debian or Arch you could create an empty drive, format it with a partition table and a matching size partition inside (exact number of blocks, to be clear), then overwrite the partition in your disk image with your partition image (I'm supposing the partition image is for the root of the filesystem), and finally boot a live image, enter chroot and reinstall GRUB2
It's a centOS system, but yeah I'm actually trying this now! copying the raw partition image to a cleanly formatted "disk" now.
okay then, as I said before, good luck with the dracut system when trying to boot
Обсуждают сегодня