與 Windows 7 一起安裝 Xubuntu 14.04 時遇到問題

與 Windows 7 一起安裝 Xubuntu 14.04 時遇到問題

我清理了磁碟並決定在我的筆記型電腦上雙啟動 Xubuntu 14.04 和 Windows 7。我先安裝 Windows 7,並建立了兩個 50Gb 分割區 - 每個 SO 一個 - 以及另一個約 200Gb 分割區用於儲存。

我繼續在其中一個分割區中安裝 Windows,並希望能夠在剩餘的 50Gb 分割區中簡單地安裝 Xubuntu。

問題是,Live CD 安裝程式不承認 Windows 安裝的存在,也不顯示我為 Xubuntu 安裝留下的 50Gb 分割區。

沒有與 Windows 一起安裝的選項

另外,如果我選擇“其他”選項,它會顯示我的整個磁碟機未分割(?):

安裝程式偵測到的分割區方案

當我以 Live CD 模式運行時(實際上是從 USB 筆),它會自動掛載儲存分割區、Windows 分割區和啟動分割區(我猜是由 Windows 建立的)。

查看掛載的分割區

因此,我希望有人能給我一些指導,告訴我如何讓安裝程式偵測 Windows 安裝,以便我可以安全地進行雙重啟動。我對 Linux 很陌生,這種操作讓我有點害怕,因為我不想損壞我的 Windows 7 安裝 - 儘管它已備份,但我討厭再次「清理」...:)

編輯:

我一直在閱讀有關此內容的內容,並且我知道 Windows 會話已正確終止(即關閉)。另外,上圖中的「Sistema reservado」(系統保留 - 我是葡萄牙人)分區顯示以下內容:

系統保留分割區內容

編輯2:

根據要求,這是 Windows 磁碟管理螢幕截圖:

Windows 中的磁碟管理

編輯3:

輸出sudo gdisk -l

xubuntu@xubuntu:~$ sudo gdisk -l
GPT fdisk (gdisk) version 0.8.8

Problem opening -l for reading! Error is 2.
The specified file does not exist!

輸出sudo parted -l

xubuntu@xubuntu:~$ sudo parted -l
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 an
msdos partition table.  Is this a GPT partition table?
Yes/No? ^C                                                                
Model: ATA Hitachi HTS54323 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End  Size  File system  Name  Flags


Model: Lexar USB Flash Drive (scsi)
Disk /dev/sdb: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      57.3kB  16.0GB  16.0GB  primary  fat32        boot, lba

注意:此sudo parted -l指令在列印出表格之前發出有關 GPT 表的警告。另外,唯一出現的是我在 Live Xubuntu 中使用的 16Gb 筆式驅動器。

編輯4:

我一直在挖掘更多關於GPTUbuntu 沒有找到它/識別它並根據 this回答,我輸出sudo fixparts /dev/sda

xubuntu@xubuntu:~$ sudo fixparts /dev/sda
FixParts 0.8.8

Loading MBR data from /dev/sda

NOTICE: GPT signatures detected on the disk, but no 0xEE protective partition!
The GPT signatures are probably left over from a previous partition table.
Do you want to delete them (if you answer 'Y', this will happen
immediately)? (Y/N): n

Warning: 0xEE partition doesn't start on sector 1. This can cause problems
in some OSes.

MBR command (? for help): p

** NOTE: Partition numbers do NOT indicate final primary/logical status,
** unlike in most MBR partitioning tools!

** Extended partitions are not displayed, but will be generated as required.

Disk size is 625142448 sectors (298.1 GiB)
MBR disk identifier: 0xDD5E2C5F
MBR partitions:

                                                   Can Be   Can Be
Number  Boot  Start Sector   End Sector   Status   Logical  Primary   Code
   1      *           2048       206847   primary     Y        Y      0x07
   2                206848    104859647   primary              Y      0x07
   3             104859648    209717247   primary              Y      0x06
   4             209717248    625139711   primary              Y      0x07

我應該按照答案中的指示繼續並修復 GPT 表(透過 __zapping__ )嗎?

答案1

遇到了同樣的問題,在我使用 gparted 正確格式化分割區(擴充分割區中的 root、swap 和 home)後消失了。我遵循了 dedoimedo 的教程:

http://www.dedoimedo.com/computers/dual-boot-windows-7-xubuntu.html

我還聽從了 dedoimedo 的建議,不採用自動設置,而是選擇了“其他”選項。

祝你好運!

相關內容