Citrix Systems 6.2.0 manual Troubleshooting Boot Problems on Linux VMs

Page 78

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-bootloaderin 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-statewill 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.

71

Image 78
Contents Citrix XenServer 6.2.0 Virtual Machine Users Guide Trademarks Contents VM Migration with XenMotion and Storage XenMotion Importing the Demo Linux Virtual Appliance Windows VM Release Notes Setting Up a Red Hat Installation Server About this Document OverviewXenServer Documentation Virtual Machines Creating VMsOther Methods of VM Creation XenServer Tools Importing an Exported VMPage Supported Guests and Allocating Resources Supported Guests, Virtual Memory, and Disk Size LimitsOperating System Minimum Maximum Minimum Disk Space 4GB 8GB Experimental Guests Operating SystemDeprecated Guests XenServer Product Family Virtual Device SupportVirtual device Linux VMs Windows VMs VM Block Devices Available Windows Templates Basic Procedure for Creating a Windows VMCreating Windows VMs Template Name DescriptionUsing XenCenter to Create a VM Attaching an ISO Image LibraryTo create a Windows 7 32-bit VM Page Using the CLI to Create a Windows VM Installing a Windows VM from an ISO Repository Using the CLICreating Linux VMs Install From Network From CD Repository Distribution VendorCreating a Linux VM by Installing from a Physical CD/DVD Creating a Linux VM by Installing From an ISO Image Network Installation NotesAdvanced Operating System Boot Parameters To install Debian using a preseed fileTo install Rhel Using a Kickstart File Installing the Linux Guest Agent To install the guest agentAdditional Installation Notes for Linux Distributions Linux Distribution Installation NotesMachine Name Preparing to Clone a Linux VMAdditional Debian Notes IP addressPage XenMotion VM Migration with XenMotion and Storage XenMotionXenMotion and Storage XenMotion Storage XenMotionMigrating a VM using XenCenter Live VDI MigrationLimitations and Caveats To Move Virtual Disks Updating Windows Operating Systems To uninstall the XenServer ToolsUpdating VMs Updating XenServer Tools for Windows VMsPage Managing vApps in XenCenter Creating a vApp using XenCenterVApps Creating vAppsDeleting vApps Start and shutdown vApps using XenCenterDeleting vApps using XenCenter To start a vAppImporting and Exporting vApps To export a vAppTo import a vApp Reset XenDesktop Shared Desktop Mode VM Boot BehaviorPersist XenDesktop Private Desktop Mode Advanced Notes for Virtual MachinesInstalldir/xensetup.exe /S /norestart To enable the Windows XenServer VSS provider Windows Volume Shadow Copy Service VSS providerConnecting to a Windows VM Using Remote Desktop To Enable Remote Desktop on a Windows VMTime Handling in Windows VMs Time Handling in Linux VMsInstalling a VM from Reseller Option Kit BIOS-locked Media To set individual Linux VMs to maintain independent timesGuest OS Dependent wallclock Independent wallclock Preparing for Cloning a Windows VM Using VSS Using XenCenterUsing the CLI Assigning a GPU to a Windows VM for Use with XenDesktop Cloning Windows VMsTo detach a Windows VM from a GPU using XenCenter To assign a GPU to a Windows VM using XenCenterTo assign a GPU to a Windows VM using xe CLI To detach a Windows VM from a GPU using the xe CLIDetach the GPU from the VM by entering the following To Import the Demo Linux Virtual Appliance Using XenCenter Importing the Demo Linux Virtual ApplianceUseful Tests Page Importing and Exporting VMs Supported FormatsFormat Description Open Virtualization Format OVF and OVA Attribute DescriptionDisk Image Formats VHD and Vmdk XVA FormatOperating System Fixup XVA Version 1 FormatTransfer VM Importing VMsTo use the RawVDI transfer protocol To Import VMs from OVF/OVA using XenCenter Importing VMs from OVF/OVAPage To Import VMs from a Disk Image using XenCenter Importing Disk ImagesTo Import VMs from XVA Files VM using XenCenter Importing VMs from XVATo Import a VM from XVA using the xe CLI Exporting VMsExporting VMs as OVF/OVA To Export VMs as OVF/OVA using XenCenter To Export VMs as XVA Files using XenCenter Exporting VMs as XVATo Export VMs as XVA Files using the xe CLI Appendix A. Windows VM Release Notes Release NotesAppendix B. Linux VM Release Notes Red Hat Enterprise Linux 4.5 toRed Hat Enterprise Linux Preparing a Rhel 4.5 to 4.8 guest for cloningSuse Enterprise Linux 10 SP1 CentOSOracle Enterprise Linux Suse Enterprise Linux 10 SP3Ubuntu Appendix C. Creating ISO Images Creating an ISO on a Linux computerOn a Windows computer Appendix D. Enabling VNC for Linux VMs Enabling a Graphical Console on Debian Squeeze VMsDetermining the Location of your VNC Configuration File Configuring GDM to use VNCFirewall Settings VNC Screen ResolutionEnabling VNC for RHEL, CentOS, or OEL 6.x VMs Create the xinetd.d file, /etc/xinetd.d/vnc-server-streamModifying the xinetd Configuration Setting up SLES-based VMs for VNCEnabling Remote Administration Checking for a VNC ServerTo Open the VNC Port on Sles 10.x VMs Firewall Checking Runlevels To Open the VNC Port on Sles 11.x VMs FirewallEnable Remote Access Appendix E. Setting Up a Red Hat Installation ServerCopying Installation Media NFSFTP HttpVM Crashes Appendix F. Troubleshooting VM ProblemsTo enable saving of Linux VM crash dumps Controlling Linux VM Crashdump BehaviourTroubleshooting Boot Problems on Linux VMs