search for: fix_win_uefi_bcd

Displaying 3 results from an estimated 3 matches for "fix_win_uefi_bcd".

2016 Jun 10
0
Re: [PATCH 2/2] v2v: remove the 'graphicsmodedisabled' entry in ESP BCD
...s.ml > index 62bb536..8579240 100644 > --- a/v2v/convert_windows.ml > +++ b/v2v/convert_windows.ml > @@ -466,6 +466,45 @@ if errorlevel 3010 exit /b 0 > ignore (g#pwrite_device rootpart bytes 0x1a_L) > ) > ) > + > + and fix_win_esp () = > + let fix_win_uefi_bcd esp_path = > + try > + let bcd_path = "/EFI/Microsoft/Boot/BCD" in > + Windows.with_hive_write g (esp_path ^ bcd_path) ( > + (* Remove the 'graphicsmodedisabled' key in BCD *) > + fun root -> > + let path = ["...
2016 Jun 12
0
Re: [PATCH v2 2/2] v2v: remove the 'graphicsmodedisabled' entry in ESP BCD
...let esp_temp_path = g#mkdtemp "/Windows/Temp/ESP_XXXXXX" in > + > + match inspect.i_firmware with > + | I_BIOS -> () > + | I_UEFI esp_list -> > + List.iter ( > + fun dev_path -> > + g#mount dev_path esp_temp_path; > + fix_win_uefi_bcd esp_temp_path; > + g#umount esp_temp_path; > + ) esp_list; > + > + g#rmdir esp_temp_path; doesn't do what you think. The match statement extends all the way through to the g#rmdir, so g#rmdir will only be executed along the I_UEFI path. My solution to this was to m...
2017 Feb 18
11
[PATCH 0/8] Miscellaneous cleanups to Windows registry code.
A very miscellaneous set of cleanups to how we handle the Windows registry in virt-v2v, firstboot, and inspection code. This should all be straightforward non-controversial refactoring. Some highlights: - Add a new mllib Registry module containing various utility functions that are currently scattered all around. - Only compute the software/system hive paths once during inspection, and