(OK) grub2-set-default——kernel updates keep defaulting to debug kernel
来源:互联网 发布:ping网络命令 编辑:程序博客网 时间:2024/05/21 03:56
https://bugzilla.redhat.com/show_bug.cgi?id=1321927
Kambiz Aghaiepour 2016-03-29 07:50:53 EDT
Description of problem:
every time I apply updates if a kernel update is included, grub defaults to the debug kernel.
See:
# grep -P "submenu|^menuentry" /boot/grub2/grub.cfg | cut -d "'" -f2
Fedora (4.4.6-300.fc23.x86_64+debug) 23 (Workstation Edition)Fedora (4.4.6-300.fc23.x86_64) 23 (Workstation Edition)
Fedora (4.4.4-301.fc23.x86_64) 23 (Workstation Edition)
Fedora (4.4.3-300.fc23.x86_64) 23 (Workstation Edition)
Fedora (4.4.4-301.fc23.x86_64+debug) 23 (Workstation Edition)
Fedora (4.4.3-300.fc23.x86_64+debug) 23 (Workstation Edition)
Fedora (0-rescue-a80b5fcc380d4d43887e523edaf01db0) 23 (Workstation Edition)
Even though:
# grub2-editenv list
saved_entry=Fedora (4.4.6-300.fc23.x86_64) 23 (Workstation Edition)
When I reboot, the highlighted entry is the first entry (4.4.6-300.fc23.x86_64+debug). However, after I run:
# grub2-set-default "Fedora (4.4.6-300.fc23.x86_64) 23 (Workstation Edition)"
followed by:
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.6-300.fc23.x86_64
Found initrd image: /boot/initramfs-4.4.6-300.fc23.x86_64.img
Found linux image: /boot/vmlinuz-4.4.4-301.fc23.x86_64
Found initrd image: /boot/initramfs-4.4.4-301.fc23.x86_64.img
Found linux image: /boot/vmlinuz-4.4.3-300.fc23.x86_64
Found initrd image:/boot/initramfs4.4.3-300.fc23.x86_64.img
Found linux image: /boot/vmlinuz-4.4.6-300.fc23.x86_64+debug
Found initrd image: /boot/initramfs-4.4.6-300.fc23.x86_64+debug.img
Found linux image: /boot/vmlinuz-4.4.4-301.fc23.x86_64+debug
Found initrd image: /boot/initramfs-4.4.4-301.fc23.x86_64+debug.img
Found linux image: /boot/vmlinuz-4.4.3-300.fc23.x86_64+debug
Found initrd image: /boot/initramfs-4.4.3-300.fc23.x86_64+debug.img
Found linux image: /boot/vmlinuz-0-rescue-a80b5fcc380d4d43887e523edaf01db0
Found initrd image: /boot/initramfs-0-rescue-a80b5fcc380d4d43887e523edaf01db0.img
done
Then the system reboots correctly into the desired kernel, until the next kernel errata. I will attempt to erase "kernel-debug-core" to see if this will fix the problem for future releases though the behavior above seems buggy (i.e. when the default kernel is not the debug kernel, then the new kernel installed should not default to the debug version)
0 0
- (OK) grub2-set-default——kernel updates keep defaulting to debug kernel
- grub2-set-default & grub2-editenv & grub2-mkconfig
- grub2 引导自制kernel
- grub2 boot kernel
- kernel debug:
- kernel debug
- kernel debug
- (OK) mptcp_android-x86-kernel-4.4.12-debug-vbox.txt
- from linux kernel to kvm -- debug linux kernel by eclipse
- How to debug kernel with QEMU-KVM
- debug kernel with kernel debugger
- Start porting kernel 2.6.27.8 to qq2440 (4) --Congratuation! Kernel boots OK!
- Switch kernel mode debug to user mode debug
- debug kernel with qemu
- USB Hub Kernel Debug
- Linux Kernel -- Debug VirtualBox
- linux kernel dynamic debug
- linux kernel panic debug
- IP地址段与子网掩码
- iOS开发系列--Objective-C之类和对象
- 饿了么移动APP的架构演进
- 《JAVA与模式》之简单工厂模式
- 在gentoo环境下安装tensorflow
- (OK) grub2-set-default——kernel updates keep defaulting to debug kernel
- iOS开发系列--Objective-C之协议、代码块、分类
- 偷师饿了么:怎样用HTTP/2优化iOS APP网络层次架构?
- 《JAVA与模式》之适配器模式
- 【bzoj2626】JZPFAR kd-tree
- JavaWeb之抓包之旅(二) :抓包工具
- 你应该知道的那些Android小经验
- 欢迎使用CSDN-markdown编辑器
- iOS开发系列—Objective-C之内存管理oc