From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199710241532.JAA01547@ellpspace.math.ualberta.ca> Date: Fri, 24 Oct 1997 09:32:12 -0600 (MDT) From: Michal Jaegermann Subject: Re: moving linux from one disk to another In-Reply-To: <9710240845.AA41552@nero.physik.uni-mainz.de> > > 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