<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>When I add a USB disk from an image it always shows up as the 1st disk so the boot order using "c" will always select USB. </p>
<p>How do I boot from the 1st hard drive without disconnecting USB? </p>
<p><br>
</p>
<p></p>
<p style="margin: 0.357143em 0px; padding: 0px; font-size: 14px; line-height: 1.42857em; color: rgb(34, 34, 34); font-family: verdana, arial, helvetica, sans-serif;">
</p>
<div>-device piix3-usb-uhci,id=uhci \</div>
<div>-drive file=$HDD1,if=virtio,index=0 \</div>
<div>-drive file=$HDD2,if=virtio,index=1 \</div>
<div>-drive file=$CD1,media=cdrom,if=ide,index=2 \</div>
<div>-drive file=$CD2,media=cdrom,if=ide,index=3 \</div>
<div>-drive if=none,id=usb_stick,file=/rpool/virtualmachines/qa-tableau04/usb.img,index=4 \</div>
<div>-device usb-storage,bus=uhci.0,drive=usb_stick \</div>
<br>
<p></p>
<p style="margin: 0.357143em 0px; padding: 0px; font-size: 14px; line-height: 1.42857em; color: rgb(34, 34, 34); font-family: verdana, arial, helvetica, sans-serif;">
I have also tried with using the bootindex option in -device but it seems that you have to use -boot "strict" option which is not supported in Illumos. </p>
<p style="margin: 0.357143em 0px; padding: 0px; font-size: 14px; line-height: 1.42857em; color: rgb(34, 34, 34); font-family: verdana, arial, helvetica, sans-serif;">
<br>
</p>
<p style="margin: 0.357143em 0px; padding: 0px; font-size: 14px; line-height: 1.42857em; color: rgb(34, 34, 34); font-family: verdana, arial, helvetica, sans-serif;">
Using the -boot "menu=on" option I can select the correct boot device, but at a loss why index doesnt work and also attaching drives with -device so that I can use the bootindex option doesnt make a difference. </p>
<p style="margin: 0.357143em 0px; padding: 0px; font-size: 14px; line-height: 1.42857em; color: rgb(34, 34, 34); font-family: verdana, arial, helvetica, sans-serif;">
I am starting to get the feeling that some aspects may be hard coded.</p>
<p style="margin: 0.357143em 0px; padding: 0px; font-size: 14px; line-height: 1.42857em; color: rgb(34, 34, 34); font-family: verdana, arial, helvetica, sans-serif;">
<br>
</p>
<p style="margin: 0.357143em 0px; padding: 0px; font-size: 14px; line-height: 1.42857em; color: rgb(34, 34, 34); font-family: verdana, arial, helvetica, sans-serif;">
<br>
</p>
<p></p>
</div>
</body>
</html>