[SOLVED] Can't create hard link

Comments, questions, bug reports, etc.
Post Reply
mahdi
Posts: 2
Joined: Wed Mar 02, 2022 1:39 pm

[SOLVED] Can't create hard link

Post by mahdi »

Code: Select all

$ sudo wimlib-imagex apply '/home/m/Downloads/boot.wim'  1 /run/media/m/BEE6-6CB5/ --no-acls
[WARNING] Ignoring FILE_ATTRIBUTE_READONLY of 41 files
[WARNING] Ignoring FILE_ATTRIBUTE_HIDDEN of 283 files
[WARNING] Ignoring FILE_ATTRIBUTE_SYSTEM of 446 files
[WARNING] Ignoring FILE_ATTRIBUTE_NOT_CONTENT_INDEXED of 6 files
[WARNING] Ignoring DOS names of 14201 files
Applying image 1 ("Win10PE_x64") from "/home/m/Downloads/boot.wim" to directory "/run/media/m/BEE6-6CB5/"
[ERROR] Can't create hard link "/run/media/m/BEE6-6CB5//Windows/System32/drivers/IntcAudioBus.sys" => "/run/media/m/BEE6-6CB5//Windows/System32/DriverStore/FileRepository/intcaudiobus.inf_amd64_7431ee5ad467abc0/IntcAudioBus.sys": Operation not permitted
ERROR: Exiting with error code 35:
       Failed to create a hard or symbolic link when extracting a file from the WIM.
Target is a USB drive
wimlib version: 1.13.5
OS: EndeavourOS
Last edited by mahdi on Thu Mar 03, 2022 4:24 am, edited 1 time in total.
mahdi
Posts: 2
Joined: Wed Mar 02, 2022 1:39 pm

Re: [ERROR] Can't create hard link

Post by mahdi »

I had ti use target as something like /dev/sdb1
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: [SOLVED] Can't create hard link

Post by synchronicity »

Yes, as documented the NTFS-3G image application mode works on a block device containing an NTFS filesystem directly, rather than a mounted filesystem.
chungy
Posts: 30
Joined: Mon Feb 15, 2016 3:40 am

Re: [SOLVED] Can't create hard link

Post by chungy »

A path like "/run/media/m/BEE6-6CB5/" suggests to me that the USB drive is formatted with FAT, which cannot support hard links in the first place.
Post Reply