From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26694 invoked from network); 23 Nov 1998 10:58:47 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Nov 1998 10:58:47 -0000 Received: from repop1.jps.net (repop1.jps.net [209.63.224.238]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA16299 for ; Mon, 23 Nov 1998 05:58:46 -0500 Received: from arkham (209-239-197-98.oak.jps.net [209.239.197.98]) by repop1.jps.net (8.8.5/8.8.5) with SMTP id CAA02644 for ; Mon, 23 Nov 1998 02:58:50 -0800 (PST) Message-ID: <001f01be16d2$8b747140$02c809c0@arkham.brapp.com> From: "Mike Larkin" To: Subject: aboot question for the gurus Date: Mon, 23 Nov 1998 03:15:13 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001C_01BE168F.7C9E5C00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 This is a multi-part message in MIME format. ------=_NextPart_000_001C_01BE168F.7C9E5C00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. =20 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). =20 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.=20 =20 ... 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?=20 =20 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) =20 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. =20 Thanks in advance to whomever can help. =20 -ml tinomen@usa.net brapp@jps.net ------=_NextPart_000_001C_01BE168F.7C9E5C00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Way back when, when I first = installed RH 5.1 on=20 my Avanti, I was forced to boot from floppy since the SRM doesn't allow = booting=20 from my BusLogic PCI scsi controller (Fast/Wide/Differential). I had no = drives=20 to connect to the internal NCR 53c810 bus, so I have been autobooting = from=20 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=20 at a surplus shop for $5, so I picked it up and installed it just so = that I=20 could boot from the HD. I decided to partition the thing with a 30mb=20 "boot" partition, offsetting it about 5-10mb into the drive as = the=20 docs said (who cares about waste), and the rest is just set up as an = extra swap=20 partition. (My machine hardly ever gets into swap anyway, so I'm not = concerned=20 about speed problems on this narrow drive).
 
Here's where I ran into a snag. I remembered that = the=20 SRM/aboot expects a BSD-style disklabel, so I enabled BSD disklabel = support and=20 UFS support in my current kernel. I partitioned the drive using fdisk = and=20 selecting the BSD drivelabel option. Everything went smoothly, I = mke2fs'ed the=20 30MB "boot" partition and all went without problems. Then, I = used=20 swriteboot and copied the kernel to the boot partition. No problems.=20
 
... But... Booting gives a "UFS mount -- bad = magic"=20 message at the aboot stage. Is this to mean that the "boot" = partition=20 I created has to be formatted UFS?
 
I read in the docs that aboot-0.5 (newest version) = supports=20 reading the vmlinux.gz file from an ext2 partition. How does one enable = this=20 functionality?
Otherwise, I'm = stuck, as I=20 was unable to find any way to CREATE a UFS filesystem from inside Linux. = I even=20 went the extra 9 yards and booted a NetBSD floppy and made a UFS=20 filesystem  on that partition, but was unable to copy anything into = it from=20 inside Linux. (bunch of errors when it went to write into it.. Mounted = OK, but=20 wouldn't write)
 
I'm back to booting from floppy for now until some = kind soul=20 can shed some light on how to set it up.  (PS - I have  the = newest=20 aboot from the main site, I believe it's aboot-0.5-7 that I have.) It's = not so=20 bad booting from floppy, but it's tremendously slow, taking about 5 = minutes to=20 boot. Since Linux 2.1.129 is a little flaky, the machine tends to reboot = itself=20 a lot, and I would like faster turnaround time when it does, since it is = an=20 ipmasq firewall for my main machines.
 
Thanks in advance to whomever can help.
 
-ml
tinomen@usa.net
brapp@jps.net
= ------=_NextPart_000_001C_01BE168F.7C9E5C00--