启动 Ubuntu 18.04 时显示以下错误:
[FAILED] Failed to activate swap /swapfile.
See 'systemct1 status swapfile.swap' for details
然后它就卡在 Ubuntu 加载屏幕上。
sudo parted -l
在实时安装程序中 运行的输出:
Model: ATA ST1000LM035-1RK1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ntfs boot
2 525MB 209GB 209GB primary ntfs
3 209GB 210GB 528MB primary ntfs diag
4 210GB 1000GB 790GB extended lba
5 210GB 968GB 758GB logical ntfs
6 968GB 1000GB 32.2GB logical ext4
Warning: Unable to open /dev/sr0 read-write (Read-only file system).
/dev/sr0 has been opened read-only.
Model: PLDS DVD-RW DA8AESH (scsi)
Disk /dev/sr0: 1922MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:
Number Start End Size File system Name Flags
1 2048B 6143B 4096B Apple
2 1880MB 1883MB 2392kB EFI