From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Sherwood Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Zapping the MBR (Master Boot Record), PC164LX, Tru64 UNIX V5.1A Date: Fri, 30 Aug 2002 12:50:23 -0400 Organization: Microway Inc. Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3D6FA24F.9010409@microway.com> References: <3D6E5226.20603@microway.com> Reply-To: petersherwood@microway.com NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1030725707 25041 127.0.0.1 (30 Aug 2002 16:41:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2002 16:41:47 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17koq9-0006Vj-00 for ; Fri, 30 Aug 2002 18:41:46 +0200 Original-Received: (qmail 22033 invoked by uid 5); 30 Aug 2002 16:43:07 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 22024 invoked by uid 49493); 30 Aug 2002 16:43:07 -0000 Original-Received: from petersherwood@microway.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. Clear:. Processed in 0.402484 secs); 30 Aug 2002 16:43:07 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 30 Aug 2002 16:43:06 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1O00BYY13TEG@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-Unix-Managers@ornl.gov) ; Fri, 30 Aug 2002 12:43:06 -0400 (EDT) Original-Received: from microway.com (microway.com [64.80.227.9]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1O00HE612ZZ2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-Unix-Managers@ornl.gov) ; Fri, 30 Aug 2002 12:42:36 -0400 (EDT) Original-Received: from microway.com (neutrino.microway.com [64.80.227.44]) by microway.com (8.11.6/8.11.6) with ESMTP id g7UGhb814994 for ; Fri, 30 Aug 2002 12:43:37 -0400 Original-To: "tru64-unix-managers@ornl.gov" X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 Xref: main.gmane.org gmane.os.tru64.managers:1536 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1536 Thanks go to the following people for providing me with potential solutions: jb@jbacher alan@cpqcorp iglesias@uci tom@kednos jay.vlack@hp (solution I used, Thanks again Jay!) domains were nixed for obvious reasons (.com, .net & .edu were snipped if you want to reach these people ;-) Not too long ago nor far away Peter Sherwood wrote: > Greetings, > > I have the (*)pleasure of supporting Alpha PC164LX (21164 CPU) > computers. [snip] > Customers want to migrate from one OS version to another from [snip] > When migrating [snip] it is necessary at times to run > the MBR zapping command: [snip] > Long Story Shortened: > > what I am looking for is the equivalent "dd ..." command > (or ability to zap the MBR) > during a Tru64 UNIX installation Thank you to all who dug deep within the recesses of grey matter to pull out possible solutions. Here, IMHO, is the quickest and easiest solution: Jay Vlack of HP wins the KISS approach and the one I used and passed along to a customer (who succeeded rather nicely): On alpha systems one must begin the OS installation at the SRM and therefore it makes the best sense to zap the MBR at this point. Four commands accomplished this quite nicely: >>>chmod +w dka0.0.0.5.0 <-- make the drive writable) >>>exer -a w dka0.0.0.5.0 & <-- run in background or you can't ... ) >>>show_status <-- repeatedly) >>>init <-- to reboot) NOTES: 1) ensure you add the "&" on the end of the "exer" command to send it into the background or else you cannot run the "show_status" command repeatedly to check bytes written. (Ctrl C breaks out if you forget the &) 2) BYTE WRITTEN needs to be greater than or equalt to 8 megabytes 3) show_status will need to be re-run several times (the easiest approach is to type it once and then do the keys repeatedly). 4) some SRM versions will allow you to use the ALIAS name (i.e. dka0) instead of the full name (i.e. dka0.0.0.5.0) on the "exer ..." command line. SRM 5.8-1 is one such SRM. I haven't tested any others, yet. PS: I tried to ignore these older Alpha PC164 computer systems but it wasn't possible. "If you can't fight 'em, join 'em" is what I've had to adopt. So, if I have erred miserably, please go easy on me. I've only started supporting them in the last few months. Sample (wrap-line mangeled) "show_status": ID Program Device Pass Hard/Soft Bytes Written Bytes Read -------- ------------ ------------ ------ --------- ------------- ----------- 00000001 idle system 0 0 0 0 0 000003c exer_kid dka0.0.0.17.0 0 0 0 8087040 0 (Jay's sample not mine ;-) -- Peter Sherwood Technical Support Direct: 508-732-5542 Main: 508-746-7341 Fax: 508-746-4678 Microway, Inc. - "Technology You Can Count On" http://www.microway.com/