Boot block is damaged ...
Booting from CD-ROM to repair a Bad Boot Block
- > b sd(0,6,2) -sw or
ok boot cdrom -sw
- # cd /usr/platform/`arch-k`/lib/fs/ufs
- # installboot bootblk /dev/rdsk/c0t3d0s0
(to install boot block to booting disk.
- # halt
- ok boot
Replacing the Kernel Unix File
- ok boot cdrom -sw or
ok boot sd(0.6.2) -sw
- # mount /dev/dsk/c0t#d0s0 /a
- # cp /kernel/unix /a/kernel/unix (or /kernel/genunix)
- # halt
- ok boot
Using vi Single-User Mode from the CD-ROM Files
- ok boot cdrom -sw or
ok boot sd(0,6,2) -sw
- # mount /dev/dsk/c0t3d0s0 /a
(/dev/dsk/c0t3d0s0 is booting disk)
- # TERM=sun; export TERM
- # vi /a/etc/vfstab (to modify the entry)
- # reboot