Bug 676020
Summary: | After using virt-resize with an ntfs partition windows is not booting | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Javier Ramirez <javilinux> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | javilinux, mbooth, moihn, raud, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-30 15:14:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Javier Ramirez
2011-02-08 16:18:59 UTC
Javier, Thanks for the report. Unfortunately Rich is out for a few weeks, so there's unlikely to be any movement on this soon. It looks like we've clobbered the boot loader. Can you try again, adding the --debug option so we get to see everything that virt-resize is really doing? Also please try with the latest virt-resize from libguestfs 1.9.18. It has been rewritten, and it no longer moves the first partition which should make it less likely to clobber the bootloader. Hi Richard, Unfortunately I can not reproduce the issue any more since I do not have the necessary files. Sorry about it. Regards. OK, well let's leave this bug open for a while in case other people experience the same problem. I meet the same problem on RHEL 6.2 system. [root@localhost ~]# rpm -qa | grep guestfs libguestfs-tools-1.7.17-26.el6.x86_64 libguestfs-1.7.17-26.el6.x86_64 libguestfs-winsupport-1.0-7.el6.x86_64 libguestfs-tools-c-1.7.17-26.el6.x86_64 [root@localhost ~]# rpm -qa | grep winsupport libguestfs-winsupport-1.0-7.el6.x86_64 I just shutdown a winxp VM, and get the disk qemu-img resized with 4G extra space. Then virt-resize it using the same command, and I meet the same error output when booting the VM with new disk. I googled around, it seems to be related to wrong BPB in the bootable partition /dev/sda1. This problem can be easily reproduced with a fresh installed winxp VM, and just shutdown it and try to increase disk NTFS partition size using qemu-img and virt-resize. Do you have any idea? This has been fixed in the latest virt-resize *upstream*. Please try the version in Fedora 16 or above. (In reply to comment #7) > This has been fixed in the latest virt-resize *upstream*. > Please try the version in Fedora 16 or above. Thanks, Richard. Do you mean that in RHEL6 series, there will not be an update or fix for this problem? Actually, we have some VM running on our RHEL6 cluster meeting the same issue. Anyway, I now workaround it by using guestfish and customized libguestfs application written by me, instead of virt-resize in RHEL6. Hopefully this will be fixed in RHEL 6.3 (bug 719879). Closing based on comment 9 and lack of feedback otherwise. |