Ubuntu boot animation resolution modification and kernel deletion: 1. in/etc/default/grub, the default value is # GRUB_GFXMODE = 640x480, remove #, and change the number to the resolution supported by the video card (for example, 1024x768x32, note that the color depth is 16 or 32. Otherwise, the color depth is 4 digits, Which is ugly.) 2. /etc/grub. in d/00_header, find setgfxmode =$ {GRUB_GFXMODE}, and add a line to make plymout
Ubuntu boot animation resolution modification and kernel deletion:
1. in/etc/default/grub, the default value is # GRUB_GFXMODE = 640x480, remove #, and change the number to the resolution supported by the video card (for example, 1024x768x32, note that the color depth is 16 or 32. Otherwise, the color depth is 4 bits, which is hard to see)
2. Find set gfxmode =$ {GRUB_GFXMODE} in/etc/grub. d/00_header, and add a line to make plymouth and grub have the same resolution:
Set gfxpayload = keep
3. Save and update grub. cfg:
Sudo update-grub
Delete old kernel:
Sudo aptitude purge ~ Ilinux-image -.*\(\! 'Uname-R '\)
Remove the repair mode menu:
Sudo chmod + w/etc/default/grub
Sudo gedit/etc/default/grub
Remove the comment # In front of this line: GRUB_DISABLE_LINUX_RECOVERY = true
Remove the memtest menu:
Sudo chmod-x/etc/grub. d/20_memtest86 +
Sudo update-grub
Recovery:
Add the comment # In front of this line: GRUB_DISABLE_LINUX_RECOVERY = true
Sudo chmod + x/etc/grub. d/20_memtest86 +