
최근에 새로운 Windows 10 OS를 설치했습니다. Windows 10을 설치한 후 듀얼 부팅을 위해 Ubuntu 14.04를 설치했습니다. 시스템을 다시 시작하면 grub 메뉴에 Ubuntu가 표시되고 목록 끝에 'Windows 복구 환경 로더(/dev/sda1)'가 있습니다.
Windows 10에 대한 옵션을 얻을 수 없습니다.
Windows 복구 환경을 선택하면 아무런 문제 없이 Windows로 부팅됩니다.
이 문제가 해결될 수 있는지 알고 싶습니다. 내 grub에 Windows 10 옵션을 추가하고 싶습니다.
나는 이미 update-grub을 시도했습니다.
다음은 부팅 복구 요약 링크입니다: http://paste.ubuntu.com/13285386/
fdisk -l의 출력
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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 identifier: 0x000a5b06
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 7 HPFS/NTFS/exFAT
/dev/sda2 1026048 1271128063 635051008 7 HPFS/NTFS/exFAT
/dev/sda3 1680728064 1953519615 136395776 7 HPFS/NTFS/exFAT
/dev/sda4 1271130110 1680728063 204798977 5 Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5 1271130112 1290659839 9764864 82 Linux swap / Solaris
/dev/sda6 1290661888 1680728063 195033088 83 Linux
Partition table entries are not in disk order
Disk /dev/sdc: 2063 MB, 2063597568 bytes
226 heads, 39 sectors/track, 457 cylinders, total 4030464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000efe8f
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 4030463 2014208 b W95 FAT32
답변1
Windows 복구 환경은 오해의 소지가 있는 이름일 뿐입니다..
GRUB는 시스템에 설치된 모든 부트 로더를 감지합니다.
처음으로 감지된 Windows 부트 로더는 다음을 가리킵니다.RE 승리.
GRUB에서 Windows 복구 환경을 선택하는 경우 -
... 전체 Windows 부팅 환경이 시작됩니다..
답변2
sudo os-prober
sudo update-grub
sudo reboot
답변3
복구 파티션에서 부트로더를 시작하는 자동 생성 구성보다 Windows 10 부팅을 위한 더 나은 grub 구성이 있는지는 모르겠지만 이름에 따르면 "Windows 복구 환경"은 의 출력에서 바로 나옵니다 os-prober
. 이는 대부분 쉘 스크립트의 스택입니다.
예전 BIOS/MBR 구성의 경우 관련 프로브는 /usr/lib/os-probes/mounted/20microsoft
.
(저는 Ubuntu 대신 Debian 8 "jessie"를 사용하고 있습니다. Ubuntu에서는 파일 경로가 올바르지 않을 수 있습니다.)
타협점은 update-grub
여전히 유용할 것이므로 일반적인 내용을 말하도록 프로브를 직접 편집했습니다.
elif grep -qs "W.i.n.d.o.w.s. .R.e.c.o.v.e.r.y. .E.n.v.i.r.o.n.m.e.n.t" "$2/$boot/$bcd"; then
long="Windows (bootloader)"
그리고 다시 실행했습니다 sudo update-grub
.
답변4
Windows 10을 사용한 이중 부팅에 문제가 있는 것 같습니다. 라이브 Ubuntu USB 펜드라이브를 만든 다음 라이브 Ubuntu 개방형 터미널( Ctrl+ Alt+ T)에서 아래 명령을 입력하는 것이 좋습니다. (grub을 복구하려면 인터넷이 있어야 합니다.) 연결)
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
boot-repair