D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Copying partitions to new (larger) HDD

 

Simon Williams wrote:
> Rob Beard wrote:
>> I'd boot off a Live CD (Knoppix, Ubuntu etc) and then partition your new 
>> drive how you want it.  Then mount the old partitions and the new 
>> partitions and copy everything over as Neil suggested.
> 
> I would just be using cp -a: that's what I used when I changed laptop, 
> but that required a reinstall of windows anyway. I'm trying to do it 
> without disturbing winxp. I'm not really expecting cp -a to work here, 
> though I could be wrong. Perhaps the main reason for this is that NTFS 
> write support is very new and hasn't implemented all the special 
> functions yet. I really would rather use dd. I'm surprised no-one has 
> written a tool to do this easily.
> 
>> You'd also have to install a boot loader (Grub for instance) which might 
>> be just a case of running grub-install hd0 and updating your fstab (if 
>> it uses UID's or volume labels instead of just plain hold /dev/sda1, 2, 
>> 3 etc...).
> 
> Reinstalling the bootloader is expected and not a problem.
> 
>> Make sure you copy and not move too, that way if things screw up you can 
>> go back to the smaller drive (and just a thought, is the plain old IDE 
>> drive /dev/sdb or /dev/hdb?)
> 
> Of course (but thanks anyway- I have been known to do very stupid things).
> 

you can use dd and gparted to work the magic... I recall seeing a linux 
"rescue" disk around on the internet, but I can't recall exactly where.. 
it had things like, fdisk, dd and gparted on it..

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html