
我有一台 167GB 的 Windows 7 機器。我想在上面安裝Ubuntu,所以我將分割區縮小為111GB和56GB。之後我在新建立的56GB分割區中安裝了Ubuntu 14.10 32位元。
現在 Ubuntu 啟動得很好,但我無法啟動到 Windows 7,也無法在 Ubuntu 中掛載 Windows 7 分割區。有人可以幫忙嗎?
這是 fdisk 輸出:
$ sudo fdisk -l
Disk /dev/sda: 167,7 GiB, 180045766656 bytes, 351651888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x528025a8
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 234141695 234139648 111,7G 7 HPFS/NTFS/exFAT
/dev/sda2 234141696 351649791 117508096 56G 83 Linux
這是 gdisk 輸出:
$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************
Disk /dev/sda: 351651888 sectors, 167.7 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 9E061B7E-6EF6-4F8E-BBEC-4FA6BF459929
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 351651854
Partitions will be aligned on 2048-sector boundaries
Total free space is 4077 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 234141695 111.6 GiB 0700 Microsoft basic data
2 234141696 351649791 56.0 GiB 8300 Linux filesystem
以下是 Windows 分割區上的 blkid 輸出:
$ sudo blkid /dev/sda1
/dev/sda1: PTTYPE="PMBR" PARTUUID="528025a8-01"
如果您需要更多信息,請告訴我。
答案1
在安裝 Ubuntu 之前,您是否將磁碟轉換為 MBR 格式?您是否需要更改任何 BIOS 設定才能安裝 Ubuntu?如果是,那麼您可能需要恢復該設定才能啟動 Windows。
我有一個 GPT 驅動器,我必須清理它(擦除所有內容),然後將其轉換為 MBR 樣式,然後分別為 Windows 和 Linux 重新分割,然後重新安裝 Windows 和 Linux。那時我用的是 Fedora。