ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/pbcdedit/pbcdedit
(Generate patch)

Comparing pbcdedit/pbcdedit (file contents):
Revision 1.56 by root, Thu Aug 22 08:49:05 2019 UTC vs.
Revision 1.57 by root, Thu Aug 22 09:07:24 2019 UTC

304 } 304 }
305 305
306Note that minimal doesn't mean recommended - Windows itself will add stuff 306Note that minimal doesn't mean recommended - Windows itself will add stuff
307to this during or after boot, and you might or might not run into issues 307to this during or after boot, and you might or might not run into issues
308when installing updates as it might not be able to find the F<bootmgr>. 308when installing updates as it might not be able to find the F<bootmgr>.
309
310This is how you would create a minimal hive with PBCDEDIT from Linux,
311assuming F</dev/sda3> is the windows partition, using a random GUID for
312the osloader and using C<partition> instead of C<legacypartition>:
313
314 osldr="{$(uuidgen)}"
315 part=$(pbcdedit bcd-device /dev/sdc3)
316 pbcdedit create minimal.bcd \
317 set '{bootmgr}' default "$osldr" \
318 set "$osldr" type application::osloader \
319 set "$osldr" description 'Windows Boot' \
320 set "$osldr" device "$part" \
321 set "$osldr" osdevice "$part" \
322 set "$osldr" path '\Windows\system32\windload.exe' \
323 set "$osldr" systemroot '\Windows'
309 324
310=head2 The C<meta> key 325=head2 The C<meta> key
311 326
312The C<meta> key is not stored in the BCD data store but is used only 327The C<meta> key is not stored in the BCD data store but is used only
313by PBCDEDIT. It is always generated when exporting, and importing will 328by PBCDEDIT. It is always generated when exporting, and importing will

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines