<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><font size="2" color="black" face="Verdana,Arial,Helvetica"><font size="2" color="black" face="Verdana,Arial,Helvetica">Can someone offer me the right grub magic to make this automatically boot? </font></font><br>
<font size="2" color="black" face="Verdana,Arial,Helvetica"><font size="2" color="black" face="Verdana,Arial,Helvetica">I&#39;m looking for the right command for when I boot off sda and have the thumb </font></font><br><font size="2" color="black" face="Verdana,Arial,Helvetica"><font size="2" color="black" face="Verdana,Arial,Helvetica">drive available as sdb, so that I can reboot without the hard drive (and the </font></font><br>
<font size="2" color="black" face="Verdana,Arial,Helvetica"><font size="2" color="black" face="Verdana,Arial,Helvetica">thumb drive will now be sda).  The boot partition is sda1/sdb1. </font></font></blockquote><div><br><br>
You should be able to do the following (as root)<br><br>[blah@blah] # grub<br><br>   GNU GRUB  version 0.97  (640K lower / 3072K upper memory)<br><br>       [ Minimal BASH-like line editing is supported.   For<br>         the   first   word,  TAB  lists  possible  command<br>
         completions.  Anywhere else TAB lists the possible<br>         completions of a device/filename. ]<br><br>// First, tell grub the target root filesystem is on the first partition of the second disk<br>grub&gt; root (hd1,0)<br>
<br> Filesystem type is ext2fs, partition type 0xfd<br><br>// now tell grub to install the bootblock to the second disk<br>grub&gt; setup (hd1)<br><br> Checking if &quot;/boot/grub/stage1&quot; exists... yes<br> Checking if &quot;/boot/grub/stage2&quot; exists... yes<br>
 Checking if &quot;/boot/grub/e2fs_stage1_5&quot; exists... yes<br> Running &quot;embed /boot/grub/e2fs_stage1_5 (hd1)&quot;...  15 sectors are embedded.<br>succeeded<br> Running &quot;install /boot/grub/stage1 (hd1) (hd1)1+15 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst&quot;... succeeded<br>
Done.<br><br>grub&gt; quit<br><br>[blah@blah] #<br><br><br><br>If that doesn&#39;t work check /boot/grub/device.map (on the target drive) and make sure it has an entry for /dev/sdb<br></div>