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
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,9 @@ description: Explains why Linux VM can't start and how to solve the problem.
4
4
services: virtual-machines
5
5
documentationcenter: ''
6
6
author: saimsh-msft
7
+
ms.author: saimsh
7
8
manager: dcscontentpm
9
+
ms.reviewer: divargas
8
10
tags: ''
9
11
ms.custom: sap:My VM is not booting, linux-related-content
10
12
ms.service: azure-virtual-machines
@@ -13,8 +15,7 @@ ms.topic: troubleshooting
13
15
ms.workload: infrastructure-services
14
16
ms.tgt_pltfrm: vm-linux
15
17
ms.devlang: azurecli
16
-
ms.date: 02/19/2025
17
-
ms.author: saimsh
18
+
ms.date: 02/26/2025
18
19
---
19
20
20
21
# Troubleshoot Linux VM boot issues due to fstab errors
@@ -112,13 +113,17 @@ Azure Linux Auto Repair (ALAR) scripts are part of the VM repair extension descr
112
113
The ALAR scripts use the repair extension `repair-button` to fix fstab issues by specifying `--button-command fstab`. This parameter triggers the automated recovery. Implement the following steps to automate fstab errors via the offline ALAR approach:
113
114
114
115
```azurecli-interactive
115
-
az vm repair repair-button --button-command fstab --verbose rgtest --name vmtest
116
+
az extension add -n vm-repair
117
+
az extension update -n vm-repair
118
+
az vm repair repair-button --button-command 'fstab' --verbose $RGNAME --name $VMNAME
116
119
```
117
120
118
121
> [!NOTE]
119
-
> - Replace the resource group name `rgtest` and VM name `vmtest` accordingly.
120
-
> - 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 to boot the system.
121
-
> - 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.
122
+
> Replace the resource group name `$RGTEST` and VM name `$VMNAME` accordingly.
123
+
124
+
* 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 to boot the system.
125
+
* After the OS starts successfully, review and edit the `/etc/fstab` file to fix any errors that might have prevented a proper reboot.
126
+
* Finally, the `repair-button` script will automatically delete the resource group containing the repair VM.
0 commit comments