Dual-Boot

將 HDD 複製到 SSD 後 Kubuntu 無法啟動(雙啟動)

  • September 27, 2019

我的 Acer Aspire 3 最近真的很慢,所以我決定升級到 SSD(三星 860 QVO)。要將 HDD 複製到 SSD,我在台式 PC 上使用了“MiniTool 分區嚮導”,並將兩個驅動器連接為附加驅動器。完成後,我將 SSD 放入筆記型電腦並重新組織啟動順序,使其不會先啟動視窗。

當我在菜單中選擇 Kubuntu 啟動時,它會將我設置為“緊急模式”。我檢查了系統日誌,錯誤(在恢復模式下啟動時)是:

Couldn't get size:  0x800000000000000e
dell_smbios: unable to run on non-Dell system
Timed out while waiting for device dev-disk-by\x2duuid-2255\x2dF32A.device

第二個似乎只是一個警告,就我目前的研究而言,沒有什麼重要的,第三個出現了三次。

Windows 啟動完全正常。如果我沒有在恢復模式下啟動,我的數據分區的掛載有時也會失敗。

我需要做什麼?我沒有線索…

/etc/fstab 內容:

# <file system> <mount point>   <type>  <options>      <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=99003951-3d2a-4d2a-9f8c-819ebce625f5     /     ext4    errors=remount-ro    0    1
# /boot/efi was on /def/sda1 during installation
UUID=2255-F32A  /boot/efi        vfat    umask=0077    0    1
/swapfile    none   swap   sw    0    0
/dev/sda4    /media/name/DATA      ext4   defaults     0    0

留下可能相關的評論。也許有一些空間計數錯誤

lsblk 返回:

NAME    MAJ:MIN  RM    SIZE  RO  TYPE  MOUNTPOINT
loop0     7:0     0     89M   1  loop  /snap/core/7713
loop1     7:1     0  181,9M   1  loop  /snap/spotify/36
loop2     7:2     0  180,2M   1  loop  /snap/spotify/35
loop3     7:3     0   88,7M   1  loop  /snap/core/7396
sda       8:0     0  931,5G   0  disk
sda1     8:1     0    100M   0  part
sda2     8:2     0     16M   0  part
sda3     8:3     0    250G   0  part
sda4     8:4     0  616,4G   0  part /media/name/DATA
sda5     8:5     0     64G   0  part /
sda6     8:6     0      1G   0  part

sda3 上面有 windows sda4 是我的儲存分區 sda5 上面有 Kubuntu

blkid

/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/sda1: LABEL="ESP" UUID="BE40-0410" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="be400c10-745b-01d5-0802-20df2dbaea00"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="becf2cb0-745b-01d5-5892-67df2dbaea00"
/dev/sda3: LABEL="Acer" UUID="01D5745E44AB9120" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="00109877-9120-44ab-5efc-d701ee302100"
/dev/sda4: UUID="df63cc42-06a5-41f0-b43c-775ba196f4bb" TYPE="ext4" PARTLABEL="Basic data partition" PARTUUID="9f73fbf0-745f-01d5-f86d-b8c02fbaea00"
/dev/sda5: UUID="99003951-3d9a-4d2a-9f8c-819ebce625f5" TYPE="ext4" PARTLABEL="Basic data partition" PARTUUID="002e5b03-0de0-cf2b-627c-d56d06b65c00"
/dev/sda6: LABEL="Recovery" UUID="01D57462D38BA8E0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="f7d06bd0-7462-01d5-e831-c86931baea00"

由於某種原因UUID,EFI 分區的名稱已更改(可能是通過複製工具)。在啟動期間,Kubuntu 試圖掛載它並失敗,因為它在該標識符下找不到它。

要解決此問題,請編輯以下條目/etc/fstab

# <file system> <mount point>   <type>  <options>      <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=99003951-3d2a-4d2a-9f8c-819ebce625f5     /     ext4    errors=remount-ro    0    1
# /boot/efi was on /def/sda1 during installation
UUID=BE40-0410  /boot/efi        vfat    umask=0077    0    1
/swapfile    none   swap   sw    0    0
/dev/sda4    /media/name/DATA      ext4   defaults     0    0

引用自:https://unix.stackexchange.com/questions/544104