F5F Stay Refreshed Software Operating Systems Transferring Ubuntu to another Drive?

Transferring Ubuntu to another Drive?

Transferring Ubuntu to another Drive?

G
Gelatina
Junior Member
13
07-02-2016, 08:59 PM
#1
I enhanced my setup by assembling a fresh PC and transferring components from the previous machine. ...but the new configuration includes M.2 slots and a Samsung 980 Pro 1TB. The total storage now consists of: 1. 1TB Samsung M.2 Drive 2. 960GB SSD running Ubuntu 21.10 3. 120GB SSD with Windows 10 (including a 240GB version in NTFS format). When powering on, I expected Ubuntu to launch smoothly, but upon switching, the system froze. After checking the boot sequence, I noticed Windows was already attempting to fix itself. A reboot into the BIOS helped me adjust the boot order to prioritize the 960GB SSD with GRUB. However, that drive still wouldn’t start. I rebuilt GRUB using a live USB and eventually installed Ubuntu 20.04 on the Samsung drive. Now, upon launching, I can select between: - Booting Ubuntu 20.04 from the Samsung drive (a clean installation) - Booting Ubuntu 21.10 from the 960GB SSD - Booting Windows 10 from the 120GB SSD. My aim is to keep Ubuntu 21.10 on the Samsung drive and Windows 10 as a backup option. What would be the optimal next step?
G
Gelatina
07-02-2016, 08:59 PM #1

I enhanced my setup by assembling a fresh PC and transferring components from the previous machine. ...but the new configuration includes M.2 slots and a Samsung 980 Pro 1TB. The total storage now consists of: 1. 1TB Samsung M.2 Drive 2. 960GB SSD running Ubuntu 21.10 3. 120GB SSD with Windows 10 (including a 240GB version in NTFS format). When powering on, I expected Ubuntu to launch smoothly, but upon switching, the system froze. After checking the boot sequence, I noticed Windows was already attempting to fix itself. A reboot into the BIOS helped me adjust the boot order to prioritize the 960GB SSD with GRUB. However, that drive still wouldn’t start. I rebuilt GRUB using a live USB and eventually installed Ubuntu 20.04 on the Samsung drive. Now, upon launching, I can select between: - Booting Ubuntu 20.04 from the Samsung drive (a clean installation) - Booting Ubuntu 21.10 from the 960GB SSD - Booting Windows 10 from the 120GB SSD. My aim is to keep Ubuntu 21.10 on the Samsung drive and Windows 10 as a backup option. What would be the optimal next step?

P
Pokemongirl103
Junior Member
20
07-03-2016, 10:39 AM
#2
It was originally designed exactly for that purpose.
P
Pokemongirl103
07-03-2016, 10:39 AM #2

It was originally designed exactly for that purpose.

K
KPN
Member
61
07-04-2016, 05:20 AM
#3
I thought Clonezilla creates exact copies of drives one-to-one. It’s interesting, but how does it affect the fstab files if the UUIDs for /boot and / change? It seems like a method to permanently disable the system.
K
KPN
07-04-2016, 05:20 AM #3

I thought Clonezilla creates exact copies of drives one-to-one. It’s interesting, but how does it affect the fstab files if the UUIDs for /boot and / change? It seems like a method to permanently disable the system.

S
Spriter80
Member
111
07-05-2016, 05:43 AM
#4
To transfer Linux, you connect via USB stick, move all files keeping permissions and hidden items intact, and then run update-grub. See the guide here: https://askubuntu.com/questions/145241/h...m-a-livecd
S
Spriter80
07-05-2016, 05:43 AM #4

To transfer Linux, you connect via USB stick, move all files keeping permissions and hidden items intact, and then run update-grub. See the guide here: https://askubuntu.com/questions/145241/h...m-a-livecd

D
DividedFX
Junior Member
2
07-05-2016, 07:30 AM
#5
Only a short trip between them.
D
DividedFX
07-05-2016, 07:30 AM #5

Only a short trip between them.

P
poler199
Member
74
07-05-2016, 12:03 PM
#6
I encountered issues copying files during login from a live USB, so I set up a Clonezilla setup. I didn’t expect it to preserve UUIDs on the new drive. When I restarted without removing the old drive, my fstab behavior became unpredictable. I had Ubuntu running with /boot and swap from the M.2 drive, while the / partition stayed on the SSD. Disconnecting the SSD resolved the problem. Now I just need to clean up, verify functionality, and reconnect the SSD. Then I can boot from a live Ubuntu, repartition it, and assign new UUIDs for storage. It’s straightforward once you understand the steps.
P
poler199
07-05-2016, 12:03 PM #6

I encountered issues copying files during login from a live USB, so I set up a Clonezilla setup. I didn’t expect it to preserve UUIDs on the new drive. When I restarted without removing the old drive, my fstab behavior became unpredictable. I had Ubuntu running with /boot and swap from the M.2 drive, while the / partition stayed on the SSD. Disconnecting the SSD resolved the problem. Now I just need to clean up, verify functionality, and reconnect the SSD. Then I can boot from a live Ubuntu, repartition it, and assign new UUIDs for storage. It’s straightforward once you understand the steps.

C
ChloeET
Senior Member
736
07-05-2016, 01:53 PM
#7
You can transfer a specific partition from one drive to another using Clonezilla, provided the destination partition is bigger. *Clonezilla supports backing up entire hard drives and also partitions.*
C
ChloeET
07-05-2016, 01:53 PM #7

You can transfer a specific partition from one drive to another using Clonezilla, provided the destination partition is bigger. *Clonezilla supports backing up entire hard drives and also partitions.*