WiP: rework migrate to XCP-ng documentation#346
WiP: rework migrate to XCP-ng documentation#346AtaxyaNetwork wants to merge 16 commits intoxcp-ng:masterfrom
Conversation
Signed-off-by: Cécile - AtaxyaNetwork <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net> Signed-off-by: Cécile - AtaxyaNetwork <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net> Signed-off-by: Cécile - AtaxyaNetwork <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net> Signed-off-by: Cécile - AtaxyaNetwork <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net> Signed-off-by: Cécile - AtaxyaNetwork <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net> Signed-off-by: Cécile - AtaxyaNetwork <contact@ataxya.net>
Signed-off-by: Cécile Morange <contact@ataxya.net> Signed-off-by: Cécile - AtaxyaNetwork <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net>
|
All suggestion are reviewed ! |
But it's still marked WIP. Main reason for which I haven't reviewed yet. |
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net>
Co-authored-by: Thomas Moraine <thomas.moraine@vates.tech> Signed-off-by: Cécile Morange <contact@ataxya.net>
|
@stormi it marked it as WiP because I didn't want someone merging it without having some proofreading and opinion from other people. |
Just ask people for review, we'll not merge until it's reviewed. In our processes, WIP usually means "I still have work to do on this". So I usually wait before I review. |
|
I noticed this PR has been stalling for months and has the WIP keyword, and base is outdated |
|
|
||
| ### Uninstall Existing Guest Tools | ||
|
|
||
| To avoid conflicts with XCP-ng guest tools, uninstall any existing VM tools (such as VMware Tools or QEMU Guest Agent) from the VM. |
There was a problem hiding this comment.
Example command lines will not hurt (at least for common OSes)
| Before shutting down the VM, run this command to install the drivers: | ||
|
|
||
| ``` | ||
| dracut --add-drivers "xen-blkfront xen-netfront" --force |
There was a problem hiding this comment.
Is force really needed ? we could try without first eg:
dracut --add-drivers "xen-blkfront xen-netfront" \
|| dracut --add-drivers "xen-blkfront xen-netfront" --force
| Next, run this command to convert the QCOW2 disk to a VHD format: | ||
|
|
||
| ``` | ||
| qemu-img convert -O vpc disk.qcow2 `uuidgen`.vhd |
There was a problem hiding this comment.
| qemu-img convert -O vpc disk.qcow2 `uuidgen`.vhd | |
| qemu-img convert -p -O vpc disk.qcow2 `uuidgen`.vhd |
This will show progress to user
|
|
||
| `vhd-util check -n myvm.vhd` should return `myvm.vhd is valid` | ||
| ``` | ||
| scp thegenerateduuid.vhd ip.xcp-ng.server:/run/sr-mount/uuid-of-your-SR |
There was a problem hiding this comment.
| scp thegenerateduuid.vhd ip.xcp-ng.server:/run/sr-mount/uuid-of-your-SR | |
| scp -v thegenerateduuid.vhd ip.xcp-ng.server:/run/sr-mount/uuid-of-your-SR/ |
| - Check [here](../../installation/migrate-to-xcp-ng/#error-dracut-initqueue227-warning-devmapperol-root-does-not-exist-or-no-bootable-device) | ||
|
|
||
| * Boot the VM and find a way to enter in the virtual UEFI of the VM. Here, I type the Escape and F9,F10,F11,F12 keys like crazy. Select Boot Manager, you should see this window : | ||
| ### Error "dracut-initqueue[227]: Warning: /dev/mapper/ol-root does not exist" (or no bootable device) |
There was a problem hiding this comment.
| ### Error "dracut-initqueue[227]: Warning: /dev/mapper/ol-root does not exist" (or no bootable device) | |
| ### Error "dracut-initqueue: Warning: /dev/mapper/ol-root does not exist" (or no bootable device) |
I believe 227 is a process ID, if yes it is misleading here
| * Install Guest Tools and reboot. The reboot shouldn't take long, you don't have to redo step 13, the OS seems to have repair the boot sequence by itself. | ||
| for x in sys proc run dev tmp; do mount --bind /$x /mnt/$x; done | ||
| ``` | ||
| Check your fstab to see the exact layout of your partition! |
There was a problem hiding this comment.
| Check your fstab to see the exact layout of your partition! | |
| Check your /etc/fstab to see the exact layout of your partition! |
Work in progress.
I added Prerequisites and Troubleshooting section, and rearrange/rewrite the other