Skip to content

Commit 8a037f7

Browse files
authored
Update Ubuntu section and add notes
1 parent a7fcca3 commit 8a037f7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

support/azure/virtual-machines/linux/chroot-environment-linux.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ms.author: genli
2323

2424
This article describes how to troubleshoot the chroot environment in the rescue virtual machine (VM) in Linux.
2525

26-
## Ubuntu 16.x && Ubuntu 18.x && Ubuntu 20.04 && Ubuntu 22.04 && Ubuntu 24.04
26+
## Ubuntu
2727

2828
1. Stop or deallocate the affected VM.
2929
1. Create a rescue VM of the same generation, same OS version, in same resource group and location using managed disk.
@@ -65,6 +65,9 @@ This article describes how to troubleshoot the chroot environment in the rescue
6565
mount -o bind /run /rescue/run
6666
chroot /rescue
6767
```
68+
> [!NOTE]
69+
> On newer Ubuntu images, there is only one partition for `/boot`. If you are recovering an older Ubuntu image, you can ignore errors when mounting `/dev/sdc16` to `/rescue/boot`, as long as there are files in `/rescue/boot` after completing these steps.
70+
> If an error occurs during mounting, it will be safe to ignore the error that occurs when unmounting `/rescue/boot` in the following step.
6871
6972
1. Troubleshoot the chroot environment.
7073
@@ -86,7 +89,6 @@ This article describes how to troubleshoot the chroot environment in the rescue
8689
8790
> [!NOTE]
8891
> If you receive the error message "unable to unmount /rescue," add the `-l` option to the `umount` command, for example, `umount -l /rescue`.
89-
> <br>The partition `/dev/sdc16` is uniquely present in Ubuntu 24.04. So this has to mounted before partition `/dev/sdc15`.
9092
9193
1. Detach the disk from the rescue VM and perform a disk swap with the original VM.
9294
1. Start the original VM and check its connectivity.

0 commit comments

Comments
 (0)