{"id":103,"date":"2016-09-26T17:32:17","date_gmt":"2016-09-26T17:32:17","guid":{"rendered":"https:\/\/netadmintools.com\/?p=103"},"modified":"2018-05-11T18:12:00","modified_gmt":"2018-05-11T18:12:00","slug":"running-linux-on-sparc64","status":"publish","type":"post","link":"https:\/\/www.netadmintools.com\/running-linux-on-sparc64\/","title":{"rendered":"Running Linux on Sparc64"},"content":{"rendered":"<p>If you have some old Sun hardware you would like to run GNU\/Linux on, the easiest way to get started is to use the CD-ROM images available at Aurora Linux. We&#8217;ve tried many different distributions, but the only one that we could get to load successfully is Aurora. Mebbe we are braindead, but if you have troubles, try Aurora. Aurora installs <b>just as easily as Red Hat on i386 hardware<\/b>. No fooling. A NetAdminTools tip &#8216;o the hat to the folks at Aurora. Just boot off of the first CD, and the rest is smooth sailing.<\/p>\n<p>Of course, that was too easy. What we wanted to get going was the latest *everything*, so of course, we really wanted <a href=\"http:\/\/www.gentoo.org\/\">Gentoo<\/a> on the box. There is something wrong with the Silo boot loader and the install routine on Gentoo, at least with our system. We suspect that it is because the console is on a serial port. Aurora had no problems, but Gentoo (1.1a) hangs right after the Silo prompt. So, what we did was install Aurora, create an EXT3 filesystem on another drive, and extract a stage3 tarball on the filesystem and hack at the system until we got it running. First, we created a partition and filesystem on a different drive (sdc) while running Aurora off of hda, and then mount it:<\/p>\n<table border=\"0\" width=\"99%\" bgcolor=\"#E0E0E0\">\n<tbody>\n<tr>\n<td>\n<pre># <b>fdisk \/dev\/sdc<\/b>\r\n# <b>mkfs -t ext3 \/dev\/sdc1<\/b>\r\n# <b>mount -t ext3 \/dev\/sdc1 \/mnt\/gentoo<\/b>\r\n# <b>cd \/mnt\/gentoo<\/b>\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now, let&#8217;s copy the stage3 tarball to \/mnt\/gentoo and extract it:<\/p>\n<table border=\"0\" width=\"99%\" bgcolor=\"#E0E0E0\">\n<tbody>\n<tr>\n<td>\n<pre># <b>cp \/stage3-sparc64-1.4_rc2.tar.bz2 .\/<\/b>\r\n# <b>tar -xjf *.bz2<\/b>\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Copy resolv.conf:<\/p>\n<table border=\"0\" width=\"99%\" bgcolor=\"#E0E0E0\">\n<tbody>\n<tr>\n<td>\n<pre># <b>cp \/etc\/resolv.conf etc\/resolv.conf<\/b>\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Pretty much, we then hacked the install following  this document. The key steps we took:<\/p>\n<table border=\"0\" width=\"99%\" bgcolor=\"#E0E0E0\">\n<tbody>\n<tr>\n<td>\n<pre># <b>cd \/<\/b>\r\n# <b>chroot \/mnt\/gentoo<\/b>\r\n# <b>source \/etc\/profile<\/b>\r\n# <b>ln -s \/usr\/portage\/profiles\/default-sparc64-1.4\r\netc\/make.profile<\/b> \r\n# <b>export CONFIG_PROTECT=\"\"<\/b>\r\n# <b>emerge system<\/b>\r\n# <b>emerge egcs64-sparc<\/b>\r\n# <b>cd \/usr\/src<\/b>\r\n# <b>wget http:\/\/www.kernel.org\/pub\/linux\/kernel\/\r\nv2.4\/linux-2.4.20.tar.bz2<\/b>\r\n# <b>tar -xjf *.bz2<\/b>\r\n# <b>make ARCH=sparc64 oldconfig dep clean\r\nvmlinux modules<\/b>\r\n# <b>make modules_install<\/b>\r\n# <b>gzip -9 vmlinux<\/b>\r\n# <b>cp vmlinux.gz \/boot\/vmlinuz-2.4.20<\/b>\r\n# <b>cd \/boot<\/b>\r\n# <b>ln -s vmlinuz-2.4.20 vmlinuz<\/b>\r\n# <b>emerge silo<\/b>\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Fill in the rest from the Gentoo documentation. For this box, sunhme needed to be in \/etc\/modules.autoload. We just added an entry in silo.conf on \/boot on the the Aurora partition to load the Gentoo root partition instead, and copied the kernal above to Aurora \/boot. One interesting thing is that the .config file cannot be created (it seems) from menuconfig, because tmpfs doesn&#8217;t show up correctly on the menus. Now, the directions on Gentoo say to use sed to edit the file. <a href=\"https:\/\/netadmintools.com\/text\/sparc64config.txt\">here is our .config file<\/a>.<\/p>\n<p>One final problem is that the terminals that agetty tries to run on don&#8217;t exist. There is an error &#8220;respawning too fast: disabled for 5 minutes&#8221; that pops up. Just edit inittab and comment out the problem agetty lines.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have some old Sun hardware you would like to run GNU\/Linux on, the easiest way to get started is to use the CD-ROM images available at Aurora Linux. We&#8217;ve tried many different distributions, but the only one that we could get to load successfully is Aurora. Mebbe we are braindead, but if you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":{"0":"post-103","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-gnu-linux","7":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Running Linux on Sparc64 - Network Admin Tools<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.netadmintools.com\/art205.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Running Linux on Sparc64 - Network Admin Tools\" \/>\n<meta property=\"og:description\" content=\"If you have some old Sun hardware you would like to run GNU\/Linux on, the easiest way to get started is to use the CD-ROM images available at Aurora Linux. We&#8217;ve tried many different distributions, but the only one that we could get to load successfully is Aurora. Mebbe we are braindead, but if you [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.netadmintools.com\/art205.html\" \/>\n<meta property=\"og:site_name\" content=\"Network Admin Tools\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-26T17:32:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-05-11T18:12:00+00:00\" \/>\n<meta name=\"author\" content=\"Paul Anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Paul_AndersonNA\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art205.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art205.html\"},\"author\":{\"name\":\"Paul Anderson\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#\\\/schema\\\/person\\\/eee9a07392c4bee0964628c706e86a7f\"},\"headline\":\"Running Linux on Sparc64\",\"datePublished\":\"2016-09-26T17:32:17+00:00\",\"dateModified\":\"2018-05-11T00:00:00+0000\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art205.html\"},\"wordCount\":390,\"articleSection\":[\"GNU\\\/Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art205.html\",\"url\":\"https:\\\/\\\/www.netadmintools.com\\\/art205.html\",\"name\":\"Running Linux on Sparc64 - Network Admin Tools\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#website\"},\"datePublished\":\"2016-09-26T17:32:17+00:00\",\"dateModified\":\"2018-05-11T18:12:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#\\\/schema\\\/person\\\/eee9a07392c4bee0964628c706e86a7f\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art205.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.netadmintools.com\\\/art205.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/art205.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.netadmintools.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running Linux on Sparc64\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#website\",\"url\":\"https:\\\/\\\/www.netadmintools.com\\\/\",\"name\":\"Network Admin Tools\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.netadmintools.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.netadmintools.com\\\/#\\\/schema\\\/person\\\/eee9a07392c4bee0964628c706e86a7f\",\"name\":\"Paul Anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cdn.netadmintools.com\\\/wp-content\\\/uploads\\\/paul-anderson-150x150.jpg\",\"url\":\"https:\\\/\\\/cdn.netadmintools.com\\\/wp-content\\\/uploads\\\/paul-anderson-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.netadmintools.com\\\/wp-content\\\/uploads\\\/paul-anderson-150x150.jpg\",\"caption\":\"Paul Anderson\"},\"description\":\"Paul is an Avid Tech Geek who Loves writing, Cycling and All Things Linux! He comes from a Background of Windows Administration along with Ubuntu\\\/Centos Server administration. Paul holds industry wide certifications include CompTIA & Microsoft Accredited certifications.\",\"sameAs\":[\"https:\\\/\\\/www.netadmintools.com\\\/author\\\/editor\\\/\",\"https:\\\/\\\/x.com\\\/Paul_AndersonNA\"],\"url\":\"https:\\\/\\\/www.netadmintools.com\\\/author\\\/editor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Running Linux on Sparc64 - Network Admin Tools","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.netadmintools.com\/art205.html","og_locale":"en_US","og_type":"article","og_title":"Running Linux on Sparc64 - Network Admin Tools","og_description":"If you have some old Sun hardware you would like to run GNU\/Linux on, the easiest way to get started is to use the CD-ROM images available at Aurora Linux. We&#8217;ve tried many different distributions, but the only one that we could get to load successfully is Aurora. Mebbe we are braindead, but if you [&hellip;]","og_url":"https:\/\/www.netadmintools.com\/art205.html","og_site_name":"Network Admin Tools","article_published_time":"2016-09-26T17:32:17+00:00","article_modified_time":"2018-05-11T18:12:00+00:00","author":"Paul Anderson","twitter_card":"summary_large_image","twitter_creator":"@Paul_AndersonNA","twitter_misc":{"Written by":"Paul Anderson","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.netadmintools.com\/art205.html#article","isPartOf":{"@id":"https:\/\/www.netadmintools.com\/art205.html"},"author":{"name":"Paul Anderson","@id":"https:\/\/www.netadmintools.com\/#\/schema\/person\/eee9a07392c4bee0964628c706e86a7f"},"headline":"Running Linux on Sparc64","datePublished":"2016-09-26T17:32:17+00:00","dateModified":"2018-05-11T00:00:00+0000","mainEntityOfPage":{"@id":"https:\/\/www.netadmintools.com\/art205.html"},"wordCount":390,"articleSection":["GNU\/Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.netadmintools.com\/art205.html","url":"https:\/\/www.netadmintools.com\/art205.html","name":"Running Linux on Sparc64 - Network Admin Tools","isPartOf":{"@id":"https:\/\/www.netadmintools.com\/#website"},"datePublished":"2016-09-26T17:32:17+00:00","dateModified":"2018-05-11T18:12:00+00:00","author":{"@id":"https:\/\/www.netadmintools.com\/#\/schema\/person\/eee9a07392c4bee0964628c706e86a7f"},"breadcrumb":{"@id":"https:\/\/www.netadmintools.com\/art205.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.netadmintools.com\/art205.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.netadmintools.com\/art205.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.netadmintools.com\/"},{"@type":"ListItem","position":2,"name":"Running Linux on Sparc64"}]},{"@type":"WebSite","@id":"https:\/\/www.netadmintools.com\/#website","url":"https:\/\/www.netadmintools.com\/","name":"Network Admin Tools","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.netadmintools.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.netadmintools.com\/#\/schema\/person\/eee9a07392c4bee0964628c706e86a7f","name":"Paul Anderson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/paul-anderson-150x150.jpg","url":"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/paul-anderson-150x150.jpg","contentUrl":"https:\/\/cdn.netadmintools.com\/wp-content\/uploads\/paul-anderson-150x150.jpg","caption":"Paul Anderson"},"description":"Paul is an Avid Tech Geek who Loves writing, Cycling and All Things Linux! He comes from a Background of Windows Administration along with Ubuntu\/Centos Server administration. Paul holds industry wide certifications include CompTIA & Microsoft Accredited certifications.","sameAs":["https:\/\/www.netadmintools.com\/author\/editor\/","https:\/\/x.com\/Paul_AndersonNA"],"url":"https:\/\/www.netadmintools.com\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":3,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/posts\/103\/revisions"}],"predecessor-version":[{"id":2843,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/posts\/103\/revisions\/2843"}],"wp:attachment":[{"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/categories?post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netadmintools.com\/wp-json\/wp\/v2\/tags?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}