Hello, I'm trying to increase the size of an existing jailhouse QEMU image. So far, I've been going through this guide: https://gist.github.com/larsks/3933980
I am able to increase the image size with `qemu-img resize <image> +10G`, and once inside the image, running `fdisk /dev/sda` and then `p` shows that the disk indeed increased in size. Interestingly, though, the `disklabel` is `dos`, not `gpt`, and no devices show up. It seems that there are no partitions (at least that fdisk recognizes). After I create a partition by walking through the defaults to the `n` command, I write with the `w` command and see a "rereading the partition table failed: " error. But when I do the `p` command, I can see a partition that takes up the entire disk. However, when I reboot, it fails with the following errors: "mount: No such file or directory" "run-init: current directory on the same filesystem as root: error 0" "Target filesystem doesn't have requested /sbin/init" "no init found. Try passing init= bootarg" I realize that blindly creating a partition like this likely overwrites whatever boot partition there was. But I'm not familiar enough with partitions to know where to go from here, or why the original partition isn't showing up in the first place. Any help is appreciated. Thanks, Michael -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
