<div dir="ltr"><div>Hi, I am hoping to get some help with the kayak installer. I can boot okay into the installer and it works fine if I use the whole disk. What I need to do is create a partition and use that partition instead of the whole disk. Looking at the scripts in /kayak, those are the scripts that do most/all of the work. Here is the steps I am taking..</div>
<div><br></div><div>Boot into the Kayak installer</div><div><br></div><div>  Instead of using "BuildRpool c1t0d0", I create the partition on the disk which looks like this. I want to use 50% of the disk..</div><div>
<br></div><div>fdisk /dev/rdsk/c1t0d0p0</div><div><br></div><div>             Total disk size is 19451 cylinders</div><div>             Cylinder size is 16065 (512 byte) blocks</div><div><br></div><div>                                               Cylinders</div>
<div>      Partition   Status    Type          Start   End   Length    %</div><div>      =========   ======    ============  =====   ===   ======   ===</div><div>          1       Active    Solaris2          1  19450    19450    50</div>
<div><br></div><div>BuildRpool funciton just goes through the disk and creates the pool and then calls the BuildBE function. So I create the partition and rpool manually and run the BuildBE funtion.</div><div><br></div><div>
Run the ApplyChanges funtions</div><div><br></div><div>Run the MakeBootable function - and this is where things don't go as expected. Here is the output..</div><div><br></div><div>root@unknown:/kayak# MakeBootable</div>
<div>[2013/09/26-01:27:16] Making boot environment bootable</div><div>Activated successfully</div><div>Creating GRUB menu in /mnt</div><div>bootadm: failed to determine fdisk partition: /dev/rdsk/c2t0d0p1</div><div>bootadm: failed to get grubsign for root: /mnt, device /dev/rdsk/c2t0d0p1</div>
<div>Installing grub on /dev/rdsk/c2t0d0p1</div><div>raw device must be a root slice (not s2)</div><div>Unable to gather device information for /dev/rdsk/c2t0d0p1</div><div>Creating boot_archive for /mnt</div><div>updating /mnt/platform/i86pc/amd64/boot_archive</div>
<div>updating /mnt/platform/i86pc/boot_archive</div><div>Unmounted successfully</div><div> </div><div>Specfically this is the probematic line</div><div>$ALTROOT/boot/solaris/bin/update_grub -R $ALTROOT</div><div><br></div>
<div>I have tried just using installgrub, a nieve attempt to find a workaround, but it doesn't boot </div><div><br></div><div>root@unknown:/kayak# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c2t0d0s0</div>
<div><br></div><div>stage2 written to partition 0, 283 sectors starting at 50 (abs 12594)</div><div>stage1 written to partition 0 sector 0 (abs 12544)</div><div>root@unknown:/kayak#</div><div><br></div><div>Any ideas?</div>
<div><br></div><div>Kashif</div></div>