RHEL 7.2와 Windows 10을 설치했습니다. Windows 10이 설치된 후 RHEL이 올바르게 설치되어 제대로 작동했습니다. 이제 40_custom
시작 시 표시되도록 파일 Windows 옵션을 구성했지만 Windows 10을 선택하면 오류가 표시됩니다.
An operating system was not found. Try disconnecting any drive that don't contain an operating system.
내 /etc/grub/40_custom
파일 항목은 다음과 같습니다
menuentry "windows 10" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root B4FC1483FC1441D2
chainloader +1
}
내 blkid
명령은 다음과 같이 세부 정보를 표시합니다.
/dev/sda1: LABEL="SYSTEM_DRV" UUID="6010-8D9E" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="bcba126d-db37-4ce3-8d7c-bbe60c532d01"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="50d92595-2f86-4524-b41d-f000a418942d"
/dev/sda3: LABEL="Windows" UUID="B4FC1483FC1441D2" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="68463e8d-ee49-46ae-9aed-f73a4745ed09"
/dev/sda4: LABEL="LENOVO" UUID="462E5C292E5C13F1" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="c7d64ac1-eb24-4f2b-8641-71505a0272df"
/dev/sda5: LABEL="WINRE_DRV" UUID="FCDA1684DA163B7A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="819bc20d-bf85-4108-bc68-77bdf2bb587e"
/dev/sda6: PARTUUID="6d39590b-c929-4be2-a70d-bcdd2f5a2466"
/dev/sda7: UUID="36923994-c0b2-4611-9296-ecbc5aca194a" TYPE="xfs" PARTUUID="59b6c4e4-d481-44e1-a9f8-61ae77b87c59"
/dev/sda8: UUID="cwCIH2-v4lZ-aRAD-y4iy-5BVE-cxdW-4bESf5" TYPE="LVM2_member" PARTUUID="44880cbc-4c41-424d-9c14-a9a57ff7ab76"
/dev/mapper/rhel-root: UUID="e742b9d8-09ae-42de-bfbf-2a38db682764" TYPE="xfs"
/dev/mapper/rhel-swap: UUID="abebad3e-00bb-416e-8420-8495b8d3564d" TYPE="swap"
내 fdisk -l
명령은 다음 세부 정보를 표시합니다.
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
# Start End Size Type Name
1 2048 534527 260M EFI System EFI system partition
2 534528 567295 16M Microsoft reser Microsoft reserved partition
3 567296 3642836991 1.7T Microsoft basic Basic data partition
4 3852552192 3904980991 25G Microsoft basic Basic data partition
5 3904980992 3907028991 1000M Windows recover Basic data partition
6 3642836992 3642841087 2M BIOS boot parti
7 3642841088 3643621375 381M Microsoft basic
8 3643621376 3852552191 99.6G Linux LVM
Disk /dev/mapper/rhel-root: 99.0 GB, 98968797184 bytes, 193298432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/rhel-swap: 8002 MB, 8002732032 bytes, 15630336 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
답변1
RHEL을 부팅하고 설치하기 위해 레거시 부팅을 사용하고 있는 것 같습니다. UEFI를 사용하여 기존 운영 체제를 부팅하기 때문에 이 방법은 작동하지 않습니다. 부팅하려면 UEFI를 사용하는 RHEL을 다시 설치해야 합니다.