Way back when, when I first installed RH 5.1 on
my Avanti, I was forced to boot from floppy since the SRM doesn't allow booting
from my BusLogic PCI scsi controller (Fast/Wide/Differential). I had no drives
to connect to the internal NCR 53c810 bus, so I have been autobooting from
diskette for several months now. This method worked fine, as Linux
recognizes the BusLogic controller once booted up.
This weekend, I found an el-cheapo 200MB drive
at a surplus shop for $5, so I picked it up and installed it just so that I
could boot from the HD. I decided to partition the thing with a 30mb
"boot" partition, offsetting it about 5-10mb into the drive as the
docs said (who cares about waste), and the rest is just set up as an extra swap
partition. (My machine hardly ever gets into swap anyway, so I'm not concerned
about speed problems on this narrow drive).
Here's where I ran into a snag. I remembered that the
SRM/aboot expects a BSD-style disklabel, so I enabled BSD disklabel support and
UFS support in my current kernel. I partitioned the drive using fdisk and
selecting the BSD drivelabel option. Everything went smoothly, I mke2fs'ed the
30MB "boot" partition and all went without problems. Then, I used
swriteboot and copied the kernel to the boot partition. No problems.
... But... Booting gives a "UFS mount -- bad magic"
message at the aboot stage. Is this to mean that the "boot" partition
I created has to be formatted UFS?
I read in the docs that aboot-0.5 (newest version) supports
reading the vmlinux.gz file from an ext2 partition. How does one enable this
functionality?
Otherwise, I'm stuck, as I
was unable to find any way to CREATE a UFS filesystem from inside Linux. I even
went the extra 9 yards and booted a NetBSD floppy and made a UFS
filesystem on that partition, but was unable to copy anything into it from
inside Linux. (bunch of errors when it went to write into it.. Mounted OK, but
wouldn't write)
I'm back to booting from floppy for now until some kind soul
can shed some light on how to set it up. (PS - I have the newest
aboot from the main site, I believe it's aboot-0.5-7 that I have.) It's not so
bad booting from floppy, but it's tremendously slow, taking about 5 minutes to
boot. Since Linux 2.1.129 is a little flaky, the machine tends to reboot itself
a lot, and I would like faster turnaround time when it does, since it is an
ipmasq firewall for my main machines.
Thanks in advance to whomever can help.
-ml