How do I fix a borked, unbootable Netra X1 claiming a problem with the time-of-day
Check, and correct the system date from the console.
Once the date is set, find an alternate superblock for the disk, and run fsck against that superblock on all the slices on that disk using the following as an example (note: the disk device may be different on different machines, and the block numbers from the example will not necessarily match the output derived from your `newfs -N` run):
# newfs -N /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3: 4096320 sectors in 1004 cylinders of 16 tracks, 255 sectors 2000.2MB in 44 cyl groups (23 c/g, 45.82MB/g, 11264 i/g) super-block backups (for fsck -F ufs -o b=#) at: 32, 94128, 188224, 282320, 376416, 470512, 564608, 658704, 752800, 846896, 940992, 1035088, 1129184, 1223280, 1317376, 1411472, 1501472, 1595568, 1689664, 1783760, 1877856, 1971952, 2066048, 2160144, 2254240, 2348336, 2442432, 2536528, 2630624, 2724720, 2818816, 2912912, 3002912, 3097008, 3191104, 3285200, 3379296, 3473392, 3567488, 3661584, 3755680, 3849776, 3943872, 4037968, # fsck -o b=3661584 /dev/rdsk/c0t0d0s3 Alternate super block location: 3661584. ** /dev/rdsk/c0t0d0s3 ** Currently Mounted on ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups FREE BLK COUNT(S) WRONG IN SUPERBLK SALVAGE? y 6064 files, 137503 used, 1985478 free (14 frags, 248183 blocks, 0.0% fragmentation) ***** FILE SYSTEM WAS MODIFIED ***** #
Reboot the system.
Leave a Reply