Differences between version 6 and previous revision of AutoInstall.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Tuesday, April 22, 2003 8:45:53 pm | by CraigBox | Revert |
Older page: | version 1 | Last edited on Tuesday, April 22, 2003 4:23:55 pm | by CraigBox | Revert |
@@ -1,27 +1,43 @@
-!AutoInstall by Progeny!
+!
!AutoInstall by Progeny!
An AutomatedInstallation tool for [Debian].
Bought to you by CraigBox and NeilFenemor with help from JohnMcPherson and DanielLawson
+
+-----
autoinstall depends __far__ too much on having a 1720Kb floppy disc around - so lets blow that away and use a CDRW.
+
+Run make-autoinst-initrd(1) to get your linux and initrd.gz file. This is the end of the involvement with the tools that are provided for autoinstall.
+
+Make a conf dir, copy the examples from /usr/share/doc/autoinstall/ into it. Run autoinst-read-debconf debconf.cfg in this directory to backup your debconf database.
+
+ (cd conf && tar cf - . | gzip -9) > conf.tgz
Go get isolinux - part of the syslinux(1) suits - and get it to boot your kernel and initrd file.
I recommend using isolinux-debug.bin until you get things working right - apt-get(8) source syslinux, and then make isolinux-debug.
-Create a cdrom/ directory somewhere. Create a cdrom/isolinux/, put isolinux{-debug}.bin in tere
. Create an cdrom/isolinux/isolinux.cfg file with your lilo(8)-like boot options - you can just use '
+Create a cdrom/ directory somewhere. Create a cdrom/isolinux/, put isolinux{-debug}.bin in there
. Create an cdrom/isolinux/isolinux.cfg file with your lilo(8)-like boot options - you can just use
timeout 100
default linux initrd=initrd.gz
prompt 1
Copy your kernel (''linux'') and initrd (''initrd.gz'') into the cdrom/isolinux/ directory.
+
+Copy conf.tgz into the cdrom/ directory; it will be mounted off the CD when the system boots off it.
In the cdrom/ directory, issue
- mkisofs -o ../bootcd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .
+ mkisofs -o ../bootcd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat \
+
-no-emul-boot -boot-load-size 4 -boot-info-table .
Now cdrecord that baby and watch things fly.
-You'll need to change linuxrc inside your initrd, to get to mount your data off /dev
/cdrom isntead
of /dev/fd0u1720, unless you want to use a disk as well (whats the point, really?)
+(Note:
You'll need to change linuxrc inside your initrd, to get to mount your data off /cdrom instead
of /dev/fd0u1720, unless you want to use a disk as well (whats the point, really?) It's in /usr/lib/autoinstall.)
+
+Search for autoinst_config_drive = "/dev/fd0u1720" and replace with
+
+ autoinst_config_drive = "/cdrom"
+ autoinst_config_fstype = "iso9660"