Repair
Purpose
Repair — Fix Plans surface.
When to use it
- Operate Repair when your job matches this surface
- Prefer dry-run / doctor before mutating repairs on disks
- Shut down the guest before write operations
How to get there
- Doc id:
repair - Nav: Fix Plans → Repair
- Primary interface:
guestkit repair·rescue·migrate-repair
Operate from CLI / TUI (UX)
guestkit repair·rescue·migrate-repair.repair IMAGE --fix boot --dry-run.repair IMAGE --fix boot(apply + re-doctor).- Day-0:
rescue IMAGE -o enable-ssh|fix-grub|reset-password…. - Migration:
migrate-repair IMAGE --target kvm [--apply --yes]. - Prefer dry-run → backup → apply.
- Empty / fail: Dry-run only = no disk change; NTFS dirty → ntfsfix first.
- Success: Doctor score rises; rescue op applied.
Host needs Linux + qemu-img / losetup / qemu-nbd; mount/repair often need root. GuestKit does not invent disk contents.