On Thu, Jun 18, 2015 at 07:28:52PM +0530, Mayuresh wrote: > On Thu, Jun 18, 2015 at 03:43:44PM +0200, Manuel Bouyer wrote: > > On Thu, Jun 18, 2015 at 06:27:40PM +0530, Mayuresh wrote: > > > On Thu, Jun 18, 2015 at 12:21:21PM +0200, Manuel Bouyer wrote: > > > > > I have another system running NetBSD 6.1 i386. Is it possible to use > > > > > it > > > > > for building 7.0/current amd64? > > > > > > > > Yes: ./build.sh -m amd64 -U tools kernel=GENERIC > > > > > > Some small questions: > > > > > > 1. How do I take the kernel to the target machine which is not booting - I > > > guess, I can use installer and copy new kernel in the form of a set? For > > > this, do I need to tar the kernel into kern-GENERIC.tgz? > > > > > > 2. Do I need to compile modules as well and create modules.tgz, or the > > > method you suggested produces monolithic kernel? > > > > > > 3. Do I need to compile base as well? I guess, not, for this problem. > > > > Well, of course if it panics while booting the installer, then you'll > > have to update the installer. > > The installer doesn't panic actually, as I am using 6.1.5 installer. Just > that USB doesn't work on 6.1.5. So method suggested in point 1 should > work. > > In this context, please advise me on above 3 points, which will really > help.
OK, so: build.sh ... kenrnel=GENERIC will give you a "netbsd" file, no kern-GENERIC.tgz set. Just copy this netbsd to the target machine's root directory. You don't need to compile modules, nor base. -- Manuel Bouyer <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --
