ubuntu如何切换图形界面和文本界面

时间:2024-10-19 17:31:23

1、更改配置文件/etc/default/grub# 把以”GRUB_CMDLINE_LINUX_DEFAULT=“开始的行改成:GRUB_CMDLINE_LINUX_DEFAULT="text"

ubuntu如何切换图形界面和文本界面

2、重设grub引导用root权限输入 update-grub

ubuntu如何切换图形界面和文本界面

3、编辑 /boot/grub/grub.cfg找到linux /boot/vmlinuz-2.6.31-20-generic root=UUID=2d09215f-5e7d-44d3-9fe5-8d87aa0e21b7 ro quiet splash类似这样在最后添加一个text,变为linux /boot/vmlinuz-2.6.31-20-generic root=UUID=2d09215f-5e7d-44d3-9fe5-8d87aa0e21b7 ro quiet splash text保存退出chmod -w /boot/grub/grub.cfg //收回写权限reboot

ubuntu如何切换图形界面和文本界面
© 手抄报圈