Re: kernel 2.2 boot disks?
Louis-David Mitterrand <mito@aparima.com> writes:
>Has anybody produced some boot floppies based on the 2.2 kernel?
I have been working on them for other reasons. I found that recent
kernels are too big to fit on the rescue disk, so you have to use
"ramdisk0" and a separate root floppy. These changes should get you
started.
- Jim Van Zandt
--- Makefile.orig Sat Jan 30 10:44:19 1999
+++ Makefile Sun Jan 17 22:19:06 1999
@@ -51,6 +51,10 @@
kernel_version=$(shell echo $(kernel) | sed -e 's/.*kernel-image-//' | \
sed -e 's/_.*//')
+# test version with new kernel
+kernel=/usr/deb/kernel-image-2.1.125-i686_custom.1.0_i386.deb
+kernel_version=2.1.125
+
pcmcia_package=$(shell $(pathcmd:P=pcmcia-modules-$(kernel_version)_*.deb))
# alpha part
--- rescue.sh.orig Fri Jan 29 21:40:31 1999
+++ rescue.sh Fri Jan 29 21:41:12 1999
@@ -187,7 +187,7 @@
esac
# Do the actual work of making the disk bootable.
-if [ $blocks -le 1400 ]; then
+if [ $blocks -le 91400 ]; then
rootimage=/var/tmp/root.$$
echo -n >$rootimage
fi
@@ -308,7 +308,7 @@
cp $rootimage $mnt/root.bin
fi
-if [ $blocks -le 1400 ]; then
+if [ $blocks -le 91400 ]; then
rm -f $rootimage
fi
Reply to: