Ripped from the samba list

Ghosting ????
Why, you are useing linux.

Boot your system from cd.

Make the filesystem on the new hd
      mke2fs .....

Mount the old and the new hd, eg.:

      mkdir /OLD
      mkdir /NEW
      mount /dev/hda5 /OLD
      mount /dev/sda1 /NEW

Change to the old hd

      cd /OLD

use tar to archive the old partionion im memory and untar it on the new
hd
with keeping all the flags:

      tar -cSp --numeric-owner -f - . | ( cd /NEW && tar xSpvf - )

Write the boot manager to the new hd.
That's all.

Taken from http://sdb.suse.de/de/sdb/html/maddin_kopieren.html
But this is a german source.

resize2fs will not work on ext3

Regards
Joerg Junge

rip end

Tony.

-----Original Message-----
From: Christopher Joseph [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 11:31 AM
To: [EMAIL PROTECTED]
Subject: [newbie] duplicating hard disk


First apologies. I have had some problems getting the search function on
the mail archives to function properly this morning so I have not been 
able to trawl for past questions regarding the same topic properly.

The problem:

I have bought a new 80 Gb ATA133 Hard disk for my desktop running 
mandrake linux. I would like to migrate some of the partions on the 
existing disk to the new disk and then 'grow' the remaining partitions 
to fill the original disk.

I tried moving /home, /usr and /var on to the new disk by simply using 
SU on konqueror and simply copying the files accross. I them altered 
/etc/fstab to mount the new partitions at reboot.

BUT - the copy process changed a lot of permissions and all kinds of 
things have errored

Like:

opening emacs I couldn't save back to my emacs preferences because the 
.emacs... file had been chmodded as part of the copy process.

or

any number of services failed to shutdown or start despite there being 
no failures in the copy process. Again probably down to permissions.


The Question:

How should I migrate partions (/var, /usr, /home) onto the new disk and 
grow the remaining ones (/, SWAP).

Thanks in advance.
-- 
Christopher Joseph

-------------------
http://www.ideadesigners.com  [iseries & web technologies]
mailto: [EMAIL PROTECTED]
ICQ: 78019724
  

-+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+-

This message, and any associated attachment is confidential. If you have
received it in error, please delete it from your system, do not use or
disclose the information in any way, and notify either Tony S. Sykes
or the postmaster <mailto:[EMAIL PROTECTED]>  immediately.

The contents of this message may contain personal views which are not
necessarily the views of Business Computer Projects Ltd., unless
specifically stated.  

Whilst every effort has been made to ensure that emails and their
attachments are virus free, it is the responsibility of the recipient(s)
to verify the integrity of such emails.

 
Business Computer Projects Ltd
BCP House
151 Charles Street
Stockport
Cheshire
SK1 3JY
 
Tel: +44 (0)161 355-3000
Fax: +44 (0)161 355-3001
Web: http://www.bcpsoftware.com <http://www.bcpsoftware.com/> 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to