Re: How to install a custom built world+kernel to a machine with no OS?

2004-07-23 Thread Chris Vance
Darren Pilgrim wrote:
From: Sergey Zaharchenko [mailto:[EMAIL PROTECTED] 

On Mon, Jul 19, 2004 at 04:21:09AM -0700,
Darren Pilgrim probably wrote:
What do I need to us to accomplish the above?
man release.

Is there a way to skip the build portions of `make release` and just create
the distributions and ISOs with what's already built?
I typically use:
setenv CVSROOT foo
time make -DNOPORTS -DNODOC -DMAKE_ISOS release CHROOTDIR=/usr/release 
EXTSRCDIR=/usr/src   /tmp/release.out

This presumes you've already done a buildworld in /usr/src; it will also 
use that version of the source code, rather than pulling everything down 
from the CVS server.  Because of the way the release process uses a 
chroot environment, it's still going to have to re-build everything. So, 
it's quite a time-intensive operation no matter how many shortcuts you take.

chris.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How to install a custom built world+kernel to a machine with no OS?

2004-07-23 Thread Darren Pilgrim
 From: Chris Vance [mailto:[EMAIL PROTECTED] 
 Darren Pilgrim wrote:
 From: Sergey Zaharchenko [mailto:[EMAIL PROTECTED] 
 
 On Mon, Jul 19, 2004 at 04:21:09AM -0700,
  Darren Pilgrim probably wrote:
 
 What do I need to us to accomplish the above?
 
 man release.
  
  
  Is there a way to skip the build portions of `make release` 
 and just create
  the distributions and ISOs with what's already built?
 
 I typically use:
 
 setenv CVSROOT foo
 time make -DNOPORTS -DNODOC -DMAKE_ISOS release 
 CHROOTDIR=/usr/release 
 EXTSRCDIR=/usr/src   /tmp/release.out
 
 This presumes you've already done a buildworld in /usr/src; it will also 
 use that version of the source code, rather than pulling everything down
 from the CVS server.  Because of the way the release process uses a
 chroot environment, it's still going to have to re-build everything. So,
 it's quite a time-intensive operation no matter how many shortcuts you
take.

I ended up creating FreeSBIE auto-install CDs with some scripts to do the
disk layout, installworld/kernel and copy over the configuration.  It worked
very well.  I just sat there, jockeyed discs and watched the scroll.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How to install a custom built world+kernel to a machine with no OS?

2004-07-19 Thread Darren Pilgrim
[Private email redirected back to list]

 From: 3BSD [mailto:[EMAIL PROTECTED] 
 
 On Mon, 19 Jul 2004 04:21:09 -0700, Darren Pilgrim 
 [EMAIL PROTECTED] wrote:
  I have a number of machines onto which I want to install a custom-built
  world, kernel and set of packages, all of which have been built on
another
  machine.  The target machines presently have no OS on them and can only
be
  booted by CD.
 
 How similar are those machines hardware wise? Because if they are
 really similar, you could use an imaging utility such as norton ghost
 to replicate one install on any number of machines, provided their
 hardware is similar, but if you use a Generic kernel, I'd imagine you
 don't even need the machines to be that similar at all.

That doesn't solve the problem, though.  I would still need to install the
OS onto at least one machine.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to install a custom built world+kernel to a machine with no OS?

2004-07-19 Thread Andrew L. Gould
On Monday 19 July 2004 03:32 pm, Darren Pilgrim wrote:
 [Private email redirected back to list]

  From: 3BSD [mailto:[EMAIL PROTECTED]
 
  On Mon, 19 Jul 2004 04:21:09 -0700, Darren Pilgrim
 
  [EMAIL PROTECTED] wrote:
   I have a number of machines onto which I want to install a
   custom-built world, kernel and set of packages, all of which have
   been built on

 another

   machine.  The target machines presently have no OS on them and
   can only

 be

   booted by CD.
 
  How similar are those machines hardware wise? Because if they are
  really similar, you could use an imaging utility such as norton
  ghost to replicate one install on any number of machines, provided
  their hardware is similar, but if you use a Generic kernel, I'd
  imagine you don't even need the machines to be that similar at all.

 That doesn't solve the problem, though.  I would still need to
 install the OS onto at least one machine.

So are you saying that the custom world and kernel are not the system in 
use on the computer on which they exist?

Assuming you've already edited the configuration files 
(/etc/rc.conf, /etc/fstab, etc):

1. Could you take the harddrives out of the destination computers, mount 
them on the source computer, and copy the system onto the hard drives?

2. Couldn't you use a live cdrom distribution (Freesbie, Knoppix, BBC 
Linux, etc) to boot the machine, setup networking, mount the hard drive 
and transfer (ftp, nfs, rsync, etc) the custom system to the new 
computer?

Andrew Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How to install a custom built world+kernel to a machine with no OS?

2004-07-19 Thread Darren Pilgrim
 From: Andrew L. Gould [mailto:[EMAIL PROTECTED] 
 On Monday 19 July 2004 03:32 pm, Darren Pilgrim wrote:
  [Private email redirected back to list]
 
   From: 3BSD [mailto:[EMAIL PROTECTED]
  
   On Mon, 19 Jul 2004 04:21:09 -0700, Darren Pilgrim
  
   [EMAIL PROTECTED] wrote:
I have a number of machines onto which I want to install a
custom-built world, kernel and set of packages, all of which have
been built on another machine.  The target machines presently have
no OS on them and can only be booted by CD.
  
   How similar are those machines hardware wise? Because if they are
   really similar, you could use an imaging utility such as norton
   ghost to replicate one install on any number of machines, provided
   their hardware is similar, but if you use a Generic kernel, I'd
   imagine you don't even need the machines to be that similar at all.
 
  That doesn't solve the problem, though.  I would still need to
  install the OS onto at least one machine.
 
 So are you saying that the custom world and kernel are not 
 the system in use on the computer on which they exist?

Is the build machine part of the build set?  No.

 Assuming you've already edited the configuration files 
 (/etc/rc.conf, /etc/fstab, etc):
 
 1. Could you take the harddrives out of the destination 
 computers, mount 
 them on the source computer, and copy the system onto the hard drives?

The target machines will be using UFS2.  The build machine runs 4.9.

 2. Couldn't you use a live cdrom distribution (Freesbie, Knoppix, BBC 
 Linux, etc) to boot the machine, setup networking, mount the 
 hard drive and transfer (ftp, nfs, rsync, etc) the custom system to
 the new computer?

No version of Linux is going to have the programs or environment to run
installworld.  I spoke with one of the FreeSBIE people (Drizzt) and s/he
said a FreeSBIE CD would have the necessary tools for installing via
makeworld so that looks like a good option.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: How to install a custom built world+kernel to a machine with no OS?

2004-07-19 Thread Darren Pilgrim
 From: Sergey Zaharchenko [mailto:[EMAIL PROTECTED] 
 
 On Mon, Jul 19, 2004 at 04:21:09AM -0700,
  Darren Pilgrim probably wrote:
  What do I need to us to accomplish the above?
 
 man release.

Is there a way to skip the build portions of `make release` and just create
the distributions and ISOs with what's already built?


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]