Solaris: boot manager

I have a Solaris7 for x86 on one partition and I have installed Win95 on
another. Win95 on install had overitten the Solaris boot manager and now the
only way I can load Solaris is by booting from a floppy. Is there any way to load back the Solaris's boot manager without reinstalling the whole system?

Thanks
alex123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

geoff2000Commented:
Look at the man pages for installboot(1M)

installboot - install bootblocks in a disk partition

nstallboot pboot bootblk raw-disk-device
0
geoff2000Commented:
Of course, You should first make sure that the solaris partition is active. If it is not make it active and reboot.

Then use installboot if this does not work.

1. Boot off of floppy

2.  Make sure you are going to put the bootblocks on the correct partition. prtvtoc /dev/rdsk/c0t0d0s2 for example. Just so you don't screw up another partition.

3. installboot /usr/platform/i86pc/lib/fs/ufs/pboot \
               /usr/platform/i86pc/lib/fs/ufs/bootblk \         
               /dev/rdsk/c0t0d0s2
4. reboot
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ahoffmannCommented:
(keep the points:)
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

djveCommented:
Or if you dont want the steps set by geoff2000 just do a fresh install from the CD and when prompted run as an upgrade rather than initial.
0
geoff2000Commented:
Woops, I thought I sent mine as an answer not a comment.
0
alex123Author Commented:
I don't think that would work, I tried it before I posted a question

geoff2000: I will try your suggestion tommorow and transfer the points then
0
geoff2000Commented:
Good Luck.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.