* [gentoo-user] another grub problem
@ 2008-07-07 0:02 Allan Gottlieb
2008-07-07 2:15 ` [gentoo-user] " Allan Gottlieb
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Allan Gottlieb @ 2008-07-07 0:02 UTC (permalink / raw
To: gentoo-user
The newest update of grub from 0.97-r5 to 0.97-r6 contained the
*** IMPORTANT NOTE: you must run grub and install
the new version's stage1 to your MBR. Until you do,
stage1 and stage2 will still be the old version, but
later stages will be the new version, which could
cause problems such as an unbootable system.
Since this is only a change in the -r, I suspect that it is not
necessary to reinstall stage1, but I tried anyway and had trouble.
Since I thought I repeated steps that worked before, I am asking for
help/explanations.
I run grub and then the following dialog.
GNU GRUB version 0.97 (640K lower / 7168K upper memory)
[ Minimal BASH-like line editing is supported. For the first
word, TAB lists possible command completions. Anywhere else TAB
lists the possible completions of a device/filename. ]
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)
Error 12: Invalid device requested
What is wrong?
I should add that I am following directions for installing grub
natively, which is supposed to be done using a "GRUB boot disk". I
was trying it directly under gentoo, since I *think* that is what I
did last time.
I realize that the grub doc says that installing under the OS needs
grub-install. I don't think I did this because of the somewhat
frightening
*Caution:* This procedure is definitely less safe, because there
are several ways in which your computer can become unbootable. For
example, most operating systems don't tell GRUB how to map BIOS
drives to OS devices correctly--GRUB merely "guesses" the
mapping. This will succeed in most cases, but not
always. Therefore, GRUB provides you with a map file called the
"device map", which you must fix if it is wrong. *Note Device
map::, for more details.
However, if that is everyone's recommendation I will of course try it.
(I don't have a floppy drive. I do have a DVD+-RW, which naturally
works as a CDR. So could use this if I could figure out how to use
xcdroast to create it).
thanks,
allan
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: another grub problem
2008-07-07 0:02 [gentoo-user] another grub problem Allan Gottlieb
@ 2008-07-07 2:15 ` Allan Gottlieb
2008-07-07 15:23 ` [gentoo-user] Re: another grub problem: SOLVED Allan Gottlieb
2008-07-07 6:47 ` [gentoo-user] another grub problem Sebastian Günther
2008-07-07 7:46 ` Neil Bothwick
2 siblings, 1 reply; 5+ messages in thread
From: Allan Gottlieb @ 2008-07-07 2:15 UTC (permalink / raw
To: gentoo-user
At Sun, 06 Jul 2008 20:02:08 -0400 Allan Gottlieb <gottlieb@nyu.edu> wrote:
> The newest update of grub from 0.97-r5 to 0.97-r6 contained the
>
> *** IMPORTANT NOTE: you must run grub and install
> the new version's stage1 to your MBR. Until you do,
> stage1 and stage2 will still be the old version, but
> later stages will be the new version, which could
> cause problems such as an unbootable system.
>
> Since this is only a change in the -r, I suspect that it is not
> necessary to reinstall stage1, but I tried anyway and had trouble.
> Since I thought I repeated steps that worked before, I am asking for
> help/explanations.
>
> I run grub and then the following dialog.
>
> GNU GRUB version 0.97 (640K lower / 7168K upper memory)
>
> [ Minimal BASH-like line editing is supported. For the first
> word, TAB lists possible command completions. Anywhere else TAB
> lists the possible completions of a device/filename. ]
>
> 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)
>
> Error 12: Invalid device requested
>
> What is wrong?
I have now downloaded the 2008.0 livecd. I booted from it and ran
grub.
Again the find returns (hd0,2) and alas the setup (hd0) returns the
same error message.
allan
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] another grub problem
2008-07-07 0:02 [gentoo-user] another grub problem Allan Gottlieb
2008-07-07 2:15 ` [gentoo-user] " Allan Gottlieb
@ 2008-07-07 6:47 ` Sebastian Günther
2008-07-07 7:46 ` Neil Bothwick
2 siblings, 0 replies; 5+ messages in thread
From: Sebastian Günther @ 2008-07-07 6:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 697 bytes --]
* 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?
Sebastian
--
" Religion ist das Opium des Volkes. " Karl Marx
SEB@STI@N GÜNTHER mailto:samson@guenther-roetgen.de
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] another grub problem
2008-07-07 0:02 [gentoo-user] another grub problem Allan Gottlieb
2008-07-07 2:15 ` [gentoo-user] " Allan Gottlieb
2008-07-07 6:47 ` [gentoo-user] another grub problem Sebastian Günther
@ 2008-07-07 7:46 ` Neil Bothwick
2 siblings, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2008-07-07 7:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 837 bytes --]
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.
--
Neil Bothwick
Q. How do you identify a blind man in a nudist colony?
A. It's not hard.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: another grub problem: SOLVED
2008-07-07 2:15 ` [gentoo-user] " Allan Gottlieb
@ 2008-07-07 15:23 ` Allan Gottlieb
0 siblings, 0 replies; 5+ messages in thread
From: Allan Gottlieb @ 2008-07-07 15:23 UTC (permalink / raw
To: gentoo-user
(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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-07-07 15:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-07 0:02 [gentoo-user] another grub problem Allan Gottlieb
2008-07-07 2:15 ` [gentoo-user] " Allan Gottlieb
2008-07-07 15:23 ` [gentoo-user] Re: another grub problem: SOLVED Allan Gottlieb
2008-07-07 6:47 ` [gentoo-user] another grub problem Sebastian Günther
2008-07-07 7:46 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox