From owner-freebsd-alpha Mon Jul 8 8:51:58 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDAA937B400 for ; Mon, 8 Jul 2002 08:51:55 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ABB643E3B for ; Mon, 8 Jul 2002 08:51:54 -0700 (PDT) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g68FpjMa042774 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 8 Jul 2002 17:51:47 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g68FpjFJ003318 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 8 Jul 2002 17:51:46 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g68Fpjut003317; Mon, 8 Jul 2002 17:51:45 +0200 (CEST)?g (envelope-from ticso) Date: Mon, 8 Jul 2002 17:51:45 +0200 From: Bernd Walter To: Mike Nichols Cc: alpha@FreeBSD.ORG Subject: Re: Booting from da1e? Message-ID: <20020708155144.GD94279@cicely5.cicely.de> Reply-To: ticso@cicely.de References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jul 08, 2002 at 03:36:07PM +0000, Mike Nichols wrote: > I have an AlphaStation 400 with two SCSI disks, dka0 (da0) and > dka100 (da1) running 4.5-STABLE. The first disk, which is the one > I boot from, is exhibiting signs of sickness (high-pitched whining > isn't good, is it?), so I want to make the box boot from the second > one. I read in the Alpha Hardware Notes that, "In order to be > bootable the root partition (partition a) must be at offset 0 of the > disk drive" (section 2.2). On the second disk, I have da1e, which > is at offset 0, but it isn't "partition a". Can I boot from that? > > I tried copying the necessary stuff (/boot, /etc, /bin, etc.) over > and doing "boot dka100" in SRM; that seemed to do what I want (SRM > reported that it was indeed booting from dka100), but the root > filesystem was still mounted from da0a (as reported by the kernel, > "Mounting root from ufs:da0a"; I didn't change fstab to point to > da1e, but AFAICT that shouldn't affect where the _kernel_ mounts > root from). But it does. /boot/loader reads /etc/fstab and informs the kernel. > Is it possible to do what I want (have a system boot from da1e, > which is at offset 0)? If not, can I rename da1e to da1a (which > I should be able to boot from) without having to newfs it? If the kernel boots from that disk it seems to work. But you can always rename the partition using disklabel -e da1. Just replace the e: with an a:. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message