71
You can configure the VMs dump level by following the menu path My Computer > Properties > Advanced >
Startup and Recovery.
F.2. Troubleshooting Boot Problems on Linux VMs
There is a utility script named xe-edit-bootloader in the XenServer host control domain which can be used to
edit the bootloader configuration of a shutdown Linux VM. This can be used to fix problems which are preventing
it from booting.
To use this script:
1. Run the command
xe vm-list
to ensure that the VM in question is shut down (the value of power-state will be halted).
2. You can use the UUID as follows:
xe-edit-bootloader -u <linux_vm_uuid> -p <partition_number>
or the name-label as follows:
xe-edit-bootloader -n <linux_vm_name_label> -p <partition_number>
The partition number represents the slice of the disk which has the filesystem. In the case of the default
Debian template, this is 1 since it is the first partition.
3. You will be dropped into an editor with the grub.conf file for the specified VM loaded. Make the changes
to fix it, and save the file, exit the editor, and start the VM.