[arch-releng] grub-gfx - Was: Dep cycles in core and 2009.01

Alexander De Sousa aphanic at archlinux.us
Sat Jan 31 15:11:52 EST 2009


On Sat, Jan 31, 2009 at 8:52 PM, Dieter Plaetinck <dieter at plaetinck.be>wrote:

> On Sun, 01 Feb 2009 01:52:52 +1000
> Allan McRae <allan at archlinux.org> wrote:
>
> > Gerardo Exequiel Pozzi wrote:
> > > Allan McRae wrote:
> > >
> > >> Gerhard Brauer wrote:
> > >>
> > >>> Am Sat, 31 Jan 2009 20:23:34 +1000
> > >>> schrieb Allan McRae <allan at archlinux.org>:
> > >>>
> > >>>
> > >>>
> > >>>> Would it be a good idea to move grub-gfx to [extra] if it is
> > >>>> being used on the installer?
> > >>>>
> > >>>>
> > >>> Hmm, abstain...
> > >>> First i wonder that we use a community package on/for installation
> > >>> sources, but it's only the grub-gfx package. So i have no problem
> > >>> belong this to community at all. (I also thought about
> > >>> maintaining a separate grub-gfx only for archiso...).
> > >>> I see the problem mainly on our testing procedure: this behavior
> > >>> must have be detected earlier - and not from a "beta
> > >>> tester"(Thanks Gerardo!), WE have had to detect this....
> > >>> (I detect it on i686 and initiate that this got fixed. Myself
> > >>> (only i686) don't look if x86_64 was rebuild also....
> > >>>
> > >>>
> > >> Can someone clarify what package the grub being installed onto the
> > >> users system is?   From the problems here, I am getting the
> > >> impression that it is the grub-gfx package.
> > >>
> > >> Allan
> > >>
> > >>
> > >>
> > >>
> > >>
> > > Hi
> > >
> > > In resume:
> > > * The package installed at:
> > >    the root-fs of ISO is grub-gfx.
> > >    the root of new user system $DESTDIR is grub, but...
> > >    the MBR/BOOT of the new system is grub-gfx because
> > > $DESTDIR/sbin/grub-install (script) uses /sbin/grub (bin) and not
> > > $DESTDIR/sbin/grub (bin)
> > >
> > > * Under x86_64 grub-gfx fails in ext2/3/4 FS since don't have latest
> > > patches that the i686 version have.
> > >
> > > May be, a chroot to $DESTDIR and install grub from here with
> > > grub-install, or use the old method from 2008.06 that uses grub
> > > binary directly.
> > > Or another solution.
> > >
> >
> > Thanks for the clarification.  I was concerned about grub-gfx being
> > installed to peoples systems by default but had not realized that
> > this was because of a bug.
> >
> > Allan
> >
> >
> >
> >
>
> So do I understand correctly...
>
> *problem 1*: grub-gfx vs grub:
> We can fix the problem that grub-gfx instead of grub is installed if we
> just chroot I think.
> Eg:
> chroot $DESTDIR /sbin/grub-install --recheck $ROOTDEV >/tmp/grub.log
> 2>&1
>
> But, this only affects 64bit right? or not? (because in my tests the
> grub didn't look very fancy..)  If so, can someone with a 64bit
> (virtual) machine change the above line in /arch/setup and test it?
> If okay, someone with access to archlinux-installer can fix the line
> and repackage.
>
> If I understand correctly, this problem is unrelated to the "slightly
> outdated grub package" problem ( see
> http://bugs.archlinux.org/task/13068 ), eg if it were not for problem
> 2, we wouldn't need to update the package.
>
>
> *problem 2*:
> Gerardo says "grub-gfx fails", this is the same as Alexanders problem,
> right? ("I'm afraid I confirm the grub bug. In x86_64 images grub isn't
> installed to the MBR of the chosen disk (when the boot partition is an
> extX, if it is reiserfs it works perfectly)").
>
> IIRC Gerardo already tried the new package , tested it and confirmed
> that it works.  So we just need to get it on the iso.
> See http://bugs.archlinux.org/task/13068
>
> Dieter
>
>
Hmm... I think both problems are the same... I'm a bit confused right now.

I'll try to perform an install changing that line in the script and I'll
tell you in some minutes what happens. In the other tests of the 64-bit
images, the problem I found was that when /boot is an extX partition, the
installation of the GRUB bootloader doesn't reach the point where it updates
the MBR of the chosen disk (the installation finishes without any problem,
as usual, with no error reported) (though I didn't verify it was really
installed, I'll do this time); and so not being able to even reach the GRUB
menu loader once the machine is rebooted.

I've also tried using an raiserfs based boot partition and it worked. That's
problem number 2 as far as I know, one of the grub packages, grub-gfx or
grub (right now I don't which one) is out of date regarding the ext4 and the
big inode patches.

Let's see if problem number 1 is solved just chroot'ing.

-- 
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.archlinux.org/pipermail/arch-releng/attachments/20090131/8bd84dc7/attachment-0001.htm>


More information about the arch-releng mailing list