Comments (10)
I've yet to test the new bcdboot options, but after reading the documentation, the command looks sound.
You may want to consider adding a /p switch for those who may have existing grub2 or rEFInd boot loaders in place....or simply for those who want to preserve their existing boot order.
from osd.
Since I suck at git, I'll just link this: 61d9983
I think this is the relevant code currently in use. Will test tomorrow.
from osd.
Sorry for the screen glare, but my edit to Diskpart-FormatSystemPartition.ps1 is unnecessary as illustrated below.
In troubleshooting with diskpart/list volume, the S drive letter remains intact until Get-WindowsEdition
is called. Then it is dropped for some unknown reason.
from osd.
Confirmed, System partition is mapped to S: as detailed in New-OSDPartitionSystem
from osd.
Commenting lines 1087 and 1091 in OSDCloud.ps1 does the trick with regards to solving the original issue.
$SystemDrive | Remove-PartitionAccessPath -AccessPath "S:\"
Running diskpart/list volume again from OOBE doesn't show the letter, so I won't begin to understand when or why it's necessary.
EDIT: Upon further testing. All I can say is: 60% of the time, it works every time.
from osd.
Running diskpart/list volume again from OOBE doesn't show the letter, so I won't begin to understand when or why it's necessary.
Maybe I should have taken better notes and added them to the script, but removing the S: partition was necessary when I created this file, possibly for certain versions of WinPE10 had issues where S: was still visible after reboot, if I remember correctly. I'm not open to removing those two lines unless I can fully confirm there won't be any issues, and that will take some time testing previous versions of WinPE and previous versions of Windows
from osd.
Eeek. I think your latest commit foiled my testing.
EDIT: Scratch that. I'm still using OSD 23.5.18.1
Essentially my solution would have been to simply add the following line before nuking the S: volume mount.
In CMD:
bcdedit /set {bootmgr} device partition=s:
or in PS:
bcdedit /set '{bootmgr}' device partition=s:
from osd.
For reference, my reference was this:
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcd-system-store-settings-for-uefi
from osd.
from osd.
Closing this issue as complete with the latest release of OSD
from osd.
Related Issues (20)
- Unable to download driver from Microsoft Update Catalog HOT 9
- Missing latest Surface Models HOT 2
- WirelessConnect - Object is not set to an instance of an object. HOT 1
- DevGui - combobox for Edition is not working properly HOT 4
- Add method to update Store Apps automatically on first logon HOT 1
- Block-NoInternet function is providing false results HOT 4
- Lenovo failing to boot after driver installation HOT 1
- Link broken HOT 1
- Windows 11 23H2 Get-WindowsImage: The data is invalid HOT 3
- Saving OS and driverpacks to network share HOT 4
- SHA1 Hash Check of ESD file after download
- Start-OSDCloudGUI on HP Elitebook 860 G11 HOT 4
- Install all dot net feature updates durring install HOT 1
- Setup Complete Options for Start-OSDCloud with ZTI parameter HOT 1
- OSDCloud Azure is currently broken due to az account 3.00 HOT 2
- Multiple hard drive detection - M.2 nvme SSD/SATA SSD/HDD detection on main OSDCloud GUI with combo box HOT 5
- WinPE 10.1.26100.1 Error in Deployment phase Export HOT 3
- Using `Edit-OSDCloudWinPE -StartURL` breaks installation if the network is slow HOT 3
- case-insensitive HP DriverPack auto-detection via product HOT 2
- Length Error for HPCMSL HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osd.