howto make sysintall

Glenn Dawson glenn at antimatter.net
Wed Aug 10 10:31:21 GMT 2005


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 at 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 at freebsd.org mailing list
> > >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> >
> >
>_______________________________________________
>freebsd-hackers at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list