思绪的空中生活

debian手动调整内核启动顺序
有时候用一键脚本安装bbrplus需要手动调整内核的启动顺序才能正常使用,以下记录下过程1.grep目前的内核ca...
扫描右侧二维码阅读全文
31
2020/10

debian手动调整内核启动顺序

有时候用一键脚本安装bbrplus需要手动调整内核的启动顺序才能正常使用,以下记录下过程
1.grep目前的内核
cat /boot/grub/grub.cfg |grep "menuentry "
得到的结果如下所示

menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4dd00551-6a99-455a-a7c8-bd1e42d4ecdd' {
    menuentry 'Debian GNU/Linux, with Linux 4.19.0-11-cloud-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-11-cloud-amd64-advanced-4dd00551-6a99-455a-a7c8-bd1e42d4ecdd' {
    menuentry 'Debian GNU/Linux, with Linux 4.19.0-11-cloud-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-11-cloud-amd64-recovery-4dd00551-6a99-455a-a7c8-bd1e42d4ecdd' {
    menuentry 'Debian GNU/Linux, with Linux 4.14.182-bbrplus' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.182-bbrplus-advanced-4dd00551-6a99-455a-a7c8-bd1e42d4ecdd' {
    menuentry 'Debian GNU/Linux, with Linux 4.14.182-bbrplus (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.182-bbrplus-recovery-4dd00551-6a99-455a-a7c8-bd1e42d4ecdd' {

2.修改grub

vi /etc/default/grub
将 GRUB_DEFAULT=0 修改为
GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 4.14.182-bbrplus"
update-grub

参考:https://blog.csdn.net/fcymk2/article/details/86551823

相关文章:

  • Debian9 apt 404 not found 官方源
  • N1将armbian刷入emmc
  • N1 armbian 断线自动重拨 pppoe
  • Debian网络流量分析脚本
  • 金立手机清除开机密码
  • Last modification:November 17th, 2020 at 09:27 pm
    If you think my article is useful to you, please feel free to appreciate

    Leave a Comment