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/linux-virtual-machine-cannot-start-fstab-errors.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.topic: troubleshooting
13
13
ms.workload: infrastructure-services
14
14
ms.tgt_pltfrm: vm-linux
15
15
ms.devlang: azurecli
16
-
ms.date: 04/15/2024
16
+
ms.date: 02/19/2025
17
17
ms.author: saimsh
18
18
---
19
19
# Troubleshoot Linux VM boot issues due to fstab errors
@@ -103,15 +103,14 @@ The ALAR scripts use the repair extension `repair-button` to fix fstab issues by
103
103
az vm repair repair-button --button-command fstab --verbose rgtest --name vmtest
104
104
```
105
105
106
-
>[!NOTE]
107
-
>The resource group name `rgtest` and VM name `vmtest` shown in these examples are placeholders and must be updated accordingly.
108
-
>The Repair VM script, in conjunction with the ALAR script, will temporarily create a Resource Group, a repair VM, and a copy of the OS disk from the affected VM. It backs up the original `/etc/fstab` file and modifies it—either by stripping out or commenting out data file system entries that aren't required for booting the system.
109
-
>After the OS starts successfully, review and edit the `/etc/fstab` file to correct any errors that may have prevented a proper reboot. Finally, the Resource Group containing the repair VM will be automatically deleted by the `repair-button` script.
110
-
106
+
> [!NOTE]
107
+
> Replace the resource group name `rgtest` and VM name `vmtest` accordingly.
108
+
> The Repair VM script, in conjunction with the ALAR script, will temporarily create a resource group, a repair VM, and a copy of the affected VM's OS disk. It backs up the original */etc/fstab* file and modifies it by removing or commenting out data file system entries that aren't required for booting the system.
109
+
> After the OS starts successfully, review and edit the */etc/fstab* file to fix any errors that might have prevented a proper reboot. Finally, The `repair-button` script will automatically delete the resource group containing the repair VM.
111
110
112
111
#### Use Manual Method
113
112
114
-
If both serial console and ALAR approach isn't possible or fails, the repair has to be performed manually. Follow the steps here to manually attach the OS disk to a recovery VM and swap the OS disk back to the original VM:
113
+
If both serial console and ALAR approach isn't possible or fails, the repair has to be performed manually. Follow the steps here to manually attach the OS disk to a recovery VM and swap the OS disk back to the original VM:
115
114
* [Attach the OS disk to a recovery VM using the Azure portal](./troubleshoot-recovery-disks-portal-linux.md)
116
115
* [Attach the OS disk to a recovery VM using Azure CLI](./troubleshoot-recovery-disks-linux.md)
0 commit comments