You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I don't have the time to really look into this in depth, but I still thought it was useful to let someone know. I was trying to make qcow2 images, with ext4, and it kept giving me this error:
mkfs.ext4: Device size reported to be zero. Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use. You may need to reboot
to re-read your partition table.
I tried out the commands manually and it worked fine. Assuming it was a timing issue of some sort, I added a sleep 1 before the mkfs line here:
And that fixed it. I've only had this problem recently, last time I ran it (maybe 4 months ago or more), it worked fine. Currently running QEMU 9.0.1, e2fsprogs 1.47.1-4, kernel 6.9.7-arch1-1.
The text was updated successfully, but these errors were encountered:
Hello, I don't have the time to really look into this in depth, but I still thought it was useful to let someone know. I was trying to make qcow2 images, with ext4, and it kept giving me this error:
I tried out the commands manually and it worked fine. Assuming it was a timing issue of some sort, I added a
sleep 1
before themkfs
line here:alpine-make-vm-image/alpine-make-vm-image
Line 557 in 04c2e6d
And that fixed it. I've only had this problem recently, last time I ran it (maybe 4 months ago or more), it worked fine. Currently running QEMU 9.0.1, e2fsprogs 1.47.1-4, kernel 6.9.7-arch1-1.
The text was updated successfully, but these errors were encountered: