public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
From: Andor Demarteau <ademarte@students.cs.uu.nl>
To: "blinux-list@redhat.com" <blinux-list@redhat.com>
Subject: Re: Transfering linux system to a new hard drive
Date: Wed, 5 Dec 2001 16:31:32 +0100 (MET)	[thread overview]
Message-ID: <Pine.GSO.4.21.0112051627290.4343-100000@abeel.students.cs.uu.nl> (raw)
In-Reply-To: <Pine.LNX.4.40.0112031636300.2150-100000@maranatha.chartermi.net>

hi,
The best way to do this is the following:
create an ext2-filesystem on the enw drive using mke2fs
mount it under say /mnt
then do
find / -mount  | cpio -rp /mnt/

This is going by memroy.
You do best readingthe  find(1) and cpio(1) manpages before proceding.
I used this combination some time ago to move my root-partition around
between 2 places about 5 times in one day ;)

Note that I'm asuming that your old hard-drive contains only a single
partition.
If this is not the case, you probably want to do this for every single
partition you need to copy.
success

-- 
slainte mhaith (good health), slainte (cheers)
Uisce Beatha (water of live/health)
-----------
Andor Demarteau                 E-mail: ademarte@students.cs.uu.nl
student computer science        www: http://www.students.cs.uu.nl/~ademarte/
Utrecht University              irc: see webpage for details
-----------
Believe in yourself, know what you want, and make it happen!




  parent reply	other threads:[~ UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 Cheryl Homiak
 ` Henry Yen
   ` Rafael Skodlar
 ` Rafael Skodlar
 ` Andor Demarteau [this message]
 ` James R. Van Zandt
   ` Vividata OCR Shop Ron Marriage
     ` Roger Butenuth
       ` John J. Boyer
   ` Ron Marriage
   ` Ron Marriage
     ` Henry Yen
     ` John J. Boyer
       ` Henry Yen
         ` John J. Boyer
           ` lobap
           ` Janina Sajka
     [not found]         ` <Pine.LNX.4.33.0112281403001.2919-100000@localhost.localdom ain>
           ` John G. Heim (26 2-9887)
       ` Janina Sajka
     ` Roger Butenuth
     ` Janina Sajka
       ` Ron Marriage
     [not found]     ` <Pine.LNX.4.43.0112291000490.537-100000@toccata.grg.afb.net >
       ` Brent Harding
         ` Janina Sajka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.21.0112051627290.4343-100000@abeel.students.cs.uu.nl \
    --to=ademarte@students.cs.uu.nl \
    --cc=blinux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).