Rbcc56 Posted 20 hours ago Posted 20 hours ago While I was on the web trying to get a piece of code to work for %%i in (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist "%%i:\fartyname.txt" set usbletter=%%i ) Dism /apply-image /imagefile:%usbletter%:\sources\install.wim /index:6 /ApplyDir:C:\ bcdboot c:\windows /s S: /f all I keep getting an error that seems to point to the [S:] https://commandmasters.com/commands/bcdboot-windows/: /s S:: Denotes the system partition where the boot files should be installed. Is this where the boot file are copied or where they are Originated? /f all: This argument instructs bcdboot to prepare the boot files to support UEFI firmware type. C:\Windows: Again, this specifies the Windows directory from which to copy the required boot files. Should this be where they are originally [C:\Windows]? Should the S: Partition be active?? John
Tripredacus Posted 8 hours ago Posted 8 hours ago You only use the /s or /f option on GPT disk partition layout. You cannot make a partition active on a GPT disk.
Rbcc56 Posted 2 hours ago Author Posted 2 hours ago 5 hours ago, Tripredacus said: You only use the /s or /f option on GPT disk partition layout. but not both? am I right?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now