You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/troubleshooting/installation-upgrade.md
+27-5Lines changed: 27 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,12 +60,16 @@ The ssh server will be available once the network is up. If you are unsure which
60
60
## The ISO installer does not offer to upgrade the existing install (XCP-ng or XenServer)
61
61
62
62
:::note
63
-
This section details how to deal with the most frequent causes for the installer not detecting your current installation. There can be other, rarer cases which are not detailed here.
63
+
This section details how to deal with the most frequent causes for the installer not detecting your current installation. There can be other, rarer cases which are not detailed here. In all cases the detailed reason for an inability to upgrade will always be possible to find in the installer log file.See [During installation or upgrade](#during-installation-or-upgrade) to access the log file.
64
64
:::
65
65
66
-
### UEFI/BIOS mismatch
66
+
### Previous installation detected but not upgradable
67
67
68
-
For the installer to detect your current install (XCP-ng or XenServer), the ISO must be booted in the same firmware context.
68
+
In some cases the installer will detect a current install (XCP-ng or XenServer), but report "Only product installations that cannot be upgraded have been detected". The most common causes are listed below.
69
+
70
+
#### UEFI/BIOS mismatch
71
+
72
+
For the installer to detect your current install, the ISO must be booted in the same firmware context.
69
73
The difference is how you pick the drive at boot. This applies to physical and virtual CD/DVD/USB drives.
70
74
71
75
If your existing installation is in legacy BIOS mode, boot the ISO in BIOS mode.
@@ -85,14 +89,14 @@ Virtual CDROM Device <<<<<< This one is the same device, in legacy BIOS
85
89
---------------------------------
86
90
```
87
91
88
-
#### How to check if a running install is using UEFI or legacy BIOS?
92
+
#####How to check if a running install is using UEFI or legacy BIOS?
89
93
90
94
On the host, run `efibootmgr`.
91
95
92
96
- If you see `EFI variables are not supported on this system.` you're running on legacy BIOS.
93
97
- If you see some EFI boot entries, you’re running on UEFI.
94
98
95
-
### First-boot service won't complete
99
+
####First-boot service won't complete
96
100
97
101
During the first boot, several tasks finalize the installation. Each task logs a "done" stamp upon completion, and if any critical task fails, the system will block future upgrades.
98
102
@@ -119,6 +123,24 @@ Upgradeability test failed:
119
123
120
124
The "Missing state" line indicates which required first-boot service failed to complete.
121
125
126
+
### Previous installation not detected
127
+
128
+
In other cases the installer will fail to detect a current install and only propose fresh installations. Some causes are listed below.
129
+
130
+
#### Disk partitionning not recognized
131
+
132
+
XCP-ng is quite strict about the partition table layout, partition labels, partition types. If anything has modified it, it can prevent proper identification of the previous install.
133
+
134
+
Log lines like the one below (taken from an upgrade of a sane 8.3 install) will give an idea whether something is wrng in this area.
135
+
136
+
```
137
+
Probe of /dev/nvme0n1 found boot=(True, '/dev/nvme0n1p4') root=(1, '/dev/nvme0n1p1') disk.state=(True, '/dev/nvme0n1p1') storage=(2, '/dev/nvme0n1p3') logs=(True, '/dev/nvme0n1p5')
138
+
```
139
+
140
+
#### Inconsistent inventory file
141
+
142
+
The `/etc/xensource-inventory` file is critical to the upgrade process. This is one case where a log entry reading "A problem occurred whilst scanning for existing installations:" followed by more details.
143
+
122
144
## Installation logs
123
145
124
146
On the installed system, installer logs are kept in `/var/log/installer/`.
0 commit comments