Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing boot mode from gui to text Solaris 10 x64 1

Status
Not open for further replies.

stevenriz

IS-IT--Management
May 21, 2001
1,069
Hi I just installed Solaris 10 onto a 64bit system and it tried to boot to gui mode for login. How do I change this? I try to log in really quick when the login/password is displayed but it doesn't seem to work, it still tries to go into gui mode. The issue I have is, this installation most likely didn't detect the video card properly and after it boots, it is in some display mode that my monitor cannot display so I get a b lack screen. Any ideas for me?
thanks!
Steve
 
(re)move /etc/rc3.d/S??dtlogin

Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
 
well that's the thing. There is no dtlogin file anywhere. I boot single user mode and even do a search. Nothing. If I let the computer boot up, it goes graphical and I get a gui mode that my monitor cannot display.
 
I found a dtlogin script in /a/etc/init.d and tried moving it but that didn't work. (/a being the mount point of the hard drive in single user mode.
 
unfortunately I don't have a Sun/Solaris to check...
There are just two places where executables are started during startup: the structure under /etc/rc?.d/S.. and the /etc/inittab. Doublecheck these places...
Startup the system from OBP by typing "boot -s"; whever you are in singeuser mode run "init 2", this will bring you to runlevel 2. Is there any GUI started?

Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
 
Solaris, unlike Linux, processes rc2.d and rc3.d while it is coming up to runlevel 3. So you need to check all of the rc scripts for a dtlogin reference. You can do that by typing:

Code:
find /etc/ -name "*dtlogin*"
You can then move any references to SXXdtlogin to off.SXXdtlogin (the XX will be some number) and that will prevent it from booting up in GUI mode but still leave the link intact if you change your mind in the future.

Note that usually the references in /etc/rcX.d are usually soft links to /etc/init.d. You don't have to change the one in /etc/init.d though, because the rcX.d directories are what is processed on bootup. /etc/init.d is a "common area" that one can use to start processes manually without having to remember which runlevel rcX.d directory they are in.

Hope that helps.
 
Those methods will not work for Solaris 10. I ran into this problem myself you need to use the svcadm command.

Code:
svcs -a | grep cde

svcadm disable <each process that starts with svc:>
 
great feedback, have a star

Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top