<br><br><div class="gmail_quote">On Sun, Feb 12, 2012 at 10:15 AM, Frank Murphy <span dir="ltr"><<a href="mailto:frankly3d@gmail.com">frankly3d@gmail.com</a>></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 <<a href="mailto:jd1008@gmail.com">jd1008@gmail.com</a>> wrote:<br>
><br>
><br>
> On Sun, Feb 12, 2012 at 9:57 AM, Frank Murphy <<a href="mailto:frankly3d@gmail.com">frankly3d@gmail.com</a>> wrote:<br>
>><br>
>> In the box there are two physical drives<br>
>> /dev/sda, /dev/sdb both gpt formatted. and encrypted where necessary<br>
>> "/, swap, home"<br>
>><br>
>> How can I change the default booting order.<br>
>><br>
>> /dev/sda3 "swap" always comes up first. when booting up.<br>
>><br>
>> How can I change this behaviour so:<br>
>> /dev/sda4 "/" comes up first.<br>
>><br>
>> This will enable me to use a keyfile to unlock<br>
>> "home, swap".<br>
>> with / being the only manual pw entry.<br>
<br>
> How many bootable partitions do you have?<br>
><br>
><br>
<br>
/boot = /sda2<br>
and "bios boot" = /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's /etc/fstab file.<br><br> because you use the same /boot dir, each kernel in grub.conf specifies it'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'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>