SUMMARY: bootstrap failure - how to fix bootblock?

From: Dan Kirkpatrick (dkirk@physics.syr.edu)
Date: Fri Sep 27 2002 - 10:55:05 EDT


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 <dkirk@physics.syr.edu>
>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
=======================================================



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:54 EDT