* Move system
@ 1999-05-14 2:41 Dan O'Reilly
1999-05-14 3:22 ` mgraffam
0 siblings, 1 reply; 4+ messages in thread
From: Dan O'Reilly @ 1999-05-14 2:41 UTC (permalink / raw)
To: axp-list
I've installed RH 6.0 on my Multia, on a primary partition. Now, I would
like to move it to a completely different disk, and put it either in another
primary partition, or onto a logical partition in an extended partition.
Is there some magic for doing this? I have WNT 4.0 in the primary partition
on the disk I'm moving it to.
------
+-------------------------------+---------------------------------------+
| Dan O'Reilly | "Outside a dog, a book is man's best |
| Principal Engineer | friend. Inside a dog, it's too |
| Process Software Corporation | dark to read." |
| http://www.process.com | -- Groucho Marx |
+-------------------------------+---------------------------------------+
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Move system
1999-05-14 2:41 Move system Dan O'Reilly
@ 1999-05-14 3:22 ` mgraffam
1999-05-14 4:18 ` Michal Jaegermann
0 siblings, 1 reply; 4+ messages in thread
From: mgraffam @ 1999-05-14 3:22 UTC (permalink / raw)
To: axp-list
On Thu, 13 May 1999, Dan O'Reilly wrote:
> I've installed RH 6.0 on my Multia, on a primary partition. Now, I would
> like to move it to a completely different disk, and put it either in another
> primary partition, or onto a logical partition in an extended partition.
> Is there some magic for doing this? I have WNT 4.0 in the primary partition
> on the disk I'm moving it to.
Just recursively copy everything. Mount the new disk on /mnt and cp -R
everything except mnt in /. Then go to the new disk and change the stuff
in /etc/fstab to reflect the new root device and such.
I did this out of curiousity the other day when I installed an IDE drive
in my Multia.. then I booted the IDE disk and everything went great.
You'll need to set up your autoboot set up of course.. for me, I just
changed the command line passed to MILO (I use ARC to jumpstart MILO).
Worked like a charm. I expected having more trouble than that.. which is
partly why I did it -- I was bored and figured I may as well cause a few
problems so I can learn something :)
Michael J. Graffam (mgraffam@idsi.net)
"..subordination of one sex to the other is wrong in itself, and now
one of the chief hindrances to human improvement.." John Stuart Mill
"The Subjection of Women"
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Move system
@ 1999-05-14 4:07 Tom King
0 siblings, 0 replies; 4+ messages in thread
From: Tom King @ 1999-05-14 4:07 UTC (permalink / raw)
To: 'axp-list@redhat.com'
If you create the partition on the destination disk and mount it you can
always
do something like
tar cvf - 'list of directories excluding mnt' | ( cd /mnt ; tar xpfv -)
beware that tar follows the tree - so make sure only root is mounted !
or use cpio ( but i don't know how to preserve links )
> ----------
> From: Dan O'Reilly
> Reply To: axp-list@redhat.com
> Sent: Friday, 14 May 1999 12:41
> To: axp-list@redhat.com
> Subject: Move system
>
> I've installed RH 6.0 on my Multia, on a primary partition. Now, I would
> like to move it to a completely different disk, and put it either in
> another
> primary partition, or onto a logical partition in an extended partition.
> Is there some magic for doing this? I have WNT 4.0 in the primary
> partition
> on the disk I'm moving it to.
>
>
> ------
> +-------------------------------+---------------------------------------+
> | Dan O'Reilly | "Outside a dog, a book is man's best |
> | Principal Engineer | friend. Inside a dog, it's too |
> | Process Software Corporation | dark to read." |
> | http://www.process.com | -- Groucho Marx |
> +-------------------------------+---------------------------------------+
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Move system
1999-05-14 3:22 ` mgraffam
@ 1999-05-14 4:18 ` Michal Jaegermann
0 siblings, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1999-05-14 4:18 UTC (permalink / raw)
To: axp-list
mgraffam@idsi.net wrote:
>
> Just recursively copy everything. Mount the new disk on /mnt and cp -R
> everything except mnt in /.
Careful! 'cp -R' will change time-stamps, expand links and things like
that. You really want 'cp -a' which happens to be the same as 'cp -dpR'.
Actually you may even want 'cp -ax', depending on your layout, although
you will have to repeat that for every file system separately.
You definitely _do not_ want to copy a contents of /proc. :-)
'cp --help' will tell you more even without looking at cp docs;
and there are some other ways to copy full file systems even
if only less capable 'cp' is available ('cpio' is an old stand-by,
for example).
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-05-14 4:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-14 2:41 Move system Dan O'Reilly
1999-05-14 3:22 ` mgraffam
1999-05-14 4:18 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1999-05-14 4:07 Tom King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox