switching hard drives

Net Llama! netllama
Mon May 17 11:57:02 PDT 2004


On 12/20/03 07:07, dep wrote:

> okay. here's my sense of what will work.
> 
> copying everything over is no problem -- that's totally a piece of cake. 
> the trick, as mentioned, will be getting lilo to write to the boot 
> sector of the new drive properly; i am replacing, not adding, a drive.
> 
> to perform that function, i believe i can boot from floppy, chroot to 
> the boot partition of the new drive, and run /sbin/lilo.
> 
> no?

Yea, that would work, although its not neccesary.  You could chroot into 
the new drive after copying everything and run /sbin/lilo.  Of course if 
you just dd the drive, then lilo comes along with it.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   7:30am  up 13 days, 12:18,  1 user,  load average: 2.23, 1.58, 0.83


More information about the Linux-users mailing list