Skip to content

Commit f3221e7

Browse files
authored
Merge pull request #8313 from divargas-msft/patch-5
AB#4165: Update linux-virtual-machine-cannot-start-fstab-errors.md
2 parents 29279fc + 391cb7c commit f3221e7

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

support/azure/virtual-machines/linux/linux-virtual-machine-cannot-start-fstab-errors.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ description: Explains why Linux VM can't start and how to solve the problem.
44
services: virtual-machines
55
documentationcenter: ''
66
author: saimsh-msft
7+
ms.author: saimsh
78
manager: dcscontentpm
9+
ms.reviewer: divargas
810
tags: ''
911
ms.custom: sap:My VM is not booting, linux-related-content
1012
ms.service: azure-virtual-machines
@@ -13,8 +15,7 @@ ms.topic: troubleshooting
1315
ms.workload: infrastructure-services
1416
ms.tgt_pltfrm: vm-linux
1517
ms.devlang: azurecli
16-
ms.date: 02/19/2025
17-
ms.author: saimsh
18+
ms.date: 02/26/2025
1819
---
1920

2021
# 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
112113
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:
113114

114115
```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
116119
```
117120

118121
> [!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.
122127

123128
#### Use the manual method
124129

0 commit comments

Comments
 (0)