You are here: Foswiki>KnowledgeBase Web>LinuxClonzilla (09 Jun 2020, AggelikiAnagnostopoulou)Edit Attach
# ubuntu/clonzilla commands

# for clonzilla only
#--------------------------------------
# start it, select enter shell and then:
sudo su
start service ssh # start ssh service
dhclient # obtain IP from DHCP server
ip a

# COMMON PART
#---------------------------------------
# view available hard disks and their sizes
lsblk | grep -v 'part\|loop'

# view Serial Numbers and Models
ls /dev/sd* | grep -v '[0-9]$' | xargs -i bash -c 'echo; echo {}; hdparm -i {}|grep Model'

# copy! BE SURE NOT TO MESS THE LETTERS!!!!!!!
# ---------------------------------------------
# use ddrescue if you have it
ddrescue --force /dev/sdb /dev/sda
# If you don't have ddrescue use plain old dd:
dd if=/dev/sdb of=/dev/sda bs=64M

Topic revision: r1 - 09 Jun 2020, AggelikiAnagnostopoulou
Copyright © enLogic