UltraSPARC MBR problem, Bad Magic Number in Disk Label, will not boot.

Posted on 2011-05-06
Last Modified: 2012-05-11
Hello, I am looking to see if someone perhaps can help out here. Did a pretty stupid thing by accident and now trying to resolve it.

I wanted to create a ghost image of SUN UltraSPARC Solaris 8 Hard Drive. Well, while attaching it through IDE/SATA USB cable to my Windows laptop to run ghost,
I enabled it through disk management by accident and MBR was written into.

Now, I can't even get the damn thing to boot anymore on the SUN Powerblade 150. This is what I began to see:
Bad Magic Number in Disk Label
Can't open disk label package
Boot device: net File and args:
Timeout waiting for ARP/RARP packet

I have tried the following without any success. Any help is greatly appreciated!! Thank you.

Things I have tried:

1) Tried running fsck
a. Inserted Solaris 8 OS Disk into CD-ROM, Pressed STOP-A, at OK prompt typed boot cdrom -s
b. At single user prompt typed "fsck /dev/rdsk/c0t0d0s0"
c. Rebooted, did not work.

2) Tried to correct disk label
a. Inserted Solaris 8 OS Disk into CD-ROM, Pressed STOP-A, at OK prompt typed boot cdrom -s
b. At single user prompt typed "format", selected the drive c0t0d0s0and labeled it (one error at boot was companing about label being wrong).
3. Rebooted, still no good.

3) Tried to reinstall boot sector.
a. At OK prompt typed boot cdrom -s
b. At single user prompt typed "/usr/sbin/installboot /usr/platform/sun4u/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0" to try and reinstall the boot sector.
c. Rebooted, still no good.

4) Tried to zero out/clear the boot code withinMBR (first 446 bytes) using dd. Did not want to do all 512 to preserve partition table.

a. At OK prompt typed boot cdrom -s
b. dd if=/dev/zero of=/dev/rdsk/c0t0d0s0 bs=446 count=1
c. Rebooted, still won't boot

Any help is greatly appreciated!! Thank you!!
Question by:vitalyzv
    LVL 76

    Assisted Solution

    bad magic number means there is no formated partitions. The drive may have died.

    You needed to run the fsck -b and use one of the alternate super blocks
    based on the newfs -n /dev/dsk/c1t0d0s0

    LVL 76

    Accepted Solution

    Additional info.

    Do you have a layout backup from this disk that you can "restore"
    The problem I see is that what you've attempted may have made things worse.
    LVL 61

    Assisted Solution

    openbsd also includes ffs searcher/ disklabel rebuilder.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. Please see for the updated article. It is avail…
    My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now