<br><br><div class="gmail_quote">On Sun, Feb 12, 2012 at 10:15 AM, Frank Murphy <span dir="ltr">&lt;<a href="mailto:frankly3d@gmail.com">frankly3d@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 12 February 2012 17:06, JD &lt;<a href="mailto:jd1008@gmail.com">jd1008@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Feb 12, 2012 at 9:57 AM, Frank Murphy &lt;<a href="mailto:frankly3d@gmail.com">frankly3d@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; In the box there are two physical drives<br>
&gt;&gt; /dev/sda, /dev/sdb both gpt formatted. and encrypted where necessary<br>
&gt;&gt; &quot;/, swap, home&quot;<br>
&gt;&gt;<br>
&gt;&gt; How can I change the default booting order.<br>
&gt;&gt;<br>
&gt;&gt; /dev/sda3 &quot;swap&quot; always comes up first. when booting up.<br>
&gt;&gt;<br>
&gt;&gt; How can I change this behaviour so:<br>
&gt;&gt; /dev/sda4 &quot;/&quot; comes up first.<br>
&gt;&gt;<br>
&gt;&gt; This will enable me to use a keyfile to unlock<br>
&gt;&gt; &quot;home, swap&quot;.<br>
&gt;&gt; with / being the only manual pw entry.<br>
<br>
&gt; How many bootable partitions do you have?<br>
&gt;<br>
&gt;<br>
<br>
/boot = /sda2<br>
and &quot;bios boot&quot; = /dev/sda1 /dev/sdb1<br>
<br>
<br><br></blockquote><div>OK, so when you boot from either bios bootable partitions,<br>what gets mounted as your root partition?<br><br>If you root partition is different in each of the two cases,<br>then you can control what gets mounted first in each root<br>
partition&#39;s /etc/fstab file.<br><br>      because you use the same /boot dir, each kernel in grub.conf specifies it&#39;s root drive.<br>      So, you may have to edit grub.conf so that each boot kernel (i.e title)  has two instances where<br>
      each one gets to specify it&#39;s root partition such as: <br>      root (hd0,1)<br>      or<br>      root (hd1,1)<br><br>      Also, in each /etc/fstab (in the respective root partitions) you will need to<br>      specify which partitions to mount first, and which swap partitions to use.<br>
<br>ope this is clear.<br><br><br></div></div>