Quoting javadayaz <[email protected]>:

> The original hard drive was 400gb and the new one im installing is the
> 300gb...i could try and use that!

Ahh, problem is, it won't fit on the 300GB drive.  dd will copy  
everything on the drive regardless of if there is data there or not.

You'd need a 400GB or larger hard drive, ideally possibly larger  
unless it's an identical model drive (I've found in the past that some  
drives from different manufacturers despite being listed as the same  
size, they can be slightly different in capacity).

If you're really stuck you could possibly use gzip to create a backup  
image of the drive to your 300GB drive...

dd if=/dev/sda | gzip -9 > /media/harddrive/backup.img.gz

where /media/harddrive is the location of where the 300GB drive is  
mounted, if you mount it from Gnome then it's likely to be mounted on  
a folder in /media

To be honest though if you can afford it, you could well be worth  
getting another drive to back it up on to just in case.

Rob





-- 
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to