Re: hdd change
Is there a reason for using 'tar' instead of 'cp'?
PM, 22
On Fri, Jun 21, 2002 at 12:55:32PM -0400, Arthur H. Johnson II wrote:
>
> Sure, this would be quite easy to do.
>
> 1. Install the new HDD on a secondary IDE chain, say primary slave, hdb
>
> 2. Partition the drive the way you want
>
> 3. Mount the drive up the way it will appear for boot, on say /new
>
> 4. Run the following command:
> # tar cvpf - / --exclude=new --exclude=proc | tar xvpf - --directory=/new
>
> 5. Create the proc mount point under /new: mkdir /new/proc
>
> That will do an excellent job of duplicating your drive. Make sure you
> do your bootloader as well, depending on what you use. You can do other
> excludes on the tar command. Note the lack of a "/" at the beginning,
> that is on purpose.
>
>
>
> --
>
> Arthur H. Johnson II
> Senior Systems Engineer
>
> The Linux Box
> 206 S. Fifth Ave. Suite 150
> Ann Arbor, MI 48104
>
> tel. 734-761-4689
> fax. 734-769-8938
> pgr. 734-882-0323
>
> On 21 Jun 2002, Baan Zoltan wrote:
>
> > I have a debian box, but i would like to change my hdd to a larger one.
> > Is it possible to copy this debian system to the other hdd, because i
> > don't want to install a new one, and spending so much time to get a
> > configured system like this.
> >
> > Zoltan
> >
> >
> >
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to:
- References:
- hdd change
- From: Baan Zoltan <banan@hirosima.martos.bme.hu>
- Re: hdd change
- From: "Arthur H. Johnson II" <arthur@linuxbox.nu>