FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-07-2008, 03:23 PM
Allan Gottlieb
 
Default another grub problem: SOLVED

(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 <neil@digimed.co.uk> 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 <samson@guenther-roetgen.de> wrote:

> * Allan Gottlieb (gottlieb@nyu.edu) [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
 

Thread Tools




All times are GMT. The time now is 03:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org