双硬盘Win7装Ubuntu 12.04经验并解决无线网络不能使用问题
今天急急忙忙下装了 Ubuntu 12.04(双系统 Win7 Ultimate 64bit + Ubuntu).
先是Ubuntu安装过程把Win7下的盘识别的乱七八糟的,后来才发现是主分区已经没空间给Ubuntu了(剩下一个140G的逻辑分区给它[win7下有先删除了],所以ubuntu下认不出来,因为人家要的是主分区的空闲空间,不是逻辑分区的)
PS:我的是本本双硬盘 128G SSD + 750 G机械硬盘 ,Win 7下原先分了 C(SSD主分区, 128G)、D(机械硬盘逻辑分区)、E(机械硬盘逻辑分区)、F(机械硬盘逻辑分区)四个盘。
后面把F(140G)拿出来装Ubuntu,一开始是直接在Computer -> Manage -> Disk Managment中直接Delete Volume,是free出来了,但它是logic partion。
所以后面用PE下的DiskGenius把F盘转换为 主分区, 接着再进入Win7,同样在Disk Management中右键F盘Delte Volume,这回的空间就变成了unallocated space (140G)。
就这样Ubuntu安装的过程中能正常识别了:
/dev/sda
/dev/sda4 .... <== D
/dev/sda5 .... <== E
/dev/sda2 ... <== F
上面的sda2就是我的F盘了,750G机械硬盘那是全作逻辑分区,不知道为什么sda0/sda1被还会被占用。
不过没关系,不影响安装。接下去就很顺利了...... 直到系统安装成功
sudo gedit /etc/default/grub
改了默认引导项和超时时间
GRUB_DEFAULTTT=4
GRUB_..._TIMEOUT=5
补充:Win7下使用 EasyBCD 2.2修改引导项进入Ubuntu的安装
注意一个小问题,如果没法正确引导进入Ubuntu的安装,出现:
ERROR XX: File Not Found
看一下menu.lst中是不是为vmlinuz,若是,则对应文件名应从vmlinuz.efi重命名为vmlinuz (即去掉后缀名),就可以找到文件了,功引导并安装。
参考:http://www.linuxidc.com/Linux/2013-04/83479.htm
重装了几次无线网卡驱动之后才知道不是驱动的事情~
用 rfkill unblock all之后:
RFKillMany computer systems contain radio transmitters, including Wi-Fi, Bluetooth, and 3G devices. These devices consume power, which is wasted when the device is not in use.RFKill is a subsystem in the Linux kernel that provides an interface through which radio transmitters in a computer system can be queried, activated, and deactivated. When transmitters are deactivated, they can be placed in a state where software can reactive them (a soft block) or where software cannot reactive them (a hard block).The RFKill core provides the application programming interface (API) for the subsystem. Kernel drivers that have been designed to support RFkill use this API to register with the kernel, and include methods for enabling and disabling the device. Additionally, the RFKill core provides notifications that user applications can interpret and ways for user applications to query transmitter states.The RFKill interface is located at /dev/rfkill
, which contains the current state of all radio transmitters on the system. Each device has its current RFKill state registered in sysfs
. Additionally, RFKill issues uevents for each change of state in an RFKill-enabled device.rfkill package.Use the command rfkill list
to obtain a list of devices, each of which has an index number associated with it, starting at 0
. You can use this index number to tell rfkill block 0
blocks the first RFKill-enabled device on the system.You can also use rfkill block wifi
blocks all Wi-Fi devices on the system. To block all RFKill-enabled devices, run:rfkill block all
To unblock devices, run rfkill unblock
instead of rfkill block
. To obtain a full list of device categories thatrfkill help
rfkill block all
rmmod
功能说明:删除模块。
语 法:rmmod [-as][模块名称...]
补充说明:执行rmmod指令,可删除不需要的模块。Linux操作系统的核心具有模块化的特性,应此在编译核心时,务须把全部的功能都放如核心。你可以将这些功能编译成一个个单独的模块,待有需要时再分别载入它们。
参 数:
-a 删除所有目前不需要的模块。
-s 把信息输出至syslog常驻服务,而非终端机界面。
/etc/modprobe.d/blacklist.conf
用于屏蔽相应的内核模块,blacklist使其不加载
参考链接:http://forum.ubuntu.org.cn/viewtopic.php?t=328097
(PS:很多问题ubuntu官网论坛上有解决方法,多注意)