From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Cohen, Andy" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: can't open osf boot after moving root_domain Date: Fri, 14 Jun 2002 17:19:37 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <6AF24836F3EB074BA5C922466F9E92E104DD85FA@prince.pc.cognex.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1024089600 17276 127.0.0.1 (14 Jun 2002 21:20:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2002 21:20:00 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17IyUB-0004UX-00 for ; Fri, 14 Jun 2002 23:19:59 +0200 Original-Received: (qmail 25698 invoked by uid 5); 14 Jun 2002 21:19:50 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25690 invoked from network); 14 Jun 2002 21:19:49 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 14 Jun 2002 21:19:49 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GXP00F0OSL1G2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 Jun 2002 17:19:49 -0400 (EDT) Original-Received: from paloalto-smrly2.gtei.net (paloalto-smrly2.gtei.net [131.119.246.6]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GXP00GIYSKSK8@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 Jun 2002 17:19:40 -0400 (EDT) Original-Received: from cognex-cp.cognex.com (cognex-cp.cognex.com [198.232.30.75]) by paloalto-smrly2.gtei.net (Postfix) with SMTP id 894F07A7E for ; Fri, 14 Jun 2002 21:19:39 +0000 (GMT) Original-To: "tru64-unix-managers \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2650.21) Xref: main.gmane.org gmane.os.tru64.managers:584 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:584 Thanks again everybody!! It seems that either my understanding of diskconfig or diskconfig's capabilities (or lack thereof) caused this to happen. Basically, it seems that there was no boot block put on the drive when I used diskconfig. The solution was to: 1: disklabel -r dsk3 > disklabel.dsk3.out 2: disklabel -z dsk3 3: disklabel -R -r -t advfs disklabel.dsk3.out step 1 - save current disklabel since I had changed the disklabel partion sizes step 2 - zero out the disklabel on dsk3 step 3 - this wrote a boot block of type advfs (-t advfs) using the disklabel I had just saved I am now able to boot the machine. Thanks again so much!! Andy ORIGINAL QUESTION =============== Hi, I want to move the root_domain (on a 4100 5.1A PK2) to a different device so I followed the instructions in 5.3.3 and 5.3.4 in the AdvFS Administration guide: http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51A_HTML/ARH96C TE/TOC.HTM#CHPTRTRB and now when the machine starts to boot it gets a cpu exception at (I think) 'cant open osf boot'. Here's what I did: used diskconfig to partition an RZ29B (AdvFS on partition a) backup / (root) and /usr boot from CD mkfdmn -r /dev/disk/dsk3a root_domain mkfset root_domain root mount root_domain#root /mnt mkdir /etc/fdmns/TMP_BACKUP nkdir /var/tmp_backup mkfset TMP_BACKUP tmp_backup mount TMP_BACKUP#tmp_backup /var/tmp_backup cd /var/tmp_backup tar -xv #get backup off tape vrestore -x -f thor.51A.PK2.root.vdump -D /mnt #restore root_domain to new device cd /mnt/etc/fdmns/root_domain ln -s /dev/disk/dsk3a dsk3a rm -e dsk4a # previous root partition shutdown -h now set bootdef_dev dkb400 boot it gets to 'jumping to bootstrap code' then produces the 'cant open osf boot' error. Anybody have any idea what I've done wrong? What if I, in the first 2 steps above, I did a backup (vdump) first then ran diskconfig for dsk3 -- would the vrestore overwrite what the diskconfig had done? Should I disklabel dsk3 again?