Closed shadww closed 3 weeks ago
We can format the drive from a linux computer with root access. Identify the block device with lsblk
then run
mkfs -t ext4 <block device>
(obviously, this will wipe everything on the drive)
I tried formatting in Linux using the mkfs command, which now gives me the previous invalid error. Formatting with the Windows tool still works.
Edit: I formatted the drive in termux itself using "mkfs -t ext4
Just checking, you used "sudo" when running the "mkfs" command right?
Yes I used sudo.
Edit: for now I cannot test any further due to battery of phone died, hopefully when I get new batch of pixel xl I will give it another try, For now, in windows and termux formatting it works.
i'll mark this as closed since you got it to work and the issue was the formatting step, thanks
Hi.
When trying to run the /mount_ext4.sh, I get an invalid argument error.
The drive is formatted and detected on /dev/block/sdg1
All commands run on termux with root granted by Magisik. Using pixel XL (marlin).
edit: I formated using gparted on linux.
edit2: It works now. I used the minitool partition software on windows and the stick was recognized this time.
I am wondering what is the correct way to format the USB on linux to ext4