OS Install for debug

1. Conmercial OS, Centos/Redhat/Fedora

  • rufus + ISO + GPT + OS label -> installer drive
  • installer driver + SSD
  • grubby --update-kernel=ALL --args=“console=tty0 console=ttyS0,115200n8 loglevel=8”
  • grubby --update-kernel=ALL --remove-args=“quiet”
  • cp /lib/systemd/system/serial-getty@.service /lib/systemd/system/serial-getty@.service.bak
  • sed ‘/ExecStart=/cExecStart=-/sbin/agetty -a root -8 -L %I 115200 $TERM’ -i /lib/systemd/system/serial-getty@.service

2. Debug OS, SVOS, fwts, openwrt

  • balenaEtcher.exe + .img
  • cp /lib/systemd/system/serial-getty@.service /lib/systemd/system/serial-getty@.service.bak
  • sed ‘/ExecStart=/cExecStart=-/sbin/agetty -a root -8 -L %I 115200 $TERM’ -i /lib/systemd/system/serial-getty@.service

3.ESXI OS

- rufus -> MBR + BIOS (UEFI-CSM) + VolumeLable(OS) + FileSystem(Fat32) + ClusterSize(16k)
- copy EXSI so contents to installer drive
- copy KS.cfg to installer drive
- SSH login, Enable ACPI debug
	echo "acpiEnableAmlDebugObject=1 acpiDbgLevel=1" >> /bootbank/boot.cfg

4. Windows 2019/2022/2016/Win10

  • For ISO files, take same as method 1
  • For wim files,
    • Make pen drive(Vol1-ESP removable part , Vol2 image part), change default Vol2 lable to OS
    • copy wim to OS part
    • startnet.cmd + select the wim and dest OS installer part
        1. bcdedit /debug on
        1. bcdedit /ems on
        1. bcdedit /dbgsettings serial debugport:1 baudrate:115200
        1. bcdedit.exe /set nointegritychecks ON
        1. bcdedit.exe /set TESTSIGNING ON