如何在包含其他分区的不同硬盘上安装 Ubuntu 和 Windows?

如何在包含其他分区的不同硬盘上安装 Ubuntu 和 Windows?

我的 SSD(sdb)上安装了 Windows,但其恢复和 EFI 分区已默认创建在我的 HDD(sda)上。我在 HDD 上还有另一个分区用于存储一些文件。

这是我从 Ubiquity 获得的信息,其中包含每个分区的一般描述(取自 Windows 分区工具):

  • sda1:Windows 恢复分区
  • sda2:Windows EFI 分区
  • sda3:NTFS 通用分区
  • sdb被一个 NTFS Windows 分区占用。

当我尝试像往常一样安装 Ubuntu 时,它无法识别 Windows。我阅读了如何手动设置 Ubuntu 的分区,但它说我无法在保留其他sda分区的情况下执行此操作。

有没有什么办法可以做到这一点而不丢失它们?

编辑:输出fdisk -lu

Disk /dev/loop0: 1.6 GiB, 1742868480 bytes, 3404040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 82 MiB, 86011904 bytes, 167992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 140 MiB, 146841600 bytes, 286800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 1.6 MiB, 1691648 bytes, 3304 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 12.2 MiB, 12804096 bytes, 25008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 21 MiB, 22003712 bytes, 42976 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 3.3 MiB, 3411968 bytes, 6664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 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: gpt
Disk identifier: 9033DBB1-06EA-4D3F-80DE-DD7C2CBFA9B2

Device       Start        End    Sectors  Size Type
/dev/sda1     2048    1023999    1021952  499M Windows recovery environment
/dev/sda2  1024000    1228799     204800  100M EFI System
/dev/sda3  1259520 1783838719 1782579200  850G Microsoft basic data


Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1E74C216-5FA5-4648-BDC5-0EC101622203

Device     Start       End   Sectors   Size Type
/dev/sdb1   2048 234438655 234436608 111.8G Microsoft basic data


Disk /dev/sdc: 14.6 GiB, 15664676864 bytes, 30595072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x01bf4af5

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdc1  *     2048 30595071 30593024 14.6G  c W95 FAT32 (LBA)

相关内容