Sparc patches for slink_cd
I'm attaching the sparc patches for slink_cd. There are a few caveats:
They need the linux-2.2.1-aout and linux-2.2.1-sun4u-a.out kernels,
which are not currently in the archive (but will be there when Eric
uploads the next boot floppies).
The CD doesn't boot on Sun4m machines. This due to some unknown
interaction between silo and the kernel. I've tried many kernel
versions and both versions 0.8.1 and 0.8.5 of silo. I got no
response on the sparc-linux mailing list. Users can still do tftp
boots (I don't know about floppy boots). Irregardless, the script
does the right thing, the problem lies with silo or the kernel. I
haven't been able to narrow it down further.
Steve
dunham@cse.msu.edu
--- slink_cd.orig Thu Feb 11 18:36:25 1999
+++ slink_cd Sat Feb 20 14:05:31 1999
@@ -1028,19 +1028,26 @@
cat - > boot1/boot/silo.conf << __EOF__
message=!cd1
timeout=300
-image=!cd2
+root=/dev/ram
+image[sun4c,sun4d,sun4m]=!cd2
label=linux
- initrd=!cd3
-image=!cd4
- label=aout
- initrd=!
+ initrd=!cd5
+image[sun4u]=!cd4
+ label=linux
+ initrd=!cd5
+image[sun4c,sun4d,sun4m]=!cd3
+ label=linux-2.2
+ initrd=!cd5
+image[sun4u]=!cd4
+ label=linux-2.2
+ initrd=!cd5
__EOF__
# linux kernel & co are fetched directly from the install dir
# ... put the message banner in boot/debian.txt
(cd slink1/dists/slink/main/disks-$ARCH/current/ ; \
- cp -p linux-a.out root.bin sparc_release_note.txt \
- $BOOTDIR/linux \
+ cp -p linux-a.out linux-2.2.1-sun4u-a.out \
+ linux-2.2.1-a.out root.bin sparc_release_note.txt \
$TMPDIR/slink1/install )
mount -o loop \
@@ -1203,15 +1210,16 @@
fi
if [ -n "$siloprog" ]; then
cd1=/boot/debian.txt
- cd2=/install/linux
- cd3=/install/root.bin
- cd4=/install/linux-a.out
+ cd2=/install/linux-a.out
+ cd3=/install/linux-2.2.1-a.out
+ cd4=/install/linux-2.2.1-sun4u-a.out
+ cd5=/install/root.bin
loopdev=/dev/loop0
losetup -d $loopdev || true
losetup $loopdev $OUT/slink1.raw
mount $loopdev $mountpoint
$siloprog -r $mountpoint -c $OUT/slink1.raw \
- -C /boot/silo.conf -l $cd1,$cd2,$cd3
+ -C /boot/silo.conf -l $cd1,$cd2,$cd3,$cd4,$cd5
umount $mountpoint
losetup -d $loopdev
else
Reply to: