今天急急忙忙下装了 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之后:

代码:
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no
1: acer-wireless: Wireless LAN
   Soft blocked: yes
   Hard blocked: no

我在另一个terminal里开着:rfkill event实时监控这状态,结果发现:
一运行 rfkill unblock all,先是把acer-wireless的 soft block 改为no了,

紧接着就有被改回成yes了~

后来在网上找了好久终于找到解决方法

步骤1:
sudo rmmod acer-wmi

这样就可以打开无线了!无线信号也会出来 ,但是有一个问题就是,只要机器一重启,那个文件又被修改回来了!

文件目录为:/Prco(貌似是)/Modules 文件!

步骤2:

blacklist acer-wmi
这个命令加入到/etc/modprobe.d/blacklist.conf文件最后即可。

总结本次问题主要使用的一些命令如下:

lspci

Linux 主机的硬件配备
lspci 找到的是目前主机上面的硬件配备
[root@www ~]# lspci [-vvn]
选项与参数:
-v     :显示更多的 PCI 接口装置的详细信息
-vv :比 -v 还要更详细的信息
-n     :直接观察 PCI 的 ID 而不是厂商名称

查阅您系统内的 PCI 装置:
[root@www ~]# lspci
#不必加上任何选项,就能够显示出目前的硬件配备为何
Host bridge:                        <==主板芯片
VGA compatible controller    <==显卡
Audio device                            <==音频设备
PCI bridge                                <==接口插槽
USB Controller                        <==USB控制器
ISA bridge                               
IDE interface                           
SMBus                                      
Ethernet controller                <==网卡

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.

查看一般详细信息
[root@www ~]# lspci -v
查看网卡详细信息:
[root@www ~]# lspci -s 04:00.0 -vv
-s :后面接的是每个设备的总线、插槽与相关函数功能

若主机有识别到相关网卡型号信息,则说明网卡驱动没有问题,如

03:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
    Subsystem: AzureWave Device 1186
    Flags: bus master, fast devsel, latency 0, IRQ 18
    Memory at f7900000 (64-bit, non-prefetchable) [size=512K]
    Expansion ROM at f7980000 [disabled] [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: ath9k
    Kernel modules: ath9k

04:00.0 Ethernet controller: Atheros Communications Inc. Device 10a1 (rev 10)
    Subsystem: Atheros Communications Inc. Device 1091
    Flags: bus master, fast devsel, latency 0, IRQ 10
    Memory at f7800000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at d000 [size=128]
    Capabilities: <access denied>

rfkill list

RFKill

Many 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 is a command-line tool with which you can query and change RFKill-enabled devices on the system. To obtain the tool, install the 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 to block or unblock a device, for example:
rfkill block 0
blocks the first RFKill-enabled device on the system.
You can also use rfkill to block certain categories of devices, or all RFKill-enabled devices. For example:
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 can block, run rfkill help

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官网论坛上有解决方法,多注意)

双硬盘Win7装Ubuntu 12.04经验并解决无线网络不能使用问题相关推荐

  1. 如何在ubuntu 12.04系统下开启nfs网络文件系统

    之前装ubuntu 11.04的时候,曾经把nfs搞定过了.但是现在换成了ubuntu 12.04,那么就得重新来过一次了. 1.首先得安装nfs: #sudo apt-get install nfs ...

  2. Thinkpad E440 安装ubuntu 12.04后,安装无线适配器

    本人windows 7 +ubuntu12.04双系统,但安装万ubuntu后,无线网络无法使用. 方法:下载驱动,编译 下载:http://netbook-remix.archive.canonic ...

  3. 64位ubuntu 12.04下如何解决中文乱码的问题

    一.Ubuntu默认的中文字符编码 Ubuntu默认的中文字符编码为zh_CN.UTF-8, 这个可以在/etc/environment中看到: sudo gedit /etc/environment ...

  4. Win7下硬盘安装Ubuntu 12.04.4 LTS双系统

    Win7下硬盘安装Ubuntu 12.04.4 LTS双系统 71158992014年4月13日 Heepo银牌会员 本帖最后由 Heepo 于 2014-04-12 18:31 编辑 小菜上次在论坛 ...

  5. Windows XP硬盘安装Ubuntu 12.04双系统图文详解

    按照下文的方法,自己在winXP上面装Ubuntu12.04双系统,准确说是winXP+win7+Ubuntu三系统:正在安装,稍后将自己安装截图发出来.. 修改计算机名: sudo gedit /e ...

  6. Windows XP硬盘安装Ubuntu 12.04双系统

    Windows XP硬盘安装Ubuntu 12.04双系统 一.下载文件 需要下载的东西有两个,一个是grub4dos,另一个是Ubuntu 12.04 LTS的镜像文件,具体下载地址如下: 1.Gr ...

  7. win7下硬盘安装Ubuntu 12.04

    Win7下硬盘安装Ubuntu 12.04 下面本人将介绍适合新手.简单易懂的硬盘安装方法: 1.在Windows7中下载并安装EasyBCD(目前最新版2.1.2) 2.将ubuntu-12.04- ...

  8. Windows 7 Ultimate + Ubuntu 12.04 LTS双系统完美走起

    (由于我的双系统已安装.配置完毕,本教程部分截图出自虚拟机安装过程,本机安装会略有不同) 一. 准备软件 Windows 7 Ultimate – 已安装至PC机 Ubuntu 12.04 LTS系统 ...

  9. windows 7硬盘安装Ubuntu 12.04 后出现grub,无法进入系统解决办法

    windows 7 安装在C盘,从硬盘安装Ubuntu 12.04后,重启,出现grub>,无法进入系统. 此时 ls下,发现出现(hd0,msdos*), *为1,2,...,N,为你电脑硬盘 ...

最新文章

  1. 「APIO2018」选圆圈
  2. 使用rsync同步网路备份
  3. 【1024】阿里开源项目汇总
  4. android系统各种音量的获取与设置
  5. [云炬创业基础笔记]第五章创业机会评估测试4
  6. 信息学奥赛一本通(C++)在线评测系统——基础(一)C++语言——1112:最大值和最小值的差
  7. 第3章 Python 数字图像处理(DIP) - 灰度变换与空间滤波3 -幂律变换、伽马变换
  8. python3语法糖_python的语法糖
  9. ScalaTour 2.函数
  10. springboot 事务_第六章:springboot开启声明式事务
  11. oracle时间去掉时分秒的时间_超详细的oracle修改AWR采样时间间隔和快照保留时间教程...
  12. 办暂住证,郁闷,极度不爽.
  13. 高斯 matlab程序,一个计算高斯积分点坐标和权的MATLAB程序
  14. 【所见即所得】数据分析最有用的25个 Matplotlib图【附代码】
  15. 建立远程桌面需要在对方服务器上做设置吗,SFB 项目经验-23-要远程登录,你需要具有通过远程桌面服务进行登录的权限...
  16. Seating Arrangement CSU - 1997 (思维题,是否存在n个数的序列,使得相邻啷个数的差绝对值大于d)
  17. ssm 微信扫码支付
  18. android oreo_您的手机何时将获得Android Oreo?
  19. 深入理解JVM(三)——JVM之判断对象是否存活(引用计数算法、可达性分析算法,最终判定),Eclipse设置GC日志输出,引用
  20. 【go语言 socket编程系列】IPAddr类型及ResolveIPAddr方法

热门文章

  1. Python:豆瓣电影商业数据分析-爬取全数据【附带爬虫豆瓣,数据处理过程,数据分析,可视化,以及完整PPT报告】
  2. 2023年年度最佳配色就是它-我已经为大家配好了色卡,还不快来用?
  3. Opencascade(OCC)曲面造型 第一部分(翻译Roman Lygin Blog)
  4. 为Revit的造型能力正名. Revit 二次曲面造型能力的实现. 二次曲面幕墙的实现
  5. WebUploader 上传文件的两种方式(手动上传,自动上传)
  6. 无线网络渗透2:WPA/WPA2-PSK AP-Station 关联和认证过程
  7. NERO全插件注册码
  8. LESSON 9.6 Bagging及随机森林6大面试热点问题
  9. excel使用技巧函数的使用
  10. C语言:调整奇数偶数顺序