vmware中安装Ubuntu12.10 --console mode

    最新的Ubuntu12.10需要vmware9才能支持。我的操作系统win7_64,先装个原版的wmware9,然后用Ubuntu的ISO安装镜像文件直接在wm中创建一个ubuntu系统。过程中最好把guest os的机器名称改一下,默认的名称很长,安装完后这个机器名称会一直出现在命令行的,感觉精简点会看着舒服些。因为我安装的是一个桌面版的ubuntu,所以启动时默认会启动GUI。这个东西很影响系统启动速度,也没见带来什么便利,所以决定删掉。。。

step 1. 修改grub配置。打开 /etc/default/grub 将GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" 修改成
GRUB_CMDLINE_LINUX_DEFAULT="text"

Step 2. 更新grub配置  sudo update-grub

Step 3 Ubuntu用lightdm来管理GUI的。我们可以禁用它。
sudo update-rc.d -f lightdm remove


At any time you need after booting your system you want to change to gui mode the run

startx

If you want to restore Ubuntu’s GUI mode then

Open /etc/default/grub with your faviourite editor and change

GRUB_CMDLINE_LINUX_DEFAULT="text"to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"Update GRUB by running

sudo update-grub

To restore lightdm run

sudo update-rc.d lightdm defaults

That’s it

猜你喜欢

转载自aligu20088.iteye.com/blog/1915556
今日推荐