注æ
ä½ããã£ã¦ããã®ãåãããªãæ¹ã¯æãåºããªãã§ãã ããã (極ãã¦ç¹æ®ãªã±ã¼ã¹ãé¤ãããããªè¨å®ã®å¿ è¦ã¯ããã¾ããã)
ã¯ããã«
- Windowsã®ã¤ã³ã¹ãã¼ã©ã®å®è¡ä¸ã«Shift+F10ãæ¼ãã¨ã³ãã³ãããã³ãããéãã¾ãã ããã§ãã¼ãã£ã·ã§ã³ã®è¨å®ã«ã¤ãã¦ãããããã¨é å¼µãã¾ãã
- Windowsã¤ã³ã¹ãã¼ã©ãdiskpartã®MBåä½ã§ã®æå®ã§ãããå®éã¯1MiB(220ãã¤ã)åä½ã®æå®ã§ãã
- 調ã¹ãéãã§ã§ãããWindowsã®ã¤ã³ã¹ãã¼ã©ã¯ä½æãããã¼ãã£ã·ã§ã³ã«å¯¾ãã¦ããªã¥ã¼ã ãã¼ã ãè¨å®ãã¾ããã ããªã¥ã¼ã ãã¼ã ã«ã¤ãã¦æ©ãå¿ è¦ã¯æããããã¾ããã
- ãã ããã®ããæ¹ã«ã¯å¸¸èã ã¨æãã¾ãããGPTã§ã¯ãã£ã¹ã¯ã®å é ã ãã§ãªããæ«å°¾ã®33ã»ã¯ã¿ã使ãããã®ã§ããã¼ãã£ã·ã§ã³ã®è¨å®ã§ã¯ãã®ç¹ãèæ ®ããå¿ è¦ãããã¾ãã
- PiKVMã®ãããªãå¥ã®PCããã³ããå ¥åãã§ãããã¼ãã¼ããããã¨ä½æ¥ãå ¨ç¶æ¥½ã«ãªãã¾ããç¹ã«å復ãã¼ãã£ã·ã§ã³ã®GUIDãattributesã®æå ¥åã¯å¤§å¤ãã¤å±éºã§ãã ãã®æã®ãã¼ãã使ããªããã°ãå±éºãæ¿ç¥ã§é å¼µã£ã¦æå ¥åããããdiskpartã¹ã¯ãªããããããããUSBã¡ã¢ãªã«ä¿åãã¦ããããã¡ãã使ããã¨ã«ãªãã¾ãã
ãã¼ãã£ã·ã§ã³ã®é åº
æªä½¿ç¨ã®ãã¼ããã£ã¹ã¯ã«Windowsãã¤ã³ã¹ãã¼ã«ããã¨ã(1) ESPã(2) MSRã(3) Cãã©ã¤ãã(4) å復ãã¼ãã£ã·ã§ã³ãã®é ã§ãã¼ãã£ã·ã§ã³ãä½æããã¾ãããããã¨åãé åºãè¯ãã¨æãã¾ãã
å¥æ¡ã¨ãã¦ãESPãMSRããã£ã¹ã¯ã®å¾ãã®æ¹ã«æã£ã¦ããæ¹æ³ãèãããããã®ã®ãæ¨æºçãªã¤ã³ã¹ãã¼ã«ã¨ã¯éããã¼ãã£ã·ã§ã³ã®é åºã«ããã®ã¯æä½ãã¹ã«ç¹ããçãå±ãªãæãããã¾ãã
ãã£ã¹ã¯ã®åæå(æ¢åãã¼ãã£ã·ã§ã³ã®å ¨åé¤)
å®éã«åæåãå¿ è¦ãã©ããã¯åèªã®å¤æã«ãä»»ãããã¨ãã¦ãdiskpartã§ã®æé ã¯ä»¥ä¸ã®éãã§ãã cleanã³ãã³ãã§ã¯ç¢ºèªãªãã«æ¢åã®ãã¼ãã£ã·ã§ã³ãã¼ãã«ãåé¤ãããã®ã§è¦æãã¦ãã ããã
list disk # ãã£ã¹ã¯ã®ä¸è¦§ã表示ãããã®ã§ãã¤ã³ã¹ãã¼ã«å ã®ãã£ã¹ã¯ã®çªå·ãæ¢ã select disk X # Xã«ã¯ã¤ã³ã¹ãã¼ã«å ã®ãã£ã¹ã¯ã®çªå·ãæå®ãã clean convert gpt
æè¿ã¯ã¤ã³ã¹ãã¼ã«ã«USBã¡ã¢ãªã使ããã¨ããã£ã¦ãã¤ã³ã¹ãã¼ã«å ã®ãã£ã¹ã¯ã®çªå·ã0以å¤ã®ãã¨ãçããããã¾ããã0ãä»®å®ããæ¢åã®diskpartã¹ã¯ãªããããã®ã¾ã¾ä½¿ããªããã¨ãå¢ãã¾ããã
ãªãã以ä¸ã«ç¤ºãdiskpartã§ã¯ãä¸è¨ã¨åæ§ã®select disk
ã³ãã³ãã«ãã対象ã¨ãªããã£ã¹ã¯ãé¸æããã¦ãããã®ã¨ãã¾ãã
ã¡ãªã¿ã«ãdiskpartã®create partitionã³ãã³ãã¯ä½æãããã¼ãã£ã·ã§ã³ãé¸æããã®ã§ãä½æ¥ã§select paritionã¯ä¸è¦ãªãã¨ãå¤ãã§ãã
ESPã®ä½æ
大æµã®PCç°å¢ã§ã¯100MiBã«ãªãã¾ãããå é ã1MiBã®ä½ç½®ã§æ°æã¡ããããã¾ããã 1MiBã§ã¯ãªã4MiBã§ã¢ã©ã¤ã³ããããªãã§ããï¼
ç¶ãMSRãã¼ãã£ã·ã§ã³ã®ãµã¤ãºã16MiBã§ãããã¨ãèããã¨ãå é 4MiBããµã¤ãº108MiBã§ã©ãã§ãããã ãã ããéå§ä½ç½®ããµã¤ãºãå¤ããããã«ã¯diskpartã«ããæä½æ¥ãå¿ è¦ã«ãªãã¾ãã
create partition efi offset=4096 size=108 format quick fs=fat32
æ¬å½ã«100MiBãå¿ è¦ãªã®ãã¯æ°ã«ãªãã¾ãããå¾ã§ãµã¤ãºãå¤ããã®ã¯é¢åãªã®ã§ãç´ ç´ã«100MiB以ä¸ã§ä½ãæ¹ãç¡é£ããã§ãã
å¥æ¡ã¨ãã¦ãEPSã¯ããã©ã«ãã®100MiBã®ã¾ã¾ãCãã©ã¤ãã®å é ä½ç½®ã¯MSRã®ãµã¤ãºã§èª¿æ´ããæ¹æ³ãæãæµ®ãã³ã¾ãã ãã ãESPã¯ããã¨ããã¨ãã®ãã¡ã¤ã«ç½®ãå ´ã¨ãã¦ã使ããã®ã§(FAT32ãªã®ã§)ãESPã®ãµã¤ãºã§èª¿æ´ããæ¹ãè¯ãã¨æãã¾ãã
MSRãã¼ãã£ã·ã§ã³ã®ä½æ
ç¶ãMSRãã¼ãã£ã·ã§ã³ã¯é常16MiBã§ãã Cãã©ã¤ããdiskpartã§ä½ãããã«ã¯ãã®åã«æ¥ãMSRãäºãä½ã£ã¦ããå¿ è¦ãããã¾ãã MSRãã¼ãã£ã·ã§ã³ã®ãã©ã¼ãããã¯ä¸è¦ã§ãã
create partition msr size=16
Cãã©ã¤ã
ã¢ã©ã¤ã³çãèæ ®ãã¤ã¤ãã好ããªãµã¤ãºã§ã ãã¡ãããå¾è¿°ããå復ãã¼ãã£ã·ã§ã³ã«å¿ è¦ãªé åã¯æ®ãå¿ è¦ãããã¾ãã
ã¾ããCãã©ã¤ãç¨ã®ãã¼ãã£ã·ã§ã³ã§ãããWindowsã¤ã³ã¹ãã¼ã«ã®ç´åã«ä¸æ¦åé¤ãã¦ãããã«ããã§ããæªä½¿ç¨é åãæå®ãã¦Windowsãã¤ã³ã¹ãã¼ã«ããæ¹ãè¯ãããããã¾ããã ãã®å ´åãdiskpartã§ãã¼ãã£ã·ã§ã³ãä½æããéã®ãã©ã¼ãããã¯ä¸è¦ã§ãã
create partition primary size=XXXX
ã¡ãªã¿ã«ãã ããã®ãªãå ´åã¯ãCãã©ã¤ãã®ãã¼ãã£ã·ã§ã³ãä¸æ¦æ大ãµã¤ãºã§ä½æãããã®å¾ã§å復ãã¼ãã£ã·ã§ã³ã®ãµã¤ãºåã ãã·ã¥ãªã³ã¯ããæé ãä¸è¬çãªããã§ãã
(åè) create partition primary shrink minimum=500
ããããã®æ¹æ³ã§ãã¨ãå復ãã¼ãã£ã·ã§ã³ã®ã¢ã©ã¤ã³ãæãéãã«ãªãã¾ããã
å復ãã¼ãã£ã·ã§ã³ã®ä½æ
Windowsã®ã¤ã³ã¹ãã¼ã©ãä½æããå復ãã¼ãã£ã·ã§ã³ã®ãµã¤ãºã¯ãã¼ã¸ã§ã³ä¾åã®ããã§ãã å復ãã¼ãã£ã·ã§ã³ã«å¿ è¦ãªãµã¤ãºã¯å¹´ã å¢ãã¦ããã®ã§ãå¾ã®ãã¨ãèããããã§ã¯1024MiBã«ãã¾ãã ãã¤ã¯ãã½ããã®ããã¥ã¡ã³ãã§ã¯æä½300MBã§ãWindowså復ç°å¢ãã¼ã«ã«ã¯è¿½å ã®ç©ºãé åã¨ãã¦æä½100MB(ãã ãæ¨å¥¨ã¯250MB)ãå¿ è¦ã¨ããã¦ãã¾ãããWindows 11 Pro (24H2)ãå®éã«ã¯ãªã¼ã³ã¤ã³ã¹ãã¼ã«ããã¨ãããå復ãã¼ãã£ã·ã§ã³ã®ãµã¤ãºã¯685MiBã«ãªã£ãã®ã§ã1024MiBã¨ããã®ã¯ãããªãã«å¦¥å½ãªãµã¤ãºã ã¨æãã¾ãã å®éãæ¤ç´¢ããã¨1GiBæ´¾ã¯çµæ§ããã£ãããããã§ãã ããããCãã©ã¤ãã®ç´å¾ã«é ç½®ããã®ã§ããã¡ãã¯å¾ã§ãµã¤ãºãå¤ããããªãããªãã§ãã
create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac size=1024 format quick fs=ntfs gpt attributes=0x8000000000000001
ãã®idã¨attributesã®å ¥åãä¸é£ã®ä½æ¥ã«ãããæ大ã®ãã¼ãã«ã ã¨æãã¾ãã