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

Comparing pbcdedit/pbcdedit (file contents):
Revision 1.57 by root, Thu Aug 22 09:07:24 2019 UTC vs.
Revision 1.58 by root, Thu Aug 22 09:09:12 2019 UTC

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 309
310This is how you would create a minimal hive with PBCDEDIT from Linux, 310This is how you would create a minimal hive with PBCDEDIT from within
311assuming F</dev/sda3> is the windows partition, using a random GUID for 311GNU/Linux, assuming F</dev/sdc3> is the windows partition, using
312the osloader and using C<partition> instead of C<legacypartition>: 312a random GUID for the osloader and using C<partition> instead of
313C<legacypartition>:
313 314
314 osldr="{$(uuidgen)}" 315 osldr="{$(uuidgen)}"
315 part=$(pbcdedit bcd-device /dev/sdc3) 316 part=$(pbcdedit bcd-device /dev/sdc3)
316 pbcdedit create minimal.bcd \ 317 pbcdedit create minimal.bcd \
317 set '{bootmgr}' default "$osldr" \ 318 set '{bootmgr}' default "$osldr" \
318 set "$osldr" type application::osloader \ 319 set "$osldr" type application::osloader \
319 set "$osldr" description 'Windows Boot' \ 320 set "$osldr" description 'Windows Boot' \
320 set "$osldr" device "$part" \ 321 set "$osldr" device "$part" \
321 set "$osldr" osdevice "$part" \ 322 set "$osldr" osdevice "$part" \
322 set "$osldr" path '\Windows\system32\windload.exe' \ 323 set "$osldr" path '\Windows\system32\winload.exe' \
323 set "$osldr" systemroot '\Windows' 324 set "$osldr" systemroot '\Windows'
324 325
325=head2 The C<meta> key 326=head2 The C<meta> key
326 327
327The C<meta> key is not stored in the BCD data store but is used only 328The C<meta> key is not stored in the BCD data store but is used only

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines