From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 10 10:31:21 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACFEA16A432 for ; Wed, 10 Aug 2005 10:31:21 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6476043D46 for ; Wed, 10 Aug 2005 10:31:21 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-27-86-22.san.res.rr.com [66.27.86.22]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id j7AAVJZM013256 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NO); Wed, 10 Aug 2005 03:31:20 -0700 Message-Id: <6.1.0.6.2.20050810032350.078f3eb0@cobalt.antimatter.net> X-Sender: lists@cobalt.antimatter.net X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Date: Wed, 10 Aug 2005 03:32:21 -0700 To: iv gan From: Glenn Dawson In-Reply-To: <356446ef05081003115e8aed01@mail.gmail.com> References: <356446ef0508100239320d2bf0@mail.gmail.com> <6.1.0.6.2.20050810030653.078cadd0@cobalt.antimatter.net> <356446ef05081003115e8aed01@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailman-Approved-At: Wed, 10 Aug 2005 12:19:48 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: howto make sysintall X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 10:31:21 -0000 At 03:11 AM 8/10/2005, iv gan wrote: >Yep that's write. >but there is no way to script a generic install so to install on >different drives with different sizes. >So for that there is maybe a way to change something in the sysintall >sources. But without any success for the moment I don't see anything in the man page that would prohibit you from using a single script to handle different size drives. In the description for diskLabelEditor it has an example for setting up a new disk. By that example you would specify sizes for all the partitions except one, and that partition would just take whatever space is left. (usually that would be /usr) Will that not do what you want? >Thanks >Ivo > >On 8/10/05, Glenn Dawson wrote: > > At 02:39 AM 8/10/2005, iv gan wrote: > > >Hi there, > > >I try to make a custom installation of FreeBSD 5.3 in a way that there > > >are no questions during the process but rather it detects the hard > > >disk size makes the partitions etc... > > >For the moment I smply try to compile sysinstall (cd > > >/usr/src/usr.sbin/sysintall && make all) > > >and it compiles without any problem. The size on the output file is > > >about 1,2M. The problem comes when I put it in a mfsroot file and when > > >it loads on startup. The sysinstall simply don't start. In the same > > >time on the secont vty after 20secs I got a messages like "pid NNN > > >(sh) uid 0, was killed: out of swap space" or something like it. > > >So my question is is there a correct manner to make the sysinstall > > >(like going to /usr/src and then make everything around). The original > > >size is about 2.2 Megs and the one I got is about a 1meg less. It is > > >compiled staticly (NOSHARED=yes it have to mean that no??) > > >For the moment i don't touch the code. Just compile it to try. The > > >newly compiled sysinstall is running when it is executed from the > > >directory where it is situated (like ./sysintall). > > >Hm I thing thats all I have like symptoms. > > >Any suggestions? > > >Or better is there a way to script an Auto partitioning of the hard > > >disk without touching the code. > > > > The bulk of the sysinstall man page covers how to script an install. > > > > -Glenn > > > > > > >thanks and good luck to allz > > > > > >Ivo > > >_______________________________________________ > > >freebsd-hackers@freebsd.org mailing list > > >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > > > >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"