![베타 버전을 설치하지 않고 GRUB v1을 GRUB v2로 업그레이드하는 방법은 무엇입니까?](https://linux55.com/image/12995/%EB%B2%A0%ED%83%80%20%EB%B2%84%EC%A0%84%EC%9D%84%20%EC%84%A4%EC%B9%98%ED%95%98%EC%A7%80%20%EC%95%8A%EA%B3%A0%20GRUB%20v1%EC%9D%84%20GRUB%20v2%EB%A1%9C%20%EC%97%85%EA%B7%B8%EB%A0%88%EC%9D%B4%EB%93%9C%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
내 Linux Debian v9.11.0(Stretch)이 현재 GRUB1
설치되어 있습니다.
root@Debian:~# grub-install -v
grub-install (GNU GRUB 0.97)
내 다른 Ubuntu Linux 설치에는 다음이 포함됩니다 GRUB2
.
root@Ubuntu:~# grub-install -V
grub-install (GRUB) 2.02+dfsg1-20
설치하고 싶은데 GRUB2
데비안에 설치하려고 하면 apt-get install grub2
베타버전이 설치되더라구요!GRUB2
root@Debian:~# grub-install -V
grub-install (GRUB) 2.02~beta3-5+deb9u2
GRUB2
나는 이 베타 버전을 원하지 않습니다. Ubuntu가 설치된 것과 같은 안정적인 버전을 원합니다 .
GRUB2
Debian에서 사용 가능한 패키지를 검색하면 beta
나열된 패키지만 표시됩니다.
root@Debian:~# apt search GRUB2
Sorting... Done
Full Text Search... Done
grub-imageboot/oldstable 0.6 all
boot iso, harddisk and floppy images with grub2 and syslinux memdisk
grub2/oldstable,now 2.02~beta3-5+deb9u2 amd64 [residual-config]
GRand Unified Bootloader, version 2 (dummy package)
grub2-common/oldstable 2.02~beta3-5+deb9u2 amd64
GRand Unified Bootloader (common files for version 2)
grub2-splashimages/oldstable 1.0.1+nmu1 all
a collection of great GRUB2 splashimages
live-wrapper/oldstable 0.6+nmu1 all
Wrapper for vmdebootstrap for creating live images
live-wrapper-doc/oldstable 0.6+nmu1 all
Wrapper for vmdebootstrap for creating live images (Documentation)
vmdebootstrap/oldstable 1.7-1 amd64
Bootstrap Debian into a (virtual machine) disk image
설치하는 방법비베타GRUB2
데비안 버전?
답변1
다음에서 현재 버전을 설치할 수 있습니다.버스터이는 Ubuntu 버전과 동일합니다.
에서 언급했듯이이 답변, 적절한 소스에 버스터 마스터 저장소를 추가하고 기본 버전을 "stretch"로 설정하여 확장 중인 패키지에 더 높은 우선 순위를 부여할 수 있습니다. 그런 다음 sudo apt -t buster install nameofpackage
.
지시하다:
/etc/apt/sources.list.d/buster.list
Buster Master 저장소가 포함된 파일을 만듭니다 .deb http://deb.debian.org/debian buster main
/etc/apt/apt.conf.d/default-release
이 콘텐츠로 파일 만들기APT::Default-Release "stretch";
기본 버전 이름으로 "stretch" 또는 "oldstable"을 선택합니다.
달리기
sudo apt update
패키지 색인을 업데이트하세요.
지금 실행하면
apt policy grub2
출력은 다음과 유사해야 합니다.apt policy grub2 grub2: Installed: (none) Candidate: 2.02~beta3-5+deb9u2 Version table: 2.02+dfsg1-20 500 500 http://deb.debian.org/debian buster/main amd64 Packages 2.02~beta3-5+deb9u2 990 990 http://ftp.de.debian.org/debian stretch/main amd64 Packages
보시다시피, 버스터 저장소의 버전은 우선순위가 500으로 낮습니다.
설치 또는
grub2
업그레이드sudo apt -t buster install grub2