From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 10 13:18:23 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 8F61C16A420 for ; Wed, 10 Aug 2005 13:18:23 +0000 (GMT) (envelope-from devif0@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF2A743D70 for ; Wed, 10 Aug 2005 13:18:13 +0000 (GMT) (envelope-from devif0@gmail.com) Received: by wproxy.gmail.com with SMTP id i22so116299wra for ; Wed, 10 Aug 2005 06:18:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cfgtQqCZENpbmCXs5YHcXfsEwwnq5YVpIqfpGV9GPXjPP0J05WRALiHCMfkNhdby0mUG6tg85CiXhqmB9G0ojQefLZ9PECDR/dEeI8eDNMfgWDR4KaCGTQL44LuYfZNxB8DiAeH70IndyPSP9pevi4ioUZ38C2hcadDDJjdJCEI= Received: by 10.54.143.7 with SMTP id q7mr441290wrd; Wed, 10 Aug 2005 06:18:13 -0700 (PDT) Received: by 10.54.69.4 with HTTP; Wed, 10 Aug 2005 06:18:13 -0700 (PDT) Message-ID: <356446ef050810061832003965@mail.gmail.com> Date: Wed, 10 Aug 2005 15:18:13 +0200 From: iv gan To: Glenn Dawson In-Reply-To: <6.1.0.6.2.20050810032350.078f3eb0@cobalt.antimatter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <356446ef0508100239320d2bf0@mail.gmail.com> <6.1.0.6.2.20050810030653.078cadd0@cobalt.antimatter.net> <356446ef05081003115e8aed01@mail.gmail.com> <6.1.0.6.2.20050810032350.078f3eb0@cobalt.antimatter.net> 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 13:18:23 -0000 I am not so sure because the script cannot detect different devices. It can be ad or ar or whatever but it cannot chechk for it. And what I would like to do is more to detect the device and then to do something like 10% to /, 20% to /tmp 35% to /var and 35% to /usr or something like it. Any suggestion? Ivo On 8/10/05, Glenn Dawson wrote: > 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 >=20 > 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 th= at > partition would just take whatever space is left. (usually that would be = /usr) >=20 > Will that not do what you want? >=20 >=20 >=20 > >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 the= re > > > >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 wh= en > > > >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 origin= al > > > >size is about 2.2 Megs and the one I got is about a 1meg less. It is > > > >compiled staticly (NOSHARED=3Dyes 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@freebs= d.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.or= g" >=20 >