嘟嘟社区

救命,pve怎么选择低版本内核?


手贱升了5.15   结果只能百兆了

不知道怎么搞了

  1. [email protected]:~# cat /boot/grub/grub.cfg | grep menuentryif [ x"${feature_menuentry_id}" = xy ]; then
  2.   menuentry_id_option="–id"
  3.   menuentry_id_option=""
  4. export menuentry_id_option
  5. menuentry ‘Proxmox VE GNU/Linux’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-simple-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  6. submenu ‘Advanced options for Proxmox VE GNU/Linux’ $menuentry_id_option ‘gnulinux-advanced-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  7.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.15.19-1-pve’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.15.19-1-pve-advanced-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  8.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.15.19-1-pve (recovery mode)’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.15.19-1-pve-recovery-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  9.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.13.19-4-pve’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.13.19-4-pve-advanced-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  10.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.13.19-4-pve (recovery mode)’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.13.19-4-pve-recovery-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  11.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.13.19-2-pve’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.13.19-2-pve-advanced-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  12.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.13.19-2-pve (recovery mode)’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.13.19-2-pve-recovery-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  13.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.11.22-7-pve’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.11.22-7-pve-advanced-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  14.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.11.22-7-pve (recovery mode)’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.11.22-7-pve-recovery-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  15.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.11.22-4-pve’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.11.22-4-pve-advanced-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  16.         menuentry ‘Proxmox VE GNU/Linux, with Linux 5.11.22-4-pve (recovery mode)’ –class proxmox –class gnu-linux –class gnu –class os $menuentry_id_option ‘gnulinux-5.11.22-4-pve-recovery-22d9233c-f7c1-4712-9c61-a1307d2cd05f’ {
  17. menuentry "Memory test (memtest86+)" {
  18. menuentry "Memory test (memtest86+, serial console 115200)" {
  19. menuentry "Memory test (memtest86+, experimental multiboot)" {
  20. menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
  21. menuentry ‘System setup’ $menuentry_id_option ‘uefi-firmware’ {
  22. [email protected]:~#

复制代码

  1. # If you change this file, run ‘update-grub’ afterwards to update
  2. # /boot/grub/grub.cfg.
  3. # For full documentation of the options in this file, see:
  4. #   info -f grub -n ‘Simple configuration’
  5. GRUB_DEFAULT=0
  6. GRUB_TIMEOUT=5
  7. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  8. GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifb:off"
  9. GRUB_CMDLINE_LINUX=""
  10. # Uncomment to enable BadRAM filtering, modify to suit your needs
  11. # This works with Linux (no patch required) and with any kernel that obtains
  12. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD …)
  13. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  14. # Uncomment to disable graphical terminal (grub-pc only)
  15. #GRUB_TERMINAL=console
  16. # The resolution used on graphical terminal
  17. # note that you can use only modes which your graphic card supports via VBE
  18. # you can see them in real GRUB with the command `vbeinfo’
  19. #GRUB_GFXMODE=640×480
  20. # Uncomment if you don’t want GRUB to pass "root=UUID=xxx" parameter to Linux
  21. #GRUB_DISABLE_LINUX_UUID=true
  22. # Uncomment to disable generation of recovery mode menu entries
  23. #GRUB_DISABLE_RECOVERY="true"
  24. # Uncomment to get a beep at grub start
  25. #GRUB_INIT_TUNE="480 440 1"
  26. ~                                                                                                      
  27. ~                                                                                                      
  28. ~                                                                                                      
  29. ~                                                                                                      
  30. ~                                                                                                      
  31. "/etc/default/grub" 32 lines, 1207 bytes

复制代码