Date: Wed, 10 Aug 2005 03:32:21 -0700 From: Glenn Dawson <glenn@antimatter.net> To: iv gan <devif0@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: howto make sysintall Message-ID: <6.1.0.6.2.20050810032350.078f3eb0@cobalt.antimatter.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <glenn@antimatter.net> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.2.20050810032350.078f3eb0>