Ubuntu安裝時找不到windows分區(qū)的解決辦法

1. 問題描述

已經(jīng)安裝了windows系統(tǒng),但是在安裝Ubuntu14.04的時候,在掛載分區(qū)時,檢測不到已經(jīng)安裝的windows系統(tǒng)和windows分區(qū),這樣掛載ubuntu分區(qū)的時候,顯示的一整塊空磁盤,安裝的話就會覆蓋掉windows系統(tǒng),造成災(zāi)難性的后果。


2. 問題原因

雖然安裝windows使用了MBR分區(qū),但是仍然有GPT 分區(qū)表信息存在,在終端中輸入sudo parted /dev/sdaprint 中會顯示:

Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid 
fake msdos partition table, as it should.Perhaps it was corrupted -- possibly by a program that doesn't understand 
GPT partition tables. Or perhaps you deleted the GPT table, and are now using anmsdos partition table. 
Is this a GPT partition table?Yes/No? Yes 

3. 解決辦法

live CD引導(dǎo)進(jìn)入Ubuntu,利用如下的命令清除 GPT signature

sudo dd if=/dev/zero of=/dev/sda bs=1 count=8 seek=512

之后安裝ubuntu時候就可以檢測到windows分區(qū),并正確的掛載ubuntu分區(qū)了。


希望這篇博客可以解決你的問題。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容