We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f42df8 commit 1c8c04eCopy full SHA for 1c8c04e
README.md
@@ -80,12 +80,6 @@ nano VARIABLES.sh
80
81
replace the root variable with the output of pwd up until and including the WSAGAScript folder
82
83
-**Debian WSL users need to create an mtab symlink:**
84
-
85
-```bash
86
-sudo ln -s /proc/self/mounts /etc/mtab
87
-```
88
89
### Run the scripts
90
91
```bash
extend_and_mount_images.sh
@@ -2,6 +2,12 @@
2
3
. ./VARIABLES.sh
4
5
+if [[ ! /proc/self/mounts -ef /etc/mtab ]]; then
6
+ printf "/etc/mtab doesn't exist or is invalid\n"
7
+ printf 'creating valid /etc/mtab\n'
8
+ ln -sf /proc/self/mounts /etc/mtab
9
+fi
10
+
11
echo "chk product.img"
12
e2fsck -f $ImagesRoot/product.img
13
0 commit comments