zoukankan      html  css  js  c++  java
  • 解决Win8设置为快速启动后ubuntu不能访问win下磁盘的方法

    Use ntfsfix in the terminal , even if you can't access Windows

    sudo ntfsfix /dev/XY 

    //Previous wasn't working for me.

    where XY is the partition

    e.g sda2 or sdb1

    ntfsfix repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.

    比如我的 Win8的C, D,  E, F四个盘在ubuntu下分别挂在 /dev/sda1, /dev/sda5, /dev/sda6, /dev/sda7, 然后就可以写个bash script,

    可以考虑加入 /ect/rc.local做成开机启动

     #!/bin/bash

    sudo ntfsfix /dev/sda7
    sudo ntfsfix /dev/sda6
    sudo ntfsfix /dev/sda5
    sudo ntfsfix /dev/sda1

    -----

    啊啊啊啊垃圾的编辑器 囃!

    但是搞C盘的最后一句话报错了: Windows is hibernated, refused to mount.不知为何

  • 相关阅读:
    Promise、Async、await
    Generator
    模块化
    继承
    原型
    == vs ===
    深浅拷贝
    this
    nodejs中搭建服务器
    sql中constraint主要是增加约束
  • 原文地址:https://www.cnblogs.com/likeatree/p/4540890.html
Copyright © 2011-2022 走看看