Solaris x86 hostid

How do I change the hostid for Solaris 2.6 x.86? The standard
 forth monitor commands don't seem to work (ie mkp, mkpl)
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.

Try this site. They may have what you want.

There is no "hostid" under x86. The hostid your used to seeing under a Sparc CPU is based on a chip on the motherboard.  This is the IDPROM and is moved if you need to change motherboards.

Also there is no forth monitor commands. They look similar and have some of the functions but that is all.

On installation the SunOS kernel generates a number that it stores in /kernel/misc/sysinit and to change this you need to reinstall the OS. To keep this number for another machine you just copy the file over and reboot.

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
tbilbyAuthor Commented:
That makes sense, Sunsolve FAQ ID 1275 states,

A unique hostid is generated and is stored on disk during
                      install.  To maintain this across reinstalls this hostid is read before
                      the disk is destroyed and reused as the new hostid.  So, if you use the
                      old disk and have not formatted it the hostid should be maintained
                      accross reinstalls.

                      There is a known problem in 2.4_x86 with Hostid preservation.  If the
                      first installation on a machine fails or is aborted before the point at
                      which the non-zero hostid is created, or if a re-installation fails or
                      is aborted before the point at which the old hostid is restored,
                      subsequent re-installations generate an all-zero hostid

The Solution:
Begin a re-installation.  When the installation reports that it is
                      creating the root file system, immediately reset the machine.  The next
                      installation will create a non-zero hostid.
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.