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 01:01:52PM +0100, Martin Husemann wrote:
|On Thu, Nov 17, 2011 at 10:59:07PM +1100, Malcolm Herbert wrote:
|> ... why can't the installation floppy filesystem be vnconfig'ed,
|> mounted and then chrooted into directly to start sysinst? not tried
|> it myself, but should probably work ... everything else could be left
|> to sysinst to handle and it should have the correct environment to
|> work in (including /dev directory)
was thinking of something like the following:
# vnconfig vnd0 /data/dist/netbsd/NetBSD/iso/5.1/i386cd-5.1.iso
# mount -t cd9660 /dev/vnd0a /mnt/vnd0
# vnconfig -r vnd1 /mnt/vnd0/i386/installation/floppy/boot-big.fs
( can't recall the magic to correctly mount the floppy image, sorry )
# chroot /mnt/vnd1
# ./sysinst
|The /dev is created by init on a tmpfs, so you have to handle that part
|manually when using chroot.
OK, fair enough ... how does one do that bit?
--
Malcolm Herbert This brain intentionally
mjch%mjch.net@localhost left
blank
Home |
Main Index |
Thread Index |
Old Index