win8 和 ubuntu双系统,ubuntu如何访问win8分区

Ubuntu 14.10 使用手记 01                                                                                         问题:win8 和 ubuntu双系统,ubuntu如何访问win8分区。

Explanation: Why Linux can't open hibernated Windows partitions:

You are seeing this error because you hibernated Windows instead of

turning it off the normal way (in newer versions of Windows, hibernate

might be the default option).

Hibernating saves the current state information to the hard disk and then powers down the computer.

Shutting down the computer closes all programs and ends all running processes before powering down the computer.

When you turn off Windows by hibernating it, you are essentially  pausing the system and saving all of that information (into a big file  called hiberfil.sys)  This way when you resume from hibernation all  of your applications and files will be exactly how you left them.  It  also sets a flag inhiberfil.sys to let other Operating Systems know  that Windows is hibernated.

Making changes to your Windows (ntfs) partition while it is  hibernated could be dangerous--it could cause Windows to not resume  from hibernation or to crash after resuming.  Because of this, the  tool (ntfs-3g) that mounts (opens) the partition will not mount it  in read-write mode if it sees a hibernation flag.  As such, Nautilus,  the default file browser, will not be able to automatically open this  partition--hence the error message that you see--because it is trying  to open it in read-write mode.

Workaround for all versions of Windows:

There are three ways to mount a hibernated Windows partition:

Boot into Windows and power down the system by shutting it down completely.  You may then boot back into Ubuntu and the partition will mount in read-write mode automatically when you open it in Nautilus.Note that the "Shut Down" option may not be the one

displayed in your start menu by default.  You may need to click the

button next to it to see further options.

Manually mount the file system in read only mode.

Check to see if you have a mount point (folder for mounting your partition in) for your Windows partition in the folder/media using this command:

ls /media

If you don't see a folder for your Windows partition, you should create one with the following command:

sudo mkdir /media/windows

Next, mount the partition in read-only mode onto this folder with this command:

mount -t ntfs-3g -o ro /dev/sda3 /media/windows

Note that you should change/media/windows if your mount point is called something else.

Now you will be able to view/open files on your Windows partition

using any program in Ubuntu.  However you will not be able to write

to the partition or modify any files as it is in read only mode.

If you need to mount the partition in read-write mode and are notable to or willing to boot into Windows and shut it down completely there is a third option.  However, it is not included here because it completely deletes hiberfil.sys and will cause you to lose allun saved information in the hibernated Windows programs.  The following is a quotation from man ntfs-3gabout the option that would be used to do this.

remove_hiberfile

Unlike in case of  read-only  mount,  the  read-write  mount  is

denied  if  the  NTFS  volume is hibernated. One needs either to

resume Windows and shutdown it  properly,  or  use  this  option

which  will  remove  the  Windows hibernation file. Please note,

this means that the saved Windows  session  will  be  completely

lost. Use this option under your own responsibility.

Solution (only for Windows 8):

There is a new feature in Windows 8 called Fast Start up. If this feature is enabled (which it is by default), Windows 8 does not actually completely shutdown when you choose shutdown. Instead, it does a "hybrid shutdown". This is something like hibernating; it makes booting Windows 8 back up faster. So, you need to disable this feature to be able to shut it down properly, and be able to mount the Windows partitions. To do this, boot into your Windows 8 and:

Note: disabling Fast Start-up will most likely make your Windows 8 take a longer time to boot. There are no "exact" numbers, but let's say that if it took you 10 seconds to boot into Windows 8, it will now take you 50 seconds after disabling this feature.

1.Open Control Panel in the small icons view and click on Power Options.

2.Click on Choose what the power buttons do

3.Click on Change settings that are currently unavailable

4.Uncheck Turn on fast start-up (recommended)

Click on the numbers above to see screen shots.

Click on Save changes. Now, shutdown Windows 8 and boot back into Ubuntu. You'll be able to mount without getting errors.

Source:Fast Start-up - Turn On or Off in Windows 8.

原文链接 

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 213,254评论 6 492
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,875评论 3 387
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 158,682评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,896评论 1 285
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 66,015评论 6 385
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,152评论 1 291
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,208评论 3 412
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,962评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,388评论 1 304
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,700评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,867评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,551评论 4 335
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,186评论 3 317
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,901评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,142评论 1 267
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,689评论 2 362
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,757评论 2 351

推荐阅读更多精彩内容