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-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16624 invoked from network); 23 Nov 1998 11:45:41 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Nov 1998 11:45:41 -0000 Received: from imecgate.imec.be (imecgate.imec.be [146.103.254.1]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id GAA17657 for ; Mon, 23 Nov 1998 06:45:36 -0500 Received: from trinidad.imec.be (trinidad) by imecgate.imec.be (5.65c/IDA-1.4.4-IMEC) id AA15308d; Mon, 23 Nov 1998 12:45:31 +0100 Received: from unimec.imec.be ([146.103.1.23]) by trinidad.imec.be (Netscape Messaging Server 3.54) with SMTP id AAA7CA5 for ; Mon, 23 Nov 1998 12:45:30 +0100 Received: by unimec.imec.be Mon, 23 Nov 1998 12:45:29 +0100 Received: from localhost (perello@localhost) by latvia.imec.be (8.8.5/8.8.5) with SMTP id MAA00492 for ; Mon, 23 Nov 1998 12:45:27 +0100 X-Authentication-Warning: latvia.imec.be: perello owned process doing -bs Date: Mon, 23 Nov 1998 12:45:26 +0100 (CET) From: Carles Perello To: axp-list@redhat.com Subject: UDB memory update In-Reply-To: <001f01be16d2$8b747140$02c809c0@arkham.brapp.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, Just received 2 SIMMS of 32M from www.conrad.de. They do work although price was slightly high finally (around $100) hope this helps carles From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4256 invoked from network); 24 Nov 1998 15:53:43 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Nov 1998 15:53:43 -0000 Received: from earth.terran.org (bryan@earth.terran.org [208.152.24.33]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA16472 for ; Tue, 24 Nov 1998 10:53:42 -0500 Received: from localhost (bryan@localhost) by earth.terran.org (8.8.7/8.8.9) with ESMTP id HAA01032 for ; Tue, 24 Nov 1998 07:53:39 -0800 Date: Tue, 24 Nov 1998 07:53:39 -0800 (PST) From: "B. James Phillippe" To: axp-list@redhat.com Subject: Re: aboot question for the gurus In-Reply-To: <001f01be16d2$8b747140$02c809c0@arkham.brapp.com> Message-ID: Organization: terran.org/darkforest.org X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 23 Nov 1998, Mike Larkin wrote: > 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 ... > 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? No, UFS filesystems do not need to be involved unless you're dual-booting an operating system other than Linux (which requires them). A possible problem.. the 30MB partition; does it start on the beginning of the disk? And did you put the kernel on that partition and run swriteboot? I believe that will corrupt your filesystem. I think you would have needed to use e2writeboot for that case. But there is a more preferred method, and that is to donate an entire partition (or void space, before a partition) to aboot. If you want to "donate" your 30MB partition, you would just blast it, put the kernel on some other partition (you'd need to split your 30MB in two) and then run swriteboot on the disk. Good luck, -bp -- B. James Phillippe . bryan@terran.org UNIX Software Engineer . http://www.terran.org/~bryan Member since 1.1.59 . finger:bryan@earth.terran.org MOTM: US West is the worst telco company I have ever known From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 18757 invoked from network); 27 Nov 1998 19:13:24 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Nov 1998 19:13:24 -0000 Received: from nemesis.irtnog.org (xenophon@nemesis.irtnog.org [208.165.241.162]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA13314 for ; Fri, 27 Nov 1998 14:12:33 -0500 Received: (from xenophon@localhost) by nemesis.irtnog.org (8.8.7/8.8.7) id OAA01601; Fri, 27 Nov 1998 14:16:14 -0500 To: axp-list@redhat.com Subject: Re: aboot question for the gurus References: <001f01be16d2$8b747140$02c809c0@arkham.brapp.com> Date: 27 Nov 1998 14:16:14 -0500 In-Reply-To: "Mike Larkin"'s message of Mon, 23 Nov 1998 03:15:13 -0800 Message-ID: X-Mailer: Gnus v5.5/Emacs 20.2 From: "His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated" Organization: First Church of B1FF and BRAK! (Reformed) Errors-to: xenophon@irtnog.org Warnings-to: xenophon@irtnog.org X-Day: Sun, 05 Jul 1998 07:00:00 X-Face: meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow meow X-yow: Do I have a lifestyle yet? X-Disclaimer: My attitude is this. I'm full of it. If you listen to me, that's your problem. X-Linux: Proud user of Linux since August 1994! X-Attribution: XF X-Home-URL: X-PGP-Key-ID: Length=1024; ID=0x44C9F871; Fprint="0F EF 86 8F 6C AB 19 63 E8 D7 A6 98 86 34 C2 DD" X-PGP-Key-URL: Comments: Hyperble mail buttons accepted, v04.01. Not to flame you or anything, but your post was both in quoted-printable and HTML. Please, in the future, post in 7-bit ASCII (unless, of course, your home charset requires something exotic like KOI-8 or ISO-mumble-mumble). >>>>> "ML" == Mike Larkin writes: ML> I remembered that the SRM/aboot expects a BSD-style disklabel, ML> so I enabled BSD disklabel support and UFS support in my ML> current kernel. So far, so good, although I thought disklabel support was in the kernel by default. ML> I partitioned the drive using fdisk and selecting the BSD ML> drivelabel option. This is where I think you went wrong. ISTR people saying not to use the BSD disklabel editor in FDISK. You might try downloading the NetBSD installation boot floppy and use the disklabel editor from there to partition the disc. I used the OpenBSD disklabel editor to partition my disc, and I've heard that Linux's minlabel works good, too (although it isn't compatible with BSD or DEC UNIX for some reason). ML> Everything went smoothly, I mke2fs'ed the 30MB "boot" ML> partition and all went without problems. Then, I used ML> swriteboot and copied the kernel to the boot partition. No ML> problems. ... But... Booting gives a "UFS mount ML> -- bad magic" message at the aboot stage. What command options do you give? My disklabel looks like this from inside minlabel: 1: 4494 0 resrvd13 2247 2.1 # (Cyl. 0 - 1) 2: 262899 4494 swap 131449 128.3 # (Cyl. 2 - 118) 3: 8388315 0 unused 4194157 4095.8 # (Cyl. 0 - 3733*) 4: 103362 267393 ext2 51681 50.4 # (Cyl. 119 - 164) 5: 2096451 370755 ext2 1048225 1023.6 # (Cyl. 165 - 1097) 6: 5921109 2467206 ext2 2960554 2891.1 # (Cyl. 1098 - 3733*) (IIRC, under OpenBSD, 'resrvd13' is type 'boot'.) 1 is slack space for the boot loader and (possibly) a kernel. I decided to allocate it in my label so I wouldn't forget about it. 2 is swap. 3 is the entire disc (required). 4 is the 50-Mbyte root file system (& location of kernel). 5 and 6 are /usr and /var, respectively. 4, 5, and 6 are formatted ext2fs. 2 is formatted swap. 1 is unformatted. 3 is required for compatibility with BSD and DEC UNIX, although it probably isn't necessary if all you're running is Linux. When I install aboot, I execute the following commands: $ swriteboot -f1 -f3 /dev/sda /boot/bootlx $ abootconf /dev/sda 4 To boot Linux from SRM (kernel, "vmlinux.gz", on volume 4): >>> boot dka0 -file "4/vmlinux.gz" -flags "root=/dev/sda4" I am using "aboot-0.5-7". -- Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16 Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b "Abraham came not to sacrifice, but to know once and for all whether this God was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)