Re: [Hampshire] disk cloning problem

Top Page
Author: Hugo Mills
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] disk cloning problem

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x56753100.hantslug.org.uk.16859': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Wed Jun 16 10:00:47 2010 BST
gpg: using DSA key 20ACB3BE515C238D
gpg: Can't check signature: No public key
On Wed, Jun 16, 2010 at 06:24:18AM +0100, Cayenne-uk wrote:
> Well - I tried dd_rescue and it successfully copied the disk, minus the
> dodgy blocks. And it booted too. My next adventure was with the partitioner.
> My plan being to increase the size of the win & linux partitions and install
> the newest version. I apparently increased the size of the linux partn, but
> the win partn didn't show the increase i gave it. All seemed fine at
> first...
>
> Anyway, long story short, I can no longer boot from the new drive, and have
> to use the original HD again. Indeed, Knoppix doesn't even see it when I
> attach it via the USB caddy. Is there a way I can rescue it?


Given what you've been doing, not being able to boot would
generally indicate that you've damaged either the boot sector or
moved/damaged some part of the boot system. Not being able to see it
on the USB caddy sounds rather more fatal, though. Check that the
drive is seated in the caddy properly first.

If you can get the drive recognised again, you should simply be
able to use dd_rescue again to get another clone, and start again.

With respect to increasing partition sizes, you are likely to be
able to increase the last partition on the disk very easily, but
anything else will be rather harder to manage (because the other
partitions will have to be moved further up the disk to make the
room). You could consider making the larger partitions first, and then
using dd_rescue to clone the individual partitions, rather than the
whole disk.

GNU PartEd is the tool to use for generalised partition-shuffling
things, to be used from a rescue disk. There's also a tool I've found
for Windows that can be used to resize NTFS filesystems into their
partitions safely. I can't remember what it is off-hand, but I'll try
to remember to look it up later.

HTH,
Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
        --- emacs:  Eighty Megabytes And Constantly Swapping. ---