[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building PGI (Progeny Installer) CD images



[Branden Robinson]
> pgi-build does not have a way to accomplish this.  Raphaël Hertzog has
> told me that debian-cd can do it, but he hasn't told me how.  :)

Adding an extra set of boot disks on debian-cd is fairly easy.  I use
the following patch to add a 'debinst' flavor, making it possible to
test the new debian-installer.

This patch will probably not apply cleanly, as I edited it by hand to
remove the irrelevant parts.

The change is to add another target in the syslinux info page, and
copy the kernel and initrd.gz file to the CD before telling syslinux
to use it.

Index: data/woody/f3.txt
===================================================================
RCS file: /var/lib/cvs/skolelinux/src/debian-cd/data/woody/f3.txt,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -u -3 -p -u -r1.1.1.1 -r1.3
--- data/woody/f3.txt	13 Apr 2002 12:23:07 -0000	1.1.1.1
+++ data/woody/f3.txt	24 Apr 2002 12:47:49 -0000	1.3
@@ -18,6 +18,8 @@ methods will give you a small, standalon
   Boot and mount any root filesystem. The root filesystem must be given at
   the prompt, so e.g., type 0frescue root=/dev/hda107.  (You can also use
   0frescbf2407, 0fresccomp07, or 0frescvanl07.)
+0fdebinst07
+  Start the installation using the new debian-installer based system.
 
 Press <09ENTER07> or type boot method, arguments, and <09ENTER07> to boot.
 Press function key <09F107> for the help index.
Index: tools/boot/woody/boot-i386
===================================================================
RCS file: /var/lib/cvs/skolelinux/src/debian-cd/tools/boot/woody/boot-i386,v
retrieving revision 1.1.1.13
retrieving revision 1.23
diff -u -3 -p -u -r1.1.1.13 -r1.23
--- tools/boot/woody/boot-i386	7 May 2002 17:26:41 -0000	1.1.1.13
+++ tools/boot/woody/boot-i386	7 May 2002 17:30:01 -0000	1.23
@@ -76,6 +76,21 @@ install_languages $CDDIR
 #
 if [ "$N" = "1" ] || [ "$N" = "1_NONUS" ] ; then
 
+    if [ "$DEBINSTALLER" = "true" ] ; then
+	debinstdir=/skolelinux/developer/local0/ftp/skolelinux/debian-installer
+    	# Testing debian-installer boot floppies [pere 2002-04-06]
+
+	# initrd file from floppy
+    	cp -f $debinstdir/initrd.gz $CDDIR/install/debinst.bin
+
+	# kernel from floppy
+    	cp -f $debinstdir/linux $CDDIR/install/debinst
+
+	# Copy the floppy image as well.
+    	cp -f $debinstdir/skolelinux-net-1440.img $CDDIR/install/
+
+    	cp -fl $CDDIR/install/debinst.bin boot$N/isolinux/debinst.bin
+    fi
 
 # populate the install directory as well
 (cd $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/ ; \
@@ -142,6 +157,13 @@ F8 f8.txt
 F9 f9.txt
 F0 f10.txt
 EOF
+    if [ "true" = "$DEBINSTALLER" ] ; then
+        cat >>  boot$N/isolinux/isolinux.cfg <<EOF
+LABEL debinst
+  kernel /install/debinst
+  append root=/dev/rd/0 rw initrd=debinst.bin ramdisk_size=8192 init=/linuxrc devfs=mount,dall vga=0 
+EOF
+    fi
 fi
 
 cp -f $CDDIR/dists/$CODENAME/main/disks-$ARCH/current/dosutils/* $CDDIR/install/


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: