> AFAIK there's no tool that can read one partition table and then
> re-create it on another device in a clever way.  You're right that
> dd would do the trick, just copying the partition table from the
> one drive to the other.  But be careful, if the disks have different
> geometries (check the boot output) then identical partition tables
> is not what you want...   It would be nice with a tool that could
> approximate a partition layout, but I haven't heard of any such
> tool  (anyone?)
I do a :
sfdisk -d /dev/sda | sed 's/sda/sdb' | sfdisk /dev/sdb 

Works like a charm, IF disks are the same...not tested on other configs
BTW: sfdisk is a wonderfull command-line tool, once you get the hang of
it...

Hope this (kinda) helps....
Jan.
-- 
                                                                  -o)
    Jan De Landtsheer                                             /\\
                                                                 _\_v

Reply via email to