On Fri, 8 Jun 2001, Michael Brown wrote:
> > i've just send a new version to our webmaster. In the meantime use
> > http://perso.mandrakesoft.com/~prigaux/auto_inst.html written by
> > [EMAIL PROTECTED] based on my previous doc.
> > comments are welcome. (i've not finished commenting it)
> Thanks, will look soon and give feedback.

Looks good, but would be improved by having some links within the document
(e.g. a table of contents like the old one has).

Also, here are a couple of contributions which may be of interest:

I always change the first line of auto-install scripts to
#!/usr/bin/perl -cw

and make the scripts executable.  After editing you can then simply
execute the script to do a syntax check.  It only saves three seconds, but
it's three seconds that can occur hundreds of times.


For a completely unattended install, you can add the following:

       'autoExitInstall' => 1,
       'postInstallNonRooted' => <<'EOF',
modprobe vfat
EOF
       'postInstall' => <<'EOF',
/bin/mkdir -p /mnt/floppy
/bin/mount -t vfat /dev/fd0 /mnt/floppy
/bin/dd if=/dev/`perl -ne 'print if s{/dev/(\D+)\d* /boot .*}{$1}' /etc/fstab` 
of=/mnt/floppy/pass.bs bs=512 count=1
sync
umount /mnt/floppy
sync
EOF

and to syslinux.cfg:

default pass
...
label pass
  kernel pass.bs

At the end of the installation, this will write the boot sector from the
hard disk to a file "pass.bs" on the installation floppy disk.  The
computer will then reboot, boot from the installation floppy and, if left
unattended, will then boot from "pass.bs" which will boot the installed
system.

You therefore don't need to do anything once you've started off the
auto-install : just have a cup of coffee and come back ten minutes later
to find a system that's fully installed and also up and running.

Michael


Reply via email to