Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
I normally write the Debian 10.3 iso file onto a flash disk to be bootable with the Debian but once a while I need to covert the flash disk into NTFS filesystem to save files on the disk to be viewable on Windows OS.
I normally use gparted to convert the flash disk into NTFS but once the filesystem conversion is done,I am forced to reboot my machine for the flash disk to be mounted and viewed as an NTFS disk.As expected,its cumbersome to keep rebooting my machine to effect his change and have been exploring the workaround of using partprobe and kpart commands to re-read the partition table but I am still forced to reboot machine.I have run the commands above as shown with no effect
~# wipefs -af /dev/sdb*
/dev/sdb: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sdb1: 8 bytes were erased at offset 0x00000003 (ntfs): 4e 54 46 53 20 20 20 20
/dev/sdb1: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
Then I created a new MSDOS partition then created an NTFS partition both using gparted.Next I run partprobe and kpartx.When I unplug then replug the USB,it does not load from files menu and I am still forced to reboot the machine for the USB to load
Did you unmount any mounted filesystem on the USB drive before 1) repartitioning and reformating it and 2) before unplugging it ?
Why on earth do you use kpartx ?
p.H wrote:Did you unmount any mounted filesystem on the USB drive before 1) repartitioning and reformating it and 2) before unplugging it ?
Why on earth do you use kpartx ?
Surprisingly,When I ran the umount command before running the wipefs command it would state device not mounted yet I can see the device from gparted.
I also noticed that once I formatted and unplugged the USD,its visible when I plug it to a Windows machine but not visible on linux and have to reboot linux for it to be seen.