From: Chris Riehl <Moron@pei.sympatico.ca>
Subject: take me off list please
Date: Sat, 25 Oct 1997 17:45:29 -0300 [thread overview]
Message-ID: <19ea37fa42a8b21321d9fa5e2838a661.axp-list@archive.invalid> (raw)
John Ross Hunt wrote:
> Here's an easier way. Assuming the second disk is partitioned and formatted,
> create a mount point and execute a shell script like this. All you need to do
> is substitute your device name and make similar corrections in /etc/fstab and
> you're set.
>
> #! /bin/sh
>
> cd /
> mount -t ext2 /dev/sdb3 /mnt/disk2
> find / -depth -xdev -print | cpio -padvVmB /mnt/disk2
>
> -John Ross Hunt
>
> -----Original Message-----
> From: Michal Jaegermann [SMTP:michal@ellpspace.math.ualberta.ca]
> Sent: Friday, October 24, 1997 10:32 AM
> To: axp-list@redhat.com
> Cc: martonak@nero.physik.uni-mainz.de
> Subject: Re: moving linux from one disk to another
>
> >
> > I have got a new external 2 GB SCSI disk and would like to attach it to
> > my UDB. So far, my Linux was on the internal 518 MB hard disk, and now
> > I would like to move it to the external one.
> > My question is whether it is
> > enough just to partition the new disk and copy the whole linux filesystem
> > onto it,
>
> It will work just dandy. Use simply 'cp -a' but remember to skip /proc
> and a mount directory for your new disk in the process. 'cp -a' will
> handle /dev correctly (other methods of copying use 'tar' or 'cpio' or
> something like that, on stdout piped to another process reading stdin, to
> copy things around but 'cp -a' is the simplest). Create 'proc' directory
> on a new disk to provide a mount point , adjust 'fstab' and you may ask
> milo to boot from your new disk without blowing anything on your old one.
> This is a good check that you have everything in order. Actually simpler
> than on Intel. :-)
>
> > What I would like to avoid is to have to install Linux again
> > on the external disk.
>
> No need. On one machine I have actually a cron process which
> updates periodically a mirror system on a "spare" disk. In
> a case of a disaster the machine can be just rebooted from this
> "spare" (not remotely, someobody has to type on a console).
>
> Actually the simplest way to get an answer to your question is just
> to try. Not very much involved in that. :-)
>
> Michal
>
> --
> 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
>
> --
> 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
--
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
next reply other threads:[~1997-10-25 20:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-25 20:45 Chris Riehl [this message]
[not found] <34525A67.1D59F5B6@pei.sympatico.ca>
1997-10-26 4:44 ` take me off list please Martin Radford
-- strict thread matches above, loose matches on Subject: below --
1997-10-25 20:44 Chris Riehl
1997-10-25 20:44 Chris Riehl
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox