<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>unixwiz &#187; big disk</title>
	<atom:link href="http://blogs.sungeek.net/unixwiz/tag/big-disk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.sungeek.net/unixwiz</link>
	<description>anything dealing with *NIX or what ever I want to write about</description>
	<lastBuildDate>Fri, 02 Jul 2010 02:28:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Installing Solaris on a large harddrive</title>
		<link>http://blogs.sungeek.net/unixwiz/2009/06/12/installing-solaris-on-a-large-harddrive/</link>
		<comments>http://blogs.sungeek.net/unixwiz/2009/06/12/installing-solaris-on-a-large-harddrive/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 02:11:34 +0000</pubDate>
		<dc:creator>unixwiz</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[big disk]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://blogs.sungeek.net/unixwiz/?p=1138</guid>
		<description><![CDATA[Because of the storms a couple of weeks ago, the harddrives in my one solaris box had failed. I bought a couple of new 500gb harddrives to replace the 80 that was in it. So I downloaded the newest update of Solaris 10 (update 7) and did the install. Everything worked perfect, then it rebooted. [...]]]></description>
			<content:encoded><![CDATA[<p>Because of the storms a couple of weeks ago, the harddrives in my one solaris box had failed. I bought a couple of new 500gb harddrives to replace the 80 that was in it. So I downloaded the newest update of Solaris 10 (update 7) and did the install. Everything worked perfect, then it rebooted. All I got was the &#8220;grub>&#8221; prompt. Nothing would let me boot it. I booted back off of the cdrom and updated the boot-archive, everything seemed fine, but it still would not boot off of the harddrive. So I tried to do it by hand at the grub> prompt:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;">grub&gt; kernel /platform/i86pc/multiboot<br />
Error <span class="nu0">18</span>: selected cylinder exceeds maximum supported by bios</div>
</div>
<p>Great.. now what. It appears that you have to have the boot info in the first 1023 cylinders of the harddrive. Well this big 500GB harddrive has over 60,000+ cylinders on it. Guess what, the Solaris installer put the swap on 3-263 and then put the root on 58884 &#8211; some high number.. So obviously grub is going to have a problem. </p>
<p>So how do you fix this. There is 2 possible ways that I can think of and possibly a third.  </p>
<p>The first would be for Sun to change the installer to not automatically place root at the end of the disk. </p>
<p>The second is when you are getting ready to do the install, pre-layout the disks using format from the command line. </p>
<p>The third is what I am trying, since the remaining of the disk has not been used yet, I am going to move the partitions around with dd. The first thing I did was delete the swap partition on slice 1. The second was to create a new temp partition on slice 3 that is the exact same size as slice 0. Now using dd I did the following:</p>
<div class="codesnip-container" >
<div class="codesnip" style="font-family: monospace;"><span class="kw2">dd</span> <span class="re2">if=</span>/dev/dsk/c0d0s0 <span class="re2">of=</span>/dev/dsk/c0d0s3 <span class="re2">bs=</span>4096k</div>
</div>
<p>Hopefully this won&#8217;t take too long as the partition is only 15gb in size. You could have done the same thing with tar and have both partitions mounted. Once the dd finishes. I will delete the slice 0 and recreate it starting at cylinder 3 and give it the same size as it was before, and then dd the info back. Once that is done, delete the temp slice and recreate a swap partition. Hopefully this works.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.sungeek.net/unixwiz/2009/06/12/installing-solaris-on-a-large-harddrive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
