(헤드리스) Ubuntu Server 14.04 LTS-롤백 커널?


1

나는 sudo apt-get dist-upgrade오늘 달렸고 설치했다 linux-image 3.13.0-68.

서버가 부팅되지 않기 때문에 문제가 발생한 것 같습니다.

그러나 이전과 같은 이전 버전을 선택 3.13.0-67하면 서버가 정상적으로 부팅됩니다.

3.13.0-67기본적으로 어떻게 시작 합니까?

그리고 다음에 커널 업데이트가있을 때 업그레이드 할 수있는 옵션이 있습니까?

내가 읽은 내용에 따라 /etc/default/grub분명히 편집 할 수는 있지만 머리를 감싸지 않습니다.

도움이되는 경우 해당 파일의 내용은 다음과 같습니다.

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=2
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="splash nomodeset"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=800x600

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

답변:


0

로 패키지를 제거 할 수 있습니다 sudo apt-get remove linux-headers-3.13.0-68. 이것은 다음 커널 버전을 사용하는 능력에는 영향을 미치지 않습니다.

GRUB_DEFAULT=0을 원하는 항목의 줄 번호와 동일하게 변경하여 기본 그룹 항목을 구성 할 수도 있습니다. 여기서 0은 첫 번째 줄입니다. 그런 다음 sudo update-grub변경 사항을 적용하기 위해 실행 합니다. /etc/default/grub/실제 그럽 메뉴를 생성하는 데 도움이되는 구성 파일 이라는 사실 때문에 혼란 스러울 수 있습니다 . 당신은 아래의 실제 그룹 메뉴 구성을 볼 수 있습니다/boot/grub/grub.cfg


최신 커널에 자동으로 의존하는 메타 패키지를 사용하는 경우 실제로 업그레이드에 영향을 줄 수 있습니다. 최신 커널을 제거하면 이후 업데이트를받지 못합니다.
토마스 워드

@ThomasW. 메타 패키지를 명시 적으로 제거하는 경우에만 그렇지 않습니까?
zymhan

메타 패키지는 설치 한 패키지에 따라 다릅니다. 의존성을 제거하면 필요한 것이 제거됩니다. dpkg / apt가 작동하는 방식입니다.
토마스 워드
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.