From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Kirkpatrick Newsgroups: gmane.os.tru64.managers,gmane.linux.redhat.axp.general Subject: SUMMARY: bootstrap failure - how to fix bootblock? Date: Fri, 27 Sep 2002 10:55:05 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.1.0.14.2.20020927104301.01297f00@physics.syr.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: main.gmane.org 1033138550 13129 127.0.0.1 (27 Sep 2002 14:55:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 27 Sep 2002 14:55:50 +0000 (UTC) Cc: Stephen Mulcahy , Peter Sherwood , John Deacon , alan@nabeth.cxo.cpqcorp.net, Paul Henderson , Simon Millard , Michal Jaegermann 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 17uwWy-0003Pd-00 for ; Fri, 27 Sep 2002 16:55:48 +0200 Original-Received: (qmail 18218 invoked by uid 5); 27 Sep 2002 14:55:47 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18209 invoked by uid 49493); 27 Sep 2002 14:55:47 -0000 Original-Received: from dkirk@physics.syr.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.459053 secs); 27 Sep 2002 14:55:47 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 27 Sep 2002 14:55:47 -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 <0H33001ZJQSTCS@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Sep 2002 10:55:46 -0400 (EDT) Original-Received: from physics.syr.edu (physics.syr.edu [128.230.72.2]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H33003LAQSOPT@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Sep 2002 10:55:37 -0400 (EDT) Original-Received: from DANDELL.physics.syr.edu (dkirk [128.230.72.79]) by physics.syr.edu (8.11.6/8.11.6) with ESMTP id g8REtW010604; Fri, 27 Sep 2002 10:55:32 -0400 X-Sender: dkirk@physics.syr.edu Original-To: axp-list@redhat.com, tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.1 Xref: main.gmane.org gmane.os.tru64.managers:1887 gmane.linux.redhat.axp.general:1880 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1887 Thank you to everyone that helped... cc'd above reminder that this is a DEC Alpha 600 5/266 running Red Hat Linux 7.0... The solution was simple once I got it straight. I didn't want to replicate partitions from a 2gb disk to a 73gb disk with dd, so I partitioned with a BSD disk label, used swriteboot to write the bootblock, copied everything over, and it worked like a charm... (after 2 days of messing up!) Here's what I did wrong...what I messed up.... I took the new disk and partitioned it with Linux partitions instead of a BSD disk label... (still possible to have it boot from SRM as we have some with BSD and non-BSD disk labels.) I copied over the original disk to the new one, and quickly realized it couldn't boot since there was no bootblock. So in my frenzy I tried to use dd to zero out the new disk and try a dd copy, and goofed... wiped out the original disk with a typo... Spent quite awhile restoring the old disk back, figuring out how to write the bootblock, and restoring the data back... dump/restore wasn't available on any boot cd's I had, and existing Linux machines could read either the BSD disk on Dec Unix, or Linux disk on RH Linux, but not both on one machine... Once I got the original disk back, I proceeded to fix the problem quickly now I knew how to do it right. The simplest tasks get very burdensome when rarely done and it's basically new! Thanks again! --Dan >Date: Tue, 17 Sep 2002 12:28:55 -0400 >To: axp-list@redhat.com, tru64-unix-managers@ornl.gov >From: Dan Kirkpatrick >Subject: bootstrap failure - how to fix bootblock? > >I have a DEC Alpha machine that use to run DEC unix/tru64... now it's >running RedHat Linux 7.0 for alpha and the disk is dying... so I put in a >new hard drive and copied everything over to the new disk with dump/restore. >Now on boot, it says bootstrap failure... block 0 of dka0.0.0.1001.0 is >not a valid boot block. > >What's the magic way to create the boot block as well? >It's running Linux now so I don't have 'disklabel' and the original disk >lost it's boot block in trying to copy it over to the new disk :( > >Thanks for any help! >-Dan > >======================================================= >Dan Kirkpatrick dkirk@physics.syr.edu >Computer Systems Manager >Department of Physics >Syracuse University, Syracuse, NY >http://www.physics.syr.edu/help/ Fax:(315) 443-9103 >======================================================= ======================================================= Dan Kirkpatrick dkirk@physics.syr.edu Computer Systems Manager Department of Physics Syracuse University, Syracuse, NY http://www.physics.syr.edu/help/ Fax:(315) 443-9103 =======================================================