{"id":2416,"date":"2023-08-30T19:22:45","date_gmt":"2023-08-30T09:22:45","guid":{"rendered":"https:\/\/blog.hegars.com\/?p=2416"},"modified":"2024-09-14T17:37:20","modified_gmt":"2024-09-14T07:37:20","slug":"sun-solaris","status":"publish","type":"post","link":"https:\/\/blog.hegars.com\/?p=2416","title":{"rendered":"Sun Solaris"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">.profile<\/h2>\n\n\n\n<p>\/usr\/bin\/stty erase &#8216;^H&#8217;<\/p>\n\n\n\n<p>#note: using encase &#8220;`&#8221; (next to the ~) for logname and hostname<br>PS1=<code>logname@hostname<\/code>:&#8217;${PWD}$  &#8216; <br>alias ls=&#8221;ls -la&#8221;<br>alias vim=&#8221;vi&#8221;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">.plan<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">.project<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">QEMU Solaris 7 sparc<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"692\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-29-1024x692.png\" alt=\"\" class=\"wp-image-2558\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-29-1024x692.png 1024w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-29-300x203.png 300w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-29-768x519.png 768w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-29-1536x1037.png 1536w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-29-2048x1383.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"672\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-30-1024x672.png\" alt=\"\" class=\"wp-image-2559\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-30-1024x672.png 1024w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-30-300x197.png 300w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-30-768x504.png 768w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-30-1536x1008.png 1536w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2024\/09\/image-30-2048x1345.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Good ol&#8217; roms <\/h3>\n\n\n\n<p><a href=\"https:\/\/github.com\/andarazoroflove\/sparc\">https:\/\/github.com\/andarazoroflove\/sparc<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Guides<\/h3>\n\n\n\n<p><a href=\"https:\/\/wiki.qemu.org\/Documentation\/Platforms\/SPARC\">https:\/\/wiki.qemu.org\/Documentation\/Platforms\/SPARC<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/en.wikibooks.org\/wiki\/QEMU\/SunOS_4.1.4\">https:\/\/en.wikibooks.org\/wiki\/QEMU\/SunOS_4.1.4<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/tyom.blogspot.com\/2009\/12\/solaris-under-qemu-how-to.html\">https:\/\/tyom.blogspot.com\/2009\/12\/solaris-under-qemu-how-to.html<\/a><\/p>\n\n\n<p><blockquote class=\"wp-embedded-content\" data-secret=\"ZUIlHZRWWY\"><a href=\"https:\/\/defcon.no\/sysadm\/playing-with-sunos-4-1-4-on-qemu\/\">Playing with SunOS 4.1.4 SPARC on QEmu<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Playing with SunOS 4.1.4 SPARC on QEmu&#8221; &#8212; Defcon:Blog\" src=\"https:\/\/defcon.no\/sysadm\/playing-with-sunos-4-1-4-on-qemu\/embed\/#?secret=ZUIlHZRWWY\" data-secret=\"ZUIlHZRWWY\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n\n\n<h3 class=\"wp-block-heading\">start script<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nqemu-system-sparc \\\n-monitor tcp::4444,server,nowait \\\n-serial tcp::4423,server,nowait \\\n-display none -vnc :0 \\\n-bios .\/roms\/ss5.bin \\\n-m 256 \\\n-drive file=.\/discs\/QEMU12G.img,if=scsi,bus=0,unit=0,media=disk \\\n-drive file=.\/isos\/solaris_7_1199_sparc.iso,format=raw,if=scsi,bus=0,unit=6,media=cdrom,readonly=on\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">Creating a disk and formating it for install <\/h3>\n\n\n\n<p> qemu-img create -f qcow2 QEMU12G.img 12G<\/p>\n\n\n\n<p>Boot into single user mode from CD <\/p>\n\n\n\n<p>boot cdrom -vs<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create the disk and partition layouts <\/h3>\n\n\n\n<p>echo &#8216;disk_type=&#8221;QEMU12G&#8221;:ctlr=SCSI:ncyl=49152:acyl=0:pcyl=49152:nhead=16:nsect=32:rpm=7200&#8217; &gt;&gt; \/etc\/format.dat<br>echo &#8216;partition=&#8221;QEMU12G&#8221;:disk=&#8221;QEMU12.0G&#8221;:ctlr=SCSI:2=0,25165824:0=0,20971520:6=40960,4194304&#8217; &gt;&gt; \/etc\/format.dat<br>format -d c0t0d0<br>newfs \/dev\/dsk\/c0t0d0s0 <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Default Router<\/h3>\n\n\n\n<p>enter 192.168.0.1 in \/etc\/defaultrouter.<\/p>\n\n\n\n<p>nsswitch.conf change hosts:files to hosts :dns<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reconfigure System<\/h2>\n\n\n\n<p>sys-unconfig<\/p>\n","protected":false},"excerpt":{"rendered":"<p>.profile \/usr\/bin\/stty erase &#8216;^H&#8217; #note: using encase &#8220;`&#8221; (next to the ~) for logname and hostnamePS1=logname@hostname:&#8217;${PWD}$ &#8216; alias ls=&#8221;ls -la&#8221;alias vim=&#8221;vi&#8221; .plan .project QEMU Solaris 7 sparc Good ol&#8217; roms https:\/\/github.com\/andarazoroflove\/sparc Guides https:\/\/wiki.qemu.org\/Documentation\/Platforms\/SPARC https:\/\/en.wikibooks.org\/wiki\/QEMU\/SunOS_4.1.4 https:\/\/tyom.blogspot.com\/2009\/12\/solaris-under-qemu-how-to.html Playing with SunOS 4.1.4 SPARC on QEmu start script Creating a disk and formating it for install qemu-img create -f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/2416"}],"collection":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2416"}],"version-history":[{"count":21,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/2416\/revisions"}],"predecessor-version":[{"id":2570,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/2416\/revisions\/2570"}],"wp:attachment":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}