为什么开机后黑屏?

为什么开机后黑屏?

启动 CentOS 2.7 GRUB 时屏幕空白。在启动过程中,我看到活动在屏幕上向下滚动。然后我的屏幕一片空白。我有一个 NIVIDIA 显卡,这可能是导致问题的原因。在 setparms 中,我指定了 ... nomodeset vga=789splash。以下是确切的启动代码:

setparams 'CentOS Linux (3.10.0-957.el7.x86_64) 7 (核心)'

load_video 设置 gfxpayload=keep insmod gzio insmod part_gpt insmod ext2

设置 root='hd0,gpt2'

如果 [x$feature_platform_search_hint = xy ];然后搜索 --no-floppy --fs-uuid --set=root \ --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2\ --hing-baremetal=ahcio,gpt2 27483794-8c21- \ 428f-951e-315bce52e222 否则搜索 --no-floppy --fs-uuid --set=root \ 27483794-8c21-428f-951e-315bce52e222 fi

linuxefi /vmlinux-3.10.0-957.el7.x86_64 root= \ /dev/mapper/centos-roo ro crashkernel=auto \ rd.lvm.lv=centos/root rd.lvm.lv=centos/swap \ nomodeset rhgb安静 LANG=en.UTF8 \

initdefi /initramfs-3.10.0-957.el7.x86_64.img

相关内容