Skip to content

Unable to open == get_dev_partition_num: INTERNAL ERROR ==, No such file or directory #24

@ilyaigpetrov

Description

@ilyaigpetrov
sudo ./windows2usb-0.2-x86_64.AppImage /dev/sdc ./Win10_21H2_Russian_x64.iso mbr
 == Working with ISO CCCOMA_X64FRE_RU-RU_DV9 ==                                 
 == Creating new MBR-formatted partition table ==                               
Checking that no-one is using this disk right now ... OK                        
                                                                                
Disk /dev/sdc: 15,1 GiB, 16231956480 bytes, 31703040 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: dos                                                             
Disk identifier: 0xa3382964                                                     
                                                                                
Old situation:                                                                  
                                                                                
Device     Boot Start      End  Sectors  Size Id Type                           
/dev/sdc1  *     2048 31703039 31700992 15,1G  7 HPFS/NTFS/exFAT                
                                                                                
>>> Script header accepted.                                                     
>>> Done.                                                                       
Created a new DOS disklabel with disk identifier 0x718e8e9c.
                                                                       [229/478]
New situation:
Disklabel type: dos
Disk identifier: 0x718e8e9c

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
 == Waiting 3 seconds to settle new partition layout ==
 == Creating FAT partition ==
Checking that no-one is using this disk right now ... OK

Disk /dev/sdc: 15,1 GiB, 16231956480 bytes, 31703040 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: dos
Disk identifier: 0x718e8e9c

Old situation:

>>> Created a new DOS disklabel with disk identifier 0x9e972e02.
/dev/sdc1: Created a new partition 1 of type 'HPFS/NTFS/exFAT' and of size 15,1 
GiB.                                                                   [206/478]
Partition #1 contains a vfat signature.
/dev/sdc2: Done.

New situation:
Disklabel type: dos
Disk identifier: 0x9e972e02

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1  *     2048 31703039 31700992 15,1G  7 HPFS/NTFS/exFAT

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
mkfs.fat 4.1 (2017-01-24)
 == Writing bootloader ==
Windows 7 master boot record successfully written to /dev/sdc
Unable to open  == get_dev_partition_num: INTERNAL ERROR ==, No such file or dir
ectory
umount: /run/windows2usb.WKahAnlA7P: not mounted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions