[ILUG] harddisk swap
tim at birdsnest.maths.tcd.ie
Thu Apr 29 00:07:47 IST 2004
On Wednesday 28 April 2004 15:59, Cian Cullinan wrote:
> 1) I've partitioned the SCSI disk in advance and done "mkfs.ext3 -j" on all
> partions except the swap. Will this work or will I have do something like
> dd if=/dev/hda of=/dev/sda bs=512 count=1
> for the MBR before I can go and partition /dev/sda?
I would be very surprised if you could copy the MBR in this way.
In any case, it seems to me perfectly sensible to partition the disk
and create file-systems before doing anything else.
> 2) I'm planning on booting from a Fire CD mounting /dev/hda partitions
> read-only and using cp to copy them to the /dev/sda partitions. Sound
I would use "cp -a" as you suggest.
You have to be careful not to copy filesystems mounted on subdirectories,
eg by umount-ing them before copying the main system.
But I'm sure the ILUG gurus will give better advice.
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
More information about the ILUG