본문 바로가기
【Fundamental Tech】/Linux

How to boot from local disk using grub2 during a PXE boot

반응형

My grub.cfg currently looks like this:

  • Ubuntu: /EFI/ubuntu/grubx64.efi
  • CentOS: /EFS/centos/grubx64.efi
menuentry "Local Disk" {
        insmod chain
        search --set=root --file /EFI/centos/grubx64.efi    # CentOS
        chainloader /EFI/centos/grubx64.efi
}
반응형