USB drive has no partitions on it, only gpt table. It can not be busy.
Manjaro Linux.
OK 16:59:17 [barafu] ~/Downloads >>>
sudo ./windows2usb-0.1.5-x86_64.AppImage /dev/sdf Win10_1909_EnglishInternational_x64.iso gptntfs
== Working with ISO CCCOMA_X64FRE_EN-GB_DV9 ==
== Creating new GPT-formatted partition table ==
Checking that no-one is using this disk right now ... OK
Disk /dev/sdf: 15 GiB, 16059990016 bytes, 31367168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A37AA70F-3913-42AB-B4DD-341C49F5927E
Old situation:
>>> Script header accepted.
>>> Done.
Created a new GPT disklabel (GUID: 316AA4D1-FB0E-A641-98F6-DBF5C74D4C98).
New situation:
Disklabel type: gpt
Disk identifier: 316AA4D1-FB0E-A641-98F6-DBF5C74D4C98
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
== Creating UEFI FAT and Microsoft NTFS partitions ==
Checking that no-one is using this disk right now ... FAILED
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
sfdisk: Use the --force flag to overrule all checks.
umount: /run/windows2usb.LIK5PVuVWl: not mounted.
Error 1 16:59:21 [barafu] ~/Downloads >>>
USB drive has no partitions on it, only gpt table. It can not be busy.
Manjaro Linux.
```
OK 16:59:17 [barafu] ~/Downloads >>>
sudo ./windows2usb-0.1.5-x86_64.AppImage /dev/sdf Win10_1909_EnglishInternational_x64.iso gptntfs
== Working with ISO CCCOMA_X64FRE_EN-GB_DV9 ==
== Creating new GPT-formatted partition table ==
Checking that no-one is using this disk right now ... OK
Disk /dev/sdf: 15 GiB, 16059990016 bytes, 31367168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A37AA70F-3913-42AB-B4DD-341C49F5927E
Old situation:
>>> Script header accepted.
>>> Done.
Created a new GPT disklabel (GUID: 316AA4D1-FB0E-A641-98F6-DBF5C74D4C98).
New situation:
Disklabel type: gpt
Disk identifier: 316AA4D1-FB0E-A641-98F6-DBF5C74D4C98
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
== Creating UEFI FAT and Microsoft NTFS partitions ==
Checking that no-one is using this disk right now ... FAILED
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
sfdisk: Use the --force flag to overrule all checks.
umount: /run/windows2usb.LIK5PVuVWl: not mounted.
Error 1 16:59:21 [barafu] ~/Downloads >>>
```
Could it be you have automount configured somewhere in operating system (udisks?) or in desktop environment?
After you get this error, what shows mount command? Does it list the partition as mounted?
If not, this could be a race condition of some sort, try adding sleep 3
on line 227 of the file.
Could it be you have automount configured somewhere in operating system (udisks?) or in desktop environment?
After you get this error, what shows `mount` command? Does it list the partition as mounted?
If not, this could be a race condition of some sort, try adding
`sleep 3`
on line 227 of the file.
No, I checked that. Mount shows nothing, lsof shows nothing. And what can they show on a drive without partitions and fs table? I'll try editing the file soon.
No, I checked that. Mount shows nothing, lsof shows nothing. And what can they show on a drive without partitions and fs table? I'll try editing the file soon.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
USB drive has no partitions on it, only gpt table. It can not be busy.
Manjaro Linux.
Could it be you have automount configured somewhere in operating system (udisks?) or in desktop environment?
After you get this error, what shows
mountcommand? Does it list the partition as mounted?If not, this could be a race condition of some sort, try adding
sleep 3on line 227 of the file.
No, I checked that. Mount shows nothing, lsof shows nothing. And what can they show on a drive without partitions and fs table? I'll try editing the file soon.
So, have you tried? What's the result?
Any update?
I had the same issue, seems like adding sleep 3 worked.
Should be fixed in new version.