From owner-freebsd-hackers Tue Oct 13 03:23:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA04861 for freebsd-hackers-outgoing; Tue, 13 Oct 1998 03:23:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA04854 for ; Tue, 13 Oct 1998 03:23:55 -0700 (PDT) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.9.1/8.9.1) id MAA14896; Tue, 13 Oct 1998 12:20:46 +0200 (CEST) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199810131020.MAA14896@ocean.campus.luth.se> Subject: Re: BETA problems... In-Reply-To: <199810130120.SAA01157@dingo.cdrom.com> from Mike Smith at "Oct 12, 98 06:20:39 pm" To: mike@smith.net.au (Mike Smith) Date: Tue, 13 Oct 1998 12:20:45 +0200 (CEST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Mike Smith: > > At the "boot:" prompt, it would find the kernel at bios unit 1, but for > > some inane reason it fails to recognize that the disk is NOT wd1, but wd2. > > So you would manually have to enter "1:wd(2,a)kernel" or it would assume > > "1:wd(1,a)kernel", and panic when trying to mount root. Why is this, and > > shouldn't it be fixed? > > > > _Is_ it fixed in new boot code, perhaps? > > No. It's almost impossible to get the distinction right. Ick :-( > The difficulty lies in working out which physical drives the BIOS > numbers correspond to. Unless you have a *very* new system, there is > simply no way to know that the BIOS drive 0x81 is in fact wd2. In > order for this to work, the user has to provide the missing data, > either by typing 1:wd(2a)kernel every time (tedious) or putting it in > /boot.config. Well... sysinstall knows you will have this problem since it knows you have a wd2 but not wd1. it seems it would be trivial to make sysinstall put a /kernel.config with that info in it on the root if you put the root on wd2? > Note that you are wrong; the disk is *not* wd1, it's wd2. Check your > kernel config if you don't believe me. Umm... that's what I said: "...that the disk is NOT wd1, but wd2." :-) /Mikael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message