Clone 320GB HDD to 64GB SDD
-
- gelöst
- SaviorCalabro
-
-
I can make no sense of them.
-
I can make no sense of them.
OK I'll explain them in detail
From OMV Boot into CloneZilla
enter on Enter_Shell> CMD
in the shell I type (sudo su)
then type (fdisk -l)
check how the discs are indicated
sdb 320GB sda 64GB
then type the DD command
(dd if = / dev / sdb of = / dev / sda bs = 512 count = 1)
Reboot
Boot into CloneZilla
enter on Enter_Shell> CMD
I write (sui ^ c) send and type (sudo su) and again (fdisk -l)
I check the screen if everything is ok
and finally (fdisk / de ^ c) then exit again exit
start clonezilla
send on "device-device mode"
then on "beginner"
below on "part_to_local_part"
I select HDD sdb1 as source, SSD sda1 as destination
skip checking / repairing source file system
yes twice
rerun
device-device mode
beginner
part_to_local_part
sdb2 as source
sda2 as destination
skip checking / repairing source file system
yes twice
Remove CloneZilla
Reboot
I hope it all works out
you understand now?
-
You are taking what could be one line of shell code and turning it into I do not know what.
Sorry, but if you want to continue on the path you are on now I can't help you.
-
You are taking what could be one line of shell code and turning it into I do not know what.
Sorry, but if you want to continue on the path you are on now I can't help you.After reducing the size of the HDD partition, I connected the SSD to the machine's motherboard and restarted the machine in the Clonezilla utility, entered the Bash shell interface and checked both the disk partition table and the dimensions using the following commands.
# fdisk -l /dev/sda
# fdisk -l /dev /sdb
here I have taken note of the position of the disks
sda 64GB SSD sdb HDD 320GB
then I entered the dd command
# dd if=/dev/sdb of=/dev/sda bs=512 count=1
After cloning the MBR, I ran the fdisk -l command again to check if the partition table matches on both disks.
I quit the Bash shell
with the exit command
Now, that's all right, I started the Clonezilla utility, I selected the device-device mode, run the wizard for beginners and select the part-to-local_part cloning option.
I chose the first local partition from the list (sdb1 - System Reserved) as the source and I pressed the Enter key to continue.
So, I chose the local destination partition, which will be the first partition from the second disk, (sda1) and I hit the Enter key to continue.
In the next screen I chose Ignore check/repair file system and I pressed the Enter key again to continue.
Finally, I hit the Enter key again to continue and I twice answered with yes (y) to accept the warnings and start the cloning process.
when it was finished I turned it off I removed the HDD physically from the PC,
and I booted with SSD and it worked perfectly
Thank you so much gderf for making me reason, on all the steps to do
-
SaviorCalabro
Hat das Label gelöst hinzugefügt. -
Here is your one line of shell code, now that you know which disk is which:
dd if=/dev/sdb of=/dev/sda bs=1M status=progress
-
Here is your one line of shell code, now that you know which disk is which:
dd if=/dev/sdb of=/dev/sda bs=1M status=progressok! I understand, in this way I clone the disk without going through clonezilla
gderf many thanks, I write it down for future cloning
-
Consider using https://github.com/Drewsif/PiShrink
It reduced my 64GB image file to 5GB size
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!