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
@@ -34,13 +34,13 @@ You can't log in to the VM, and you receive a message that indicates that the pa
34
34
35
35
2. Connect to the troubleshooting VM using Remote Desktop.
36
36
37
-
3.Run the following SSH command on the troubleshooting VM to become a super-user.
37
+
3.Run the following SSH command on the troubleshooting VM to become a super-user.
38
38
39
39
```bash
40
40
sudo su
41
41
```
42
42
43
-
4.Run **fdisk -l** or look at system logs to find the newly attached disk. Locate the drive name to mount. Then on the temporal VM, look in the relevant log file.
43
+
4.Run **fdisk -l** or look at system logs to find the newly attached disk. Locate the drive name to mount. Then on the temporal VM, look in the relevant log file.
44
44
45
45
```bash
46
46
grep SCSI /var/log/kern.log (ubuntu)
@@ -53,19 +53,19 @@ You can't log in to the VM, and you receive a message that indicates that the pa
53
53
kernel: [ 9707.100572] sd 3:0:0:0: [sdc] Attached SCSI disk
54
54
```
55
55
56
-
5.Create a mount point called **tempmount**.
56
+
5.Create a mount point called **tempmount**.
57
57
58
58
```bash
59
59
mkdir /tempmount
60
60
```
61
61
62
-
6.Mount the OS disk on the mount point. You usually need to mount *sdc1* or *sdc2*. This will depend on the hosting partition in */etc* directory from the broken machine disk.
62
+
6.Mount the OS disk on the mount point. You usually need to mount *sdc1* or *sdc2*. This will depend on the hosting partition in */etc* directory from the broken machine disk.
63
63
64
64
```bash
65
65
mount /dev/sdc1 /tempmount
66
66
```
67
67
68
-
7.Create copies of the core credential files before making any changes:
68
+
7.Create copies of the core credential files before making any changes:
69
69
70
70
```bash
71
71
cp /etc/passwd /etc/passwd_orig
@@ -76,13 +76,13 @@ You can't log in to the VM, and you receive a message that indicates that the pa
0 commit comments