我正在尝试在一台翻新的联想 Thinkpad T420 上安装 Ubuntu,该电脑配备 128 GB 的 SSD。有一个 70 GB 的 win7 分区,其余空间未分配,因为我在 Windows 中缩小了 win7 分区。我正在从闪存驱动器启动 Ubuntu。无论是使用 Ubuntu 安装程序还是使用 GParted,我都无法创建分区。
尝试交换分区时 GParted 错误日志:
GParted 0.19.0 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2
Create Primary Partition #1 (linux-swap, 1.95 GiB) on /dev/sda 00:00:00 ( ERROR )
create empty partition 00:00:00 ( SUCCESS )
path: /dev/sda3
start: 168146944
end: 172242943
size: 4096000 (1.95 GiB)
clear old file system signatures in /dev/sda3 00:00:00 ( SUCCESS )
write 68.00 KiB of zeros at byte offset 0 00:00:00 ( SUCCESS )
write 4.00 KiB of zeros at byte offset 67108864 00:00:00 ( SUCCESS )
write 4.00 KiB of zeros at byte offset 2097147904 00:00:00 ( SUCCESS )
flush operating system cache of /dev/sda 00:00:00 ( SUCCESS )
set partition type on /dev/sda3 00:00:00 ( SUCCESS )
new partition type: linux-swap(v1)
create new linux-swap file system 00:00:00 ( ERROR )
mkswap -L "" /dev/sda3
/dev/sda3: No such file or directory
========================================
尝试 ext4 分区时 GParted 错误日志:
Create Primary Partition #1 (ext4, 39.06 GiB) on /dev/sda 00:00:00 ( ERROR )
create empty partition 00:00:00 ( SUCCESS )
path: /dev/sda3
start: 168146944
end: 250068991
size: 81922048 (39.06 GiB)
clear old file system signatures in /dev/sda3 00:00:00 ( SUCCESS )
write 68.00 KiB of zeros at byte offset 0 00:00:00 ( SUCCESS )
write 4.00 KiB of zeros at byte offset 67108864 00:00:00 ( SUCCESS )
write 4.00 KiB of zeros at byte offset 41944084480 00:00:00 ( SUCCESS )
flush operating system cache of /dev/sda 00:00:00 ( SUCCESS )
set partition type on /dev/sda3 00:00:00 ( SUCCESS )
new partition type: ext4
create new ext4 file system 00:00:00 ( ERROR )
mkfs.ext4 -L "" /dev/sda3
mke2fs 1.42.12 (29-Aug-2014)
The file /dev/sda3 does not exist and no size was specified
。
=============================================================================
请告诉我我只是做了一件非常愚蠢的事情。我是新手!真的不明白发生了什么。使用安装程序时,它会显示错误消息:The creation of swap space in partition #3 of SCSI5 (0,0,0)(sda) failed.
当我尝试安装没有交换分区的 Ubuntu 时,它显示了类似的消息,提示无法创建 ext4 分区。
================================================================================== 截图: