* [gentoo-amd64] Can't install Grub 0.97-r5
@ 2008-05-07 8:34 alain.didierjean
2008-05-07 10:22 ` Raffaele BELARDI
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: alain.didierjean @ 2008-05-07 8:34 UTC (permalink / raw
To: gentoo-amd64
I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub allright.
But trying to install the new mbr gives:
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
Of course, /boot/grub/stage1 is there.
So I'm stuck with a half installed grub and dare not reboot. I re-emerged the
last version to no avail.
Any practical advice before I re-emerge previous grub version?
--
gentoo-amd64@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008-05-07 8:34 [gentoo-amd64] Can't install Grub 0.97-r5 alain.didierjean
@ 2008-05-07 10:22 ` Raffaele BELARDI
2008-05-07 13:43 ` Drake Donahue
2008-05-07 11:05 ` Volker Armin Hemmann
` (2 subsequent siblings)
3 siblings, 1 reply; 10+ messages in thread
From: Raffaele BELARDI @ 2008-05-07 10:22 UTC (permalink / raw
To: gentoo-amd64
On Wed, 2008-05-07 at 10:34 +0200, alain.didierjean@free.fr wrote:
> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub allright.
> But trying to install the new mbr gives:
> grub> root (hd0,0)
> Filesystem type is ext2fs, partition type 0x83
>
> grub> setup (hd0)
> Checking if "/boot/grub/stage1" exists... no
> Checking if "/grub/stage1" exists... no
>
> Error 15: File not found
>
> Of course, /boot/grub/stage1 is there.
>
> So I'm stuck with a half installed grub and dare not reboot. I re-emerged the
> last version to no avail.
> Any practical advice before I re-emerge previous grub version?
There was a related issue discussed on this list recently, search the
archives for email from Duncan with subject "boot Gentoo from USB key"
dated May, 2.
I don't know if this really applies to you, in my case I had that
problem on a newly formatted (USB) drive. Newer mkfs.ext2 by default
build 256 bytes I-nodes, and these are not recognized by grub. I
re-formatted the drive using 128 bytes I-nodes (option -I to mkfs.ext2),
and it ran smoothly. The symptoms were exactly as you describe, I could
see the stage* files on the disk with ls, but grub told me Error 15.
Did you re-create the filesystem on (hd0,0) recently? If so, you'll
probably have the 256 byte I-Nodes that grub doesn't like. You can check
I-node size with dumpe2fs.
raf
--
gentoo-amd64@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008-05-07 8:34 [gentoo-amd64] Can't install Grub 0.97-r5 alain.didierjean
2008-05-07 10:22 ` Raffaele BELARDI
@ 2008-05-07 11:05 ` Volker Armin Hemmann
2008-05-07 12:31 ` Beso
2008-05-07 13:58 ` Drake Donahue
2008-05-07 13:18 ` Andrew Long
2008-05-07 14:57 ` [gentoo-amd64] Can't install Grub 0.97-r5: SOLVED alain.didierjean
3 siblings, 2 replies; 10+ messages in thread
From: Volker Armin Hemmann @ 2008-05-07 11:05 UTC (permalink / raw
To: gentoo-amd64
On Mittwoch, 7. Mai 2008, alain.didierjean@free.fr wrote:
> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
> allright. But trying to install the new mbr gives:
> grub> root (hd0,0)
> Filesystem type is ext2fs, partition type 0x83
>
> grub> setup (hd0)
> Checking if "/boot/grub/stage1" exists... no
> Checking if "/grub/stage1" exists... no
>
> Error 15: File not found
>
> Of course, /boot/grub/stage1 is there.
>
> So I'm stuck with a half installed grub and dare not reboot. I re-emerged
> the last version to no avail.
> Any practical advice before I re-emerge previous grub version?
emmm... I did nothing when I updated grub - and it just worked fine....
--
gentoo-amd64@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008-05-07 11:05 ` Volker Armin Hemmann
@ 2008-05-07 12:31 ` Beso
2008-05-07 14:00 ` Drake Donahue
2008-05-07 13:58 ` Drake Donahue
1 sibling, 1 reply; 10+ messages in thread
From: Beso @ 2008-05-07 12:31 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
2008/5/7 Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de>:
> On Mittwoch, 7. Mai 2008, alain.didierjean@free.fr wrote:
> > I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
> > allright. But trying to install the new mbr gives:
> > grub> root (hd0,0)
> > Filesystem type is ext2fs, partition type 0x83
> >
> > grub> setup (hd0)
> > Checking if "/boot/grub/stage1" exists... no
> > Checking if "/grub/stage1" exists... no
> >
> > Error 15: File not found
> >
> > Of course, /boot/grub/stage1 is there.
> >
> > So I'm stuck with a half installed grub and dare not reboot. I
> re-emerged
> > the last version to no avail.
> > Any practical advice before I re-emerge previous grub version?
>
> emmm... I did nothing when I updated grub - and it just worked fine....
> --
> gentoo-amd64@lists.gentoo.org mailing list
>
> you have left the old version in use. to fully update grub not only you
need to update it via portage but also you should reinstall the bootloader.
maybe portage does it itself but i'm not sure about this last affirmation.
--
dott. ing. beso
[-- Attachment #2: Type: text/html, Size: 1704 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008-05-07 8:34 [gentoo-amd64] Can't install Grub 0.97-r5 alain.didierjean
2008-05-07 10:22 ` Raffaele BELARDI
2008-05-07 11:05 ` Volker Armin Hemmann
@ 2008-05-07 13:18 ` Andrew Long
2008-05-07 14:31 ` Drake Donahue
2008-05-07 14:57 ` [gentoo-amd64] Can't install Grub 0.97-r5: SOLVED alain.didierjean
3 siblings, 1 reply; 10+ messages in thread
From: Andrew Long @ 2008-05-07 13:18 UTC (permalink / raw
To: gentoo-amd64
On Wed, May 7, 2008 at 4:34 AM, <alain.didierjean@free.fr> wrote:
>
> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub allright.
> But trying to install the new mbr gives:
> grub> root (hd0,0)
> Filesystem type is ext2fs, partition type 0x83
>
> grub> setup (hd0)
> Checking if "/boot/grub/stage1" exists... no
> Checking if "/grub/stage1" exists... no
>
> Error 15: File not found
>
> Of course, /boot/grub/stage1 is there.
>
> So I'm stuck with a half installed grub and dare not reboot. I re-emerged the
> last version to no avail.
> Any practical advice before I re-emerge previous grub version?
>
> --
> gentoo-amd64@lists.gentoo.org mailing list
>
>
Is /boot mounted?
--
gentoo-amd64@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008-05-07 10:22 ` Raffaele BELARDI
@ 2008-05-07 13:43 ` Drake Donahue
0 siblings, 0 replies; 10+ messages in thread
From: Drake Donahue @ 2008-05-07 13:43 UTC (permalink / raw
To: gentoo-amd64
----- Original Message -----
From: "Raffaele BELARDI" <raffaele.belardi@st.com>
To: <gentoo-amd64@lists.gentoo.org>
Sent: Wednesday, May 07, 2008 6:22 AM
Subject: Re: [gentoo-amd64] Can't install Grub 0.97-r5
> On Wed, 2008-05-07 at 10:34 +0200, alain.didierjean@free.fr wrote:
>> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
>> allright.
>> But trying to install the new mbr gives:
>> grub> root (hd0,0)
>> Filesystem type is ext2fs, partition type 0x83
>>
>> grub> setup (hd0)
>> Checking if "/boot/grub/stage1" exists... no
>> Checking if "/grub/stage1" exists... no
>>
>> Error 15: File not found
>>
>> Of course, /boot/grub/stage1 is there.
>>
>> So I'm stuck with a half installed grub and dare not reboot. I re-emerged
>> the
>> last version to no avail.
>> Any practical advice before I re-emerge previous grub version?
>
> There was a related issue discussed on this list recently, search the
> archives for email from Duncan with subject "boot Gentoo from USB key"
> dated May, 2.
>
> I don't know if this really applies to you, in my case I had that
> problem on a newly formatted (USB) drive. Newer mkfs.ext2 by default
> build 256 bytes I-nodes, and these are not recognized by grub. I
> re-formatted the drive using 128 bytes I-nodes (option -I to mkfs.ext2),
> and it ran smoothly. The symptoms were exactly as you describe, I could
> see the stage* files on the disk with ls, but grub told me Error 15.
>
> Did you re-create the filesystem on (hd0,0) recently? If so, you'll
> probably have the 256 byte I-Nodes that grub doesn't like. You can check
> I-node size with dumpe2fs.
Grub 0.97.5 handles 256 inodes.
Handling 256 inodes was a major reason that 0.97.5 was written.
>
> raf
>
> --
> gentoo-amd64@lists.gentoo.org mailing list
>
--
gentoo-amd64@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008-05-07 11:05 ` Volker Armin Hemmann
2008-05-07 12:31 ` Beso
@ 2008-05-07 13:58 ` Drake Donahue
1 sibling, 0 replies; 10+ messages in thread
From: Drake Donahue @ 2008-05-07 13:58 UTC (permalink / raw
To: gentoo-amd64
----- Original Message -----
From: "Volker Armin Hemmann" <volker.armin.hemmann@tu-clausthal.de>
To: <gentoo-amd64@lists.gentoo.org>
Sent: Wednesday, May 07, 2008 7:05 AM
Subject: Re: [gentoo-amd64] Can't install Grub 0.97-r5
> On Mittwoch, 7. Mai 2008, alain.didierjean@free.fr wrote:
>> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
>> allright. But trying to install the new mbr gives:
>> grub> root (hd0,0)
>> Filesystem type is ext2fs, partition type 0x83
>>
>> grub> setup (hd0)
>> Checking if "/boot/grub/stage1" exists... no
>> Checking if "/grub/stage1" exists... no
>>
>> Error 15: File not found
>>
>> Of course, /boot/grub/stage1 is there.
>>
>> So I'm stuck with a half installed grub and dare not reboot. I re-emerged
>> the last version to no avail.
>> Any practical advice before I re-emerge previous grub version?
>
> emmm... I did nothing when I updated grub - and it just worked fine....
same here on two systems. Did a reboot to test before reinstalling grub.
I think the situation being warned about is one in which:
a) /boot filesystem is added or is remade as ext2/ext3 with inode_size=256
and
b) the failure to reinstall grub has left the old stages 1, (1.5), and 2 in
place in the MBR which will fail to handle the inode_size=256 file system.
> --
> gentoo-amd64@lists.gentoo.org mailing list
>
--
gentoo-amd64@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008-05-07 12:31 ` Beso
@ 2008-05-07 14:00 ` Drake Donahue
0 siblings, 0 replies; 10+ messages in thread
From: Drake Donahue @ 2008-05-07 14:00 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]
----- Original Message -----
From: Beso
To: gentoo-amd64@lists.gentoo.org
Sent: Wednesday, May 07, 2008 8:31 AM
Subject: Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008/5/7 Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de>:
On Mittwoch, 7. Mai 2008, alain.didierjean@free.fr wrote:
> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
> allright. But trying to install the new mbr gives:
> grub> root (hd0,0)
> Filesystem type is ext2fs, partition type 0x83
>
> grub> setup (hd0)
> Checking if "/boot/grub/stage1" exists... no
> Checking if "/grub/stage1" exists... no
>
> Error 15: File not found
>
> Of course, /boot/grub/stage1 is there.
>
> So I'm stuck with a half installed grub and dare not reboot. I re-emerged
> the last version to no avail.
> Any practical advice before I re-emerge previous grub version?
emmm... I did nothing when I updated grub - and it just worked fine....
--
gentoo-amd64@lists.gentoo.org mailing list
you have left the old version in use. to fully update grub not only you need to update it via portage but also you should reinstall the bootloader. maybe portage does it itself but i'm not sure about this last affirmation.
confirm that the last affirmation is true
dott. ing. beso
[-- Attachment #2: Type: text/html, Size: 3153 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5
2008-05-07 13:18 ` Andrew Long
@ 2008-05-07 14:31 ` Drake Donahue
0 siblings, 0 replies; 10+ messages in thread
From: Drake Donahue @ 2008-05-07 14:31 UTC (permalink / raw
To: gentoo-amd64
----- Original Message -----
From: "Andrew Long" <jandrewlong@gmail.com>
To: <gentoo-amd64@lists.gentoo.org>
Sent: Wednesday, May 07, 2008 9:18 AM
Subject: Re: [gentoo-amd64] Can't install Grub 0.97-r5
> On Wed, May 7, 2008 at 4:34 AM, <alain.didierjean@free.fr> wrote:
>>
>> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
>> allright.
>> But trying to install the new mbr gives:
>> grub> root (hd0,0)
>> Filesystem type is ext2fs, partition type 0x83
>>
>> grub> setup (hd0)
>> Checking if "/boot/grub/stage1" exists... no
>> Checking if "/grub/stage1" exists... no
>>
>> Error 15: File not found
>>
>> Of course, /boot/grub/stage1 is there.
>>
>> So I'm stuck with a half installed grub and dare not reboot. I
>> re-emerged the
>> last version to no avail.
>> Any practical advice before I re-emerge previous grub version?
>>
>> --
>> gentoo-amd64@lists.gentoo.org mailing list
>>
>>
>
> Is /boot mounted?
Grub has made a guess as to which drive to call hd0. Perhaps it guessed
wrong?
running:
grub
find /boot/grub/stage1
will tell where grub sees the specified file
Unrelated thought:
if you had an inode_size problem the error would be:
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 2: Bad file or directory type
> --
> gentoo-amd64@lists.gentoo.org mailing list
>
--
gentoo-amd64@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-amd64] Can't install Grub 0.97-r5: SOLVED
2008-05-07 8:34 [gentoo-amd64] Can't install Grub 0.97-r5 alain.didierjean
` (2 preceding siblings ...)
2008-05-07 13:18 ` Andrew Long
@ 2008-05-07 14:57 ` alain.didierjean
3 siblings, 0 replies; 10+ messages in thread
From: alain.didierjean @ 2008-05-07 14:57 UTC (permalink / raw
To: gentoo-amd64
Selon alain.didierjean@free.fr:
>
> I emerged grub's last version. So stage 1, 1.5 & 2 are in /boot/grub
> allright.
> But trying to install the new mbr gives:
> grub> root (hd0,0)
> Filesystem type is ext2fs, partition type 0x83
>
> grub> setup (hd0)
> Checking if "/boot/grub/stage1" exists... no
> Checking if "/grub/stage1" exists... no
>
> Error 15: File not found
>
> Of course, /boot/grub/stage1 is there.
>
> So I'm stuck with a half installed grub and dare not reboot. I re-emerged the
> last version to no avail.
> Any practical advice before I re-emerge previous grub version?
>
> --
> gentoo-amd64@lists.gentoo.org mailing list
>
>
Stupid me. I have added an IDE disk since grub last update...
And now, my sda1 /boot partition is seen as (hd1).
The find command of grub solved it for me. I didn't know it before list's help
I guess I should RTFM. Thanks for the help, guys.
--
gentoo-amd64@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-05-07 14:58 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-07 8:34 [gentoo-amd64] Can't install Grub 0.97-r5 alain.didierjean
2008-05-07 10:22 ` Raffaele BELARDI
2008-05-07 13:43 ` Drake Donahue
2008-05-07 11:05 ` Volker Armin Hemmann
2008-05-07 12:31 ` Beso
2008-05-07 14:00 ` Drake Donahue
2008-05-07 13:58 ` Drake Donahue
2008-05-07 13:18 ` Andrew Long
2008-05-07 14:31 ` Drake Donahue
2008-05-07 14:57 ` [gentoo-amd64] Can't install Grub 0.97-r5: SOLVED alain.didierjean
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox