WSA-Community / WSAGAScript

Scripts to install Google Apps into a WSA image. Plus optional root
The Unlicense
3.57k stars 3.51k forks source link

Cannot run ./extend_and_mount_images.sh #129

Open RocketLauncher21 opened 2 years ago

RocketLauncher21 commented 2 years ago

Hi whenever i try to run ./extend_and_mount_images.sh i get this error:

chk product.img
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
product: 122/128 files (0.0% non-contiguous), 56011/56180 blocks
Resizing product.img
resize2fs 1.45.5 (07-Jan-2020)
Resizing the filesystem on /mnt/z/WSAGapps/#IMAGES/product.img to 262144 (4k) blocks.
The filesystem on /mnt/z/WSAGapps/#IMAGES/product.img is now 262144 (4k) blocks long.

chk system.img
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/: ***** FILE SYSTEM WAS MODIFIED *****
/: 3542/3584 files (0.3% non-contiguous), 223122/239489 blocks
Resizing system.img
resize2fs 1.45.5 (07-Jan-2020)
Resizing the filesystem on /mnt/z/WSAGapps/#IMAGES/system.img to 327680 (4k) blocks.
The filesystem on /mnt/z/WSAGapps/#IMAGES/system.img is now 327680 (4k) blocks long.

chk system_ext.img
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
system_ext: 87/96 files (0.0% non-contiguous), 22683/22752 blocks
Resizing system_ext.img
resize2fs 1.45.5 (07-Jan-2020)
Resizing the filesystem on /mnt/z/WSAGapps/#IMAGES/system_ext.img to 27648 (4k) blocks.
The filesystem on /mnt/z/WSAGapps/#IMAGES/system_ext.img is now 27648 (4k) blocks long.

chk vendor.img
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information

vendor: ***** FILE SYSTEM WAS MODIFIED *****
vendor: 1142/1152 files (0.7% non-contiguous), 72520/72739 blocks
Resizing vendor.img
resize2fs 1.45.5 (07-Jan-2020)
Resizing the filesystem on /mnt/z/WSAGapps/#IMAGES/vendor.img to 76800 (4k) blocks.
The filesystem on /mnt/z/WSAGapps/#IMAGES/vendor.img is now 76800 (4k) blocks long.

Creating mount point for product
Creating mount point for system_ext
Creating mount point for system
Creating mount point for vendor
Mounting product
mount: /mnt/product: mount failed: Operation not permitted.
Mounting system_ext
mount: /mnt/system_ext: mount failed: Operation not permitted.
Mounting system
mount: /mnt/system: mount failed: Operation not permitted.
Mounting vendor
mount: /mnt/vendor: mount failed: Operation not permitted.
!! Images mounted !!
root@DESKTOP-VT4HTK7:/mnt/z/WSAGapps# ./extend_and_mount_images.sh
chk product.img
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
product: 122/512 files (0.0% non-contiguous), 56053/262144 blocks
Resizing product.img
resize2fs 1.45.5 (07-Jan-2020)
The filesystem is already 262144 (4k) blocks long.  Nothing to do!

chk system.img
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/: 3542/4480 files (0.3% non-contiguous), 223184/327680 blocks
Resizing system.img
resize2fs 1.45.5 (07-Jan-2020)
The filesystem is already 327680 (4k) blocks long.  Nothing to do!

chk system_ext.img
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
system_ext: 87/96 files (0.0% non-contiguous), 22683/27648 blocks
Resizing system_ext.img
resize2fs 1.45.5 (07-Jan-2020)
The filesystem is already 27648 (4k) blocks long.  Nothing to do!

chk vendor.img
e2fsck 1.45.5 (07-Jan-2020)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
vendor: 1142/1152 files (0.7% non-contiguous), 72520/76800 blocks
Resizing vendor.img
resize2fs 1.45.5 (07-Jan-2020)
The filesystem is already 76800 (4k) blocks long.  Nothing to do!

Creating mount point for product
Creating mount point for system_ext
Creating mount point for system
Creating mount point for vendor
Mounting product
mount: /mnt/product: mount failed: Operation not permitted.
Mounting system_ext
mount: /mnt/system_ext: mount failed: Operation not permitted.
Mounting system
mount: /mnt/system: mount failed: Operation not permitted.
Mounting vendor
mount: /mnt/vendor: mount failed: Operation not permitted.
!! Images mounted !!
Winand commented 2 years ago

root@DESKTOP-VT4HTK7:/mnt/z/WSAGapps# ./extend_and_mount_images.sh

Did you prepend command with sudo? sudo ./extend_and_mount_images.sh

InferusAnima commented 2 years ago

@WindowsShadows you don't have wsl2 installed, you can check version of your wsl by typing wsl -l -v, make sure that you properly installed wsl2