How to recover when bootblock is corrupted ?

Showing Answers 1 - 12 of 12 Answers

Andy

  • May 22nd, 2007
 

You will need to boot off your mirror if you have one, if not a CD or the Jumpstart server:

boot <device> -Sw

Then, to reinstall the bootblk using installboot:

installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/<root device>

Hope this helps.

  Was this answer useful?  Yes

jaykanthk

  • Nov 7th, 2007
 

boot single usermode through cdrom if bootblock is corrupted installboot /usr/platform/uname-m/lib/fs/ufs/bootblk /dev/rdsk/c#t#d#s#.

  Was this answer useful?  Yes

sasikumar12

  • Dec 12th, 2008
 

ok boot cdrom - s
#mount /dev/rdsk/c0t0d0s0 /a
#cd /usr/platform/uname-m/lib/fs/ufs
#installboot bootblk /a /dev/rdsk/c0t0d0d0
#cd /
#umount /a
#init5

  Was this answer useful?  Yes

Vishal Madamwar

  • Sep 12th, 2011
 

When bootblock get corrupted, you will get message as: Boot load failed. The file just loaded does not appear to be executable.

This is for SPARC machine

ok> boot cdrom -s

# newfs /dev/rdsk/c0t0d0s0
# fsck /dev/rdsk/c0t0d0s0

# mount /dev/dsk/c0t0d0s0 /a
# cd /a

If / (root) data is restore on tape media or any other media load it on new file system.
For tape media

# ufsrestore rf /dev/rmt/0
# rm restoresymtable

# cd /usr/platform/`uname -m`/lib/fs/ufs
# installboot bootblk /dev/rdsk/c0t0d0s0

# cd /
# umount /a

# init 6
will reboot system
# eject cdrom



  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions