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: support/azure/virtual-machines/linux/troubleshoot-non-boot-scenarios-after-enabling-ade-in-the-os-disk-on-linux-vms.md
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,61 +38,61 @@ If the OS disk is using LVM and you see a message like this:
38
38
dracut:/#
39
39
```
40
40
41
-
chances are that the required modules were not added to the initial ram disk image, then try to:
41
+
Chances are that the required modules were not added to the initial ram disk image, then try to:
42
42
43
43
1.[Restore from backup](/azure/backup/restore-azure-encrypted-virtual-machines) and attempt the encryption again.
44
44
2. If a restore is not feasible then use either the Azure CLI extension [az vm repair](/azure/virtual-machines/linux/unlock-encrypted-linux-disk-offline-repair#method1) or the [manual method](/azure/virtual-machines/linux/unlock-encrypted-linux-disk-offline-repair#method2) to create a rescue VM, attach and unlock the OS disk of the failed Linux machine to that rescue VM
45
-
* Once you are in [chroot](/azure/virtual-machines/linux/chroot-environment-linux), execute the following commands. Replace the kernel and extension version accordingly
45
+
3. Once you are in [chroot](/azure/virtual-machines/linux/chroot-environment-linux), execute the following commands. Replace the kernel and extension version accordingly
46
46
47
47
### [RHEL 8,9](#tab/redhat)
48
-
1. Copy the following files from the extension configuration directory to the initramfs scripts directory:
48
+
a. Copy the following files from the extension configuration directory to the initramfs scripts directory:
2. Once the file `crypt-ade-boot` is copied, replace `ROOTPARTUUID` variable in the line below with the OS partition path from `/dev/disk/by-partuuid/`.
75
+
b. Once the file `crypt-ade-boot` is copied, replace `ROOTPARTUUID` variable in the line below with the OS partition path from `/dev/disk/by-partuuid/`.
76
76
77
77
```bash
78
78
Example:
79
79
sudo ls -l /dev/disk/by-partuuid/ | grep -w <partition containing the OS>
## Not enough space in the boot partition (Ubuntu)
182
182
183
183
> [!NOTE]
184
-
> [Ubuntu 24](https://azuremarketplace.microsoft.com/marketplace/apps/canonical.ubuntu-24_04-lts?tab=Overview) images now come with a separate `/boot` partition with 1GB size.
184
+
> [Ubuntu 24](https://azuremarketplace.microsoft.com/marketplace/apps/canonical.ubuntu-24_04-lts?tab=Overview) and higher images now come with a separate `/boot` partition with at least 1GB size.
185
185
186
186
ADE needs a separate partition for`/boot`, for that reason during the extension deployment it creates `/boot` as a separate partition and restore the original files back. At the end of the process a new initial ram disk file is created, if there is not enough space, this step is going to fail. This scenario is particularly complex since there are many variants and as for now [resizing the OS disk](/azure/virtual-machines/linux/how-to-resize-encrypted-lvm#scenarios) is not supported when the OS disk is using ADE.
187
187
At the time of writing, only Ubuntu images may fall under this process of boot split.
@@ -212,6 +212,7 @@ In order to identify the cause for packages not being installed review the exten
212
212
2. Then, ensure all the packages were successfully installed. Visit [Package management](/azure/virtual-machines/linux/disk-encryption-isolated-network#package-management) for a full list of the required packages based on the Linux distro.
213
213
3. If there are errors related to package installation, identify which package failed and why it failed.
214
214
4. Ensure the VM has access to the package repositories. Go to [Azure Disk Encryption on an isolated network](/azure/virtual-machines/linux/disk-encryption-isolated-network) in case the VM is under special network requirements.
215
+
5. For more information about troubleshooting repository issues see [Troubleshoot common issues in the yum and dnf package management tools for Linux](/azure/virtual-machines/linux/yum-dnf-common-issues?tabs=rhel7%2Crhel) and [Troubleshoot common issues with APT on Ubuntu](/azure/virtual-machines/linux/apt-common-issues-in-ubuntu)
215
216
216
217
## Missing parameters in the GRUB configuration
217
218
@@ -220,6 +221,7 @@ During the encryption process the extension will add a couple of parameters to t
220
221
`rd.luks.ade.partuuid` and `rd.luks.ade.bootuuid`
221
222
222
223
These parameters must be present and properly set to the `UUIDs` accordingly. If this is not case, [offline troubleshooting](/azure/virtual-machines/linux/unlock-encrypted-linux-disk-offline-repair) will be required in order to add the parameter manually. The UUIDs can be obtained in a `chroot` environment by running the command`blkid`.
224
+
For more information about regenerating the grub file see [Reinstall GRUB and regenerate the GRUB configuration file manually](/azure/virtual-machines/linux/troubleshoot-vm-boot-error#reinstall-grub-regenerate-grub-configuration-file)
0 commit comments