ubuntu_note
来源:互联网 发布:c 连接没有密码mysql 编辑:程序博客网 时间:2024/05/18 01:23
note1:
问题描述:如题,Ubuntu 12.04启动错误:Checking Battery State 。。。
环境:VMware下Ubuntu 12.04桌面版,由于重编译了内核,重新启动导致无法启动,界面一直卡在Checking Battery State 。。。处:
ctrl + alt + F1,进入终端,用用户名和密码登陆
以管理员身份运行:
sudo apt-get install gdm
sudo dpkg-reconfigure gdm
重新选择显示器,从GDM到LightDM,选lightdm模式:
然后重启就可以了
note2:
在安装完虚拟机工具后/mnt/hgfs目录挂载成功,可是在vm中添加了共享文件夹后hgfs依然为空,在网上搜了下,解决方法如下:
1.sudo apt-get install open-vm-dkms
2.sudo mount -t vmhgfs .host:/ /mnt/hgfs
然后在hgfs目录下就能成功看到共享的文件了。
为了每次开机自动挂载共享目录,在/etc/init.d/open-vm-tools末尾增加一行:
sudo mount -t vmhgfs .host:/ /mnt/hgfs (host:/ 处 有空格)
note3:
设置ubuntu10.10启动到字符界面:
编辑文件: /etc/default/grub
将GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” 修改为
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text”
运行: sudo update-grub
运行: sudo shutdown -r now重启系统查看效果
问题描述:如题,Ubuntu 12.04启动错误:Checking Battery State 。。。
环境:VMware下Ubuntu 12.04桌面版,由于重编译了内核,重新启动导致无法启动,界面一直卡在Checking Battery State 。。。处:
ctrl + alt + F1,进入终端,用用户名和密码登陆
以管理员身份运行:
sudo apt-get install gdm
sudo dpkg-reconfigure gdm
重新选择显示器,从GDM到LightDM,选lightdm模式:
然后重启就可以了
note2:
在安装完虚拟机工具后/mnt/hgfs目录挂载成功,可是在vm中添加了共享文件夹后hgfs依然为空,在网上搜了下,解决方法如下:
1.sudo apt-get install open-vm-dkms
2.sudo mount -t vmhgfs .host:/ /mnt/hgfs
然后在hgfs目录下就能成功看到共享的文件了。
为了每次开机自动挂载共享目录,在/etc/init.d/open-vm-tools末尾增加一行:
sudo mount -t vmhgfs .host:/ /mnt/hgfs (host:/ 处 有空格)
note3:
设置ubuntu10.10启动到字符界面:
编辑文件: /etc/default/grub
将GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” 修改为
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text”
运行: sudo update-grub
运行: sudo shutdown -r now重启系统查看效果
- ubuntu_note
- Objective-C ,ios,iphone开发基础:NSDictionary(字典) 和 NSMutableDictionary
- JS中的RegExp对象
- codility上的问题(26) Hydrogenium 2013
- 130825组队赛-Regionals 2012, North America - East Central NA
- 新浪微博 auth2 https ssl 报错
- ubuntu_note
- Java桌面程序打包成exe可执行文件
- 一图胜过万语千言
- 理查德·斯托曼一直是对的
- 黑马程序员-java学习之面向对象(类与对象的关系)
- 二维数组和二级指针
- String 的split()方法
- sharpen image
- horizon_note(openstack dashboard)