NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installing netbsd on another drive using existing installation

On Thu, Nov 17, 2011 at 04:55:32PM +0530, Mayuresh wrote:
> Now I want to install NetBSD on internal HDD of this computer by booting
> it using this external HDD with NetBSD.
> Is there any way to do that?

So you have alread installed NetBSD on the external HD and can boot from
it? If not, just point the installer to the external hard disk and do a
standard install first.

Now the next step is to transfer the installer itself there too:
not tested, but likely to work on architectures with full grown install CD
(i386, amd64, sparc64):

 - get a full install CD (image is enough) and transfer it to the external
 - extract its contents somewhere (if you only have the image, you should
   be able to vnconfig it and then mount -r -t cd9660 vnd0)
 - move the external hd to the target computer and boot from it

Now login as root, make sure your $TERM is ok, then do:

   chroot /path/to/the/extracted/install-cd-contents ./sysinst


Home | Main Index | Thread Index | Old Index