{"id":705,"date":"2008-12-07T10:18:50","date_gmt":"2008-12-07T15:18:50","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/?p=705"},"modified":"2008-12-07T10:18:50","modified_gmt":"2008-12-07T15:18:50","slug":"getting-x-working-again-after-swapping-hardware-on-open-solaris-nv100","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2008\/12\/07\/getting-x-working-again-after-swapping-hardware-on-open-solaris-nv100\/","title":{"rendered":"Getting X working again after swapping hardware on Open Solaris nv100"},"content":{"rendered":"<p>After having dain bramaged myself for years with Linux usage.  I had gotten spoiled into believing an OS should make it simple to do the following:<\/p>\n<p>1. Shutdown computer<br \/>\n2. Swap around hardware components<br \/>\n3. Restart<br \/>\n4. Life is good<\/p>\n<p>However any techie should tell you this is a pipe dream on Windows.  Mac users probably have no clue since they never change hardware components and just buy new Macs to solve their problems.  Which leaves the lucky OSS *nix variants to try stunts like this.<\/p>\n<p>Being the stubborn person I am,  I attempted this with OpenSolaris by swapping out my motherboard.  I wanted to do this in order to take advantage of the E7400 Core 2 Duo that I bought awhile back.  Things almost worked however on reboot I was given the dreaded console login screen with a useless keyboard.  The following as far as I know don\u00b4t work&#8230;<\/p>\n<p>1. CTRL-ALT-BACKSPACE<br \/>\n2. CTRL-ALT-Fn<br \/>\n3. CTRL-ALT-DEL<\/p>\n<p>Your best bet is to ssh somehow and try to look for clues.  Here is what I did&#8230;<\/p>\n<p>1. Swap motherboard and stare at dark screen<br \/>\n2. Find out how to <a href=\"http:\/\/mail.opensolaris.org\/pipermail\/opensolaris-discuss\/2007-September\/034748.html\">boot into single user mode<\/a> and make sure the kernel isn&#8217;t PO-ed or something and find my IP address<br \/>\n3. Move away the X11 configuration that I configured  (dual-display) and try rebooting<br \/>\n4. Reboot and find out it isn&#8217;t working<br \/>\n5. ssh in and realize it still isn&#8217;t working.   Move the old dual display X11 config back to \/etc\/X11\/xorg.conf<br \/>\n6. Try restarting gdm with svcadm restart gdm and watch it fail<br \/>\n7. Scritch head some more<br \/>\n8. Try starting X from the SSH session and whoah it works<br \/>\n9. Restart gdm (svcadm restart gdm) and now I get a login screen<br \/>\n10. Realize that I disconnected the left monitor (VGA) to help debug and want it back<br \/>\n11. Logout and log back in.  I now have dual screens and a working Solaris install again!<\/p>\n<p>References<\/p>\n<ul>\n<li><a href=\"http:\/\/mail.opensolaris.org\/pipermail\/opensolaris-discuss\/2007-September\/034748.html\">How to boot into Single User Mode for OpenSolaris<\/a><\/li>\n<li>\n<li><a href=\"\/\/opensolaris.org\/jive\/thread.jspa?messageID=234143\u00a8\">Finding device faults with Fault Manager<\/a><\/li>\n<li><a href=\"\/\/opensolaris.org\/jive\/thread.jspa?messageID=311678\u00a8\">Debugging problems with nvidia driver on bootup<\/a><\/li>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>After having dain bramaged myself for years with Linux usage. I had gotten spoiled into believing an OS should make it simple to do the following: 1. Shutdown computer 2. Swap around hardware components 3. Restart 4. Life is good However any techie should tell you this is a pipe dream on Windows. Mac users [&hellip;]<\/p>\n","protected":false},"author":703,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1216,1215,3771,1099],"tags":[],"class_list":["post-705","post","type-post","status-publish","format-standard","hentry","category-fixes","category-gripe","category-solaris","category-unix"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/703"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=705"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/705\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}