From owner-freebsd-alpha Fri Sep 25 12:40:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26767 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 12:40:14 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26633 for ; Fri, 25 Sep 1998 12:40:01 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.8.5/8.8.5) with ESMTP id PAA26800; Fri, 25 Sep 1998 15:39:07 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.1/8.9.1) id PAA01136; Fri, 25 Sep 1998 15:39:06 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 25 Sep 1998 15:39:05 -0400 (EDT) To: Doug Rabson Cc: "Kenneth D. Merry" , freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com Subject: Re: installing bootblocks... In-Reply-To: References: <199809251900.NAA07048@panzer.plutotech.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13835.61076.43477.474590@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson writes: > > > > - or, figure out how to switch the root partition from a Digital Unix > > format to a FreeBSD format. Before, I tried something like this from > > single user mode: > > > > - mount /dev/da1h / > > "specified partition doesn't match mounted partition" I tend to install *BSD/alpha by booting DU diskless, newfs'ing the appropriate partitions & untarring the dist. I run into the above problem because Digital UNIX handles special files in some wacky way, so that special files change major/minor numbers when viewed by DU or *BSD. The easiest thing to do is to boot a normal kernel via bootp, then NFS mount a fs where where root is mapped to 0 via NFS. Then mount root r/w, cd into /dev, delete everything but console (0 is always 0 :), and rebuild your devices. Something like this: # ifconfig de0 xxxx up # mount w.x.y.z:/export/root /mnt # cd /mnt # mkdir dev # cd dev # cp /dev/MAKEDEV . # sh MAKEDEV all # mount -u ./da0a / # cd /dev # rm -rf [a-b]* [d-z]* # sh MAKEDEV all # < populate root > ... Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message