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

Comparing pbcdedit/pbcdedit (file contents):
Revision 1.15 by root, Wed Aug 14 23:28:29 2019 UTC vs.
Revision 1.16 by root, Wed Aug 14 23:28:52 2019 UTC

637 locate=<null>,path,\disk.vhdx 637 locate=<null>,path,\disk.vhdx
638 638
639First, the innermost device descriptor searches all partitions on the 639First, the innermost device descriptor searches all partitions on the
640system for a file called F<\disk.vhdx>: 640system for a file called F<\disk.vhdx>:
641 641
642 block=file,<I<see above>>,\disk.vhdx 642 block=file,<see above>,\disk.vhdx
643 643
644Next, this takes the device locate has found and finds a file called 644Next, this takes the device locate has found and finds a file called
645F<\disk.vhdx> on it. This is the same file locate was using, but that is 645F<\disk.vhdx> on it. This is the same file locate was using, but that is
646only because we find the device using the same path as finding the disk 646only because we find the device using the same path as finding the disk
647image, so this is purely incidental, although quite common. 647image, so this is purely incidental, although quite common.
648 648
649Next, this file will be opened as a virtual disk: 649Next, this file will be opened as a virtual disk:
650 650
651 block=vhd,<I<see above>> 651 block=vhd,<see above>
652 652
653And finally, inside this disk, another C<locate> will look for a partition 653And finally, inside this disk, another C<locate> will look for a partition
654with a path as specified in the C<path> element, which most likely will be 654with a path as specified in the C<path> element, which most likely will be
655F<\Windows\system32\winload.exe>: 655F<\Windows\system32\winload.exe>:
656 656
657 locate=<I<see above>>,element,path 657 locate=<see above>,element,path
658 658
659As a result, this will boot the first Windows it finds on the first 659As a result, this will boot the first Windows it finds on the first
660F<disk.vhdx> disk image it can find anywhere. 660F<disk.vhdx> disk image it can find anywhere.
661 661
662=item C<< locate=<block=vhd,<block=file,<partition=<null>,harddisk,mbr,47cbc08a,242643632128>,\win10.vhdx>>,element,path >> 662=item C<< locate=<block=vhd,<block=file,<partition=<null>,harddisk,mbr,47cbc08a,242643632128>,\win10.vhdx>>,element,path >>
666 666
667 partition=<null>,harddisk,mbr,47cbc08a,242643632128 667 partition=<null>,harddisk,mbr,47cbc08a,242643632128
668 668
669Then open the file F<\win10.vhdx> on that partition: 669Then open the file F<\win10.vhdx> on that partition:
670 670
671 block=file,<I<see above>>,\win10.vhdx 671 block=file,<see above>,\win10.vhdx
672 672
673Then, again, the file is opened as a virtual disk image: 673Then, again, the file is opened as a virtual disk image:
674 674
675 block=vhd,<I<see above>> 675 block=vhd,<see above>
676 676
677And again the windows loader (or whatever is in C<path>) will be searched: 677And again the windows loader (or whatever is in C<path>) will be searched:
678 678
679 locate=<I<see above>>,element,path 679 locate=<see above>,element,path
680 680
681=item C<< {b097d2b2-bc00-11e9-8a9a-525400123456}block<1>=ramdisk,<partition=<null>,harddisk,mbr,47cbc08a,242643632128>,0,0,0,\boot.wim >> 681=item C<< {b097d2b2-bc00-11e9-8a9a-525400123456}block<1>=ramdisk,<partition=<null>,harddisk,mbr,47cbc08a,242643632128>,0,0,0,\boot.wim >>
682 682
683This is quite different. First, it starts with a GUID. This GUID belongs 683This is quite different. First, it starts with a GUID. This GUID belongs
684to a BCD object of type C<device>, which has additional parameters: 684to a BCD object of type C<device>, which has additional parameters:
700 700
701 partition=<null>,harddisk,mbr,47cbc08a,242643632128 701 partition=<null>,harddisk,mbr,47cbc08a,242643632128
702 702
703And then specifies a C<ramdisk> image on this partition: 703And then specifies a C<ramdisk> image on this partition:
704 704
705 block<1>=ramdisk,<I<see above>>,0,0,0,\boot.wim 705 block<1>=ramdisk,<see above>,0,0,0,\boot.wim
706 706
707I don't know what the purpose of the C<< <1> >> flag value is, but it 707I don't know what the purpose of the C<< <1> >> flag value is, but it
708seems to be always there on this kind of entry. 708seems to be always there on this kind of entry.
709 709
710If you have some good examples to add here, feel free to mail me. 710If you have some good examples to add here, feel free to mail me.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines