Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 17:51:45 +0200
From:      Bernd Walter <ticso@cicely5.cicely.de>
To:        Mike Nichols <nicholsmi@hotmail.com>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: Booting from da1e?
Message-ID:  <20020708155144.GD94279@cicely5.cicely.de>
In-Reply-To: <F147HRAAfbO5C6KcMtj0000bd8f@hotmail.com>
References:  <F147HRAAfbO5C6KcMtj0000bd8f@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020708155144.GD94279>