howto make sysintall

iv gan devif0 at gmail.com
Wed Aug 10 13:18:23 GMT 2005


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 <glenn at antimatter.net> 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
> 
> 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