[Samba] Ghosting Linux Partitions.

Sebastián Abate s_abate at ciudad.com.ar
Wed Mar 19 15:48:51 GMT 2003

Be carefull if you use ACL, tar don’t save your acl's configuration. Use

Sebastián Abate
Telcom Sistemas

-----Original Message-----
From: samba-bounces+s_abate=ciudad.com.ar at lists.samba.org
[mailto:samba-bounces+s_abate=ciudad.com.ar at lists.samba.org] On Behalf
Of JJunge at paritaet-th.de
Sent: Miércoles, 19 de Marzo de 2003 06:21 a.m.
To: Kevin Smith; Samba
Subject: Re: [Samba] Ghosting Linux Partitions.

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

Joerg Junge


Jörg Junge

Paritätischer Wohlfahrtsverband
Landesverband Thüringen e.V.
Bergstr. 11
99192 Neudietendorf

Tel : +49 36202 26 204
Fax: +49 36202 26 234

To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list