switching hard drives

Collins erichey2
Mon May 17 11:57:02 PDT 2004


On Saturday 20 December 2003 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?

I presume you mean chroot to the root partition of the new dtrive1  If you 
indeed have a separate /boot partition, make sure it is mounted to the new 
root partition, then chroot.  I do this sort of thing all the time with grub, 
but then I've never understood lilo.

-- 
Collins



More information about the Linux-users mailing list