On Tue, 27 Oct 2015 21:31:01 +0000 Wols Lists <antlists@xxxxxxxxxxxxxxx> wrote: > On 27/10/15 16:45, Doug Herr wrote: > > 1. Partition new drive (plugged in via external SATA dock) > > #fdisk /dev/sdc > > (make it an exact match of sda/sdb unless it turns out to be smaller, > > in which case I can shrink /boot to make room.) > > man gdisk. > > Look at the "u" option in the "expert" menu - it'll probably save you > some work :-) Unfamiliar with 'gdisk', but when I need the exact same set of partitions on another drive, I use sfdisk: # sfdisk -d /dev/sda > sda.sf # sfdisk /dev/sdb < sda.sf You could even do it in one step: # sfdisk -d /dev/sda | sfdisk /dev/sdb -- With respect, Roman
Attachment:
signature.asc
Description: PGP signature