This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Proxmox VE 9 NUC grub 복구 스크립트 | |
echo "===== Proxmox grub 자동 복구 시작 =====" | |
# 1️⃣ 루트 파티션 / ZFS 자동 감지 | |
ROOT_PART="" | |
ZFS_POOL="" | |
if command -v zpool >/dev/null 2>&1; then | |
for pool in $(zpool list -H -o name); do |