(Summary: I had a problem with installing grub into the MBR.
Two thoughtful replies set me straight)

At Mon, 07 Jul 2008 08:46:34 +0100 Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Sun, 06 Jul 2008 20:02:08 -0400, Allan Gottlieb wrote:
>
>>     grub> find /boot/grub/stage1  
>>      (hd0,2)
>> 
>> As expected hd0 is the disk
>
> You should now run "root (hd0,2)"
>
>>     grub> setup (hd   <TAB>  
>>      Possible disks are:  hd0 hd1
>> 
>> Again confirming that hd0 is a valid disk (as is hd1, but that is an
>> external scsi that does not contain stage1)
>> 
>> But now comes the problem.  (I want grub in the MBR.)
>> 
>>     grub> setup (hd0)  
>> 
>>     Error 12: Invalid device requested
>> 
>> What is wrong?
>
> GRUB can't find its files because you haven't told it which partition
> contains them. Only the stage1 goes into the MBR, along with a pointer to
> the partition that contains everything else.

At Mon, 07 Jul 2008 08:47:44 +0200 Sebastian Günther <[EMAIL PROTECTED]> wrote:

> * Allan Gottlieb ([EMAIL PROTECTED]) [07.07.08 02:03]:
>>     grub> find /boot/grub/stage1
>>      (hd0,2)
>> 
>> As expected hd0 is the disk
>> 
>>     grub> setup (hd   <TAB>
>>      Possible disks are:  hd0 hd1
>> 
>> Again confirming that hd0 is a valid disk (as is hd1, but that is an
>> external scsi that does not contain stage1)
>> 
>> But now comes the problem.  (I want grub in the MBR.)
>> 
>>     grub> setup (hd0)
>> 
>> What is wrong?
>> 
> maybe you just forgot:
>
>    grub> root hd(hd0,2)
>
> to say grub where the stages should end up?

Thank you sebastian and neil for your clear responses, which worked
perfectly.

allan
--
gentoo-user@lists.gentoo.org mailing list

Reply via email to