BackupPartitionsViaDDandSfdisk: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
(Created page with "Backup first 446, then windows partitions.. <pre> # sfdisk -d /dev/sda > drew-8570w-win10_sfdisk # dd if=/dev/sda of=drew-8570w-win10.bs446 bs=446 count=1 # dd if=/dev/sda1 of...")
 
m (Drew moved page Backuppartitionsddandsfdisk to BackupPartitionsViaDDandSfdisk: new name in camel case reads easier)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Backup first 446, then windows partitions..
Backup first 446, then windows partitions..
<pre>
<syntaxhighlight lang=bash>
# sfdisk -d /dev/sda > drew-8570w-win10_sfdisk
# sfdisk -d /dev/sda > drew-8570w-win10_sfdisk
# dd if=/dev/sda of=drew-8570w-win10.bs446 bs=446 count=1
# dd if=/dev/sda of=drew-8570w-win10.bs446 bs=446 count=1
Line 7: Line 7:
# dd if=/dev/sda3 of=drew-8570w-win10.sda3
# dd if=/dev/sda3 of=drew-8570w-win10.sda3
# dd if=/dev/sda4 of=drew-8570w-win10.sda4
# dd if=/dev/sda4 of=drew-8570w-win10.sda4
</pre>
</syntaxhighlight>

Latest revision as of 00:34, 25 January 2018

Backup first 446, then windows partitions..

# sfdisk -d /dev/sda > drew-8570w-win10_sfdisk
# dd if=/dev/sda of=drew-8570w-win10.bs446 bs=446 count=1
# dd if=/dev/sda1 of=drew-8570w-win10.sda1
# dd if=/dev/sda2 of=drew-8570w-win10.sda2
# dd if=/dev/sda3 of=drew-8570w-win10.sda3
# dd if=/dev/sda4 of=drew-8570w-win10.sda4