FS#13057 - Use bootloader from the installed system
Attached to Project:
Release Engineering
Opened by Aaron Griffin (phrakture) - Friday, 30 January 2009, 23:38 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Saturday, 14 February 2009, 12:21 GMT
Opened by Aaron Griffin (phrakture) - Friday, 30 January 2009, 23:38 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Saturday, 14 February 2009, 12:21 GMT
|
Details
It looks like our current install uses the grub-install
command from OUTSIDE the installed system. We should
probably be using the grub from the newly installed system
(or lilo).
|
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Saturday, 14 February 2009, 12:21 GMT
Reason for closing: Fixed
Additional comments about closing: confirmed by http://www.archlinux.org/pipermail/arch- releng/2009-February/000327.html
Saturday, 14 February 2009, 12:21 GMT
Reason for closing: Fixed
Additional comments about closing: confirmed by http://www.archlinux.org/pipermail/arch- releng/2009-February/000327.html
any specific reason why it's better to chroot to the new system?
Current issue on x86_64 systems are affected cause the x86_64 version of grub-gfx wasn't on the same version as i686. This was reported on arch-releng ML (and the OP could solve it by rebuilding grub-gfx with all patches).
grub-gfx 0.97-7 on x86_64 lacks the bigger-inode size patch, that's the reason for not installing.
Generally i saw no advantage or disadvantage using the "inside" or "outside"(liveCD) bootloader to use - when they are on the same level. If we were using the "inside" we would have *this* mentioned problem (bad version on x86_64) also...
I have a quick look on our installer (I were unsure how we call what...) and see: we already use the "inside" grub to install bootloader:
$DESTDIR/sbin/grub-install --recheck --root-directory=$DESTDIR $ROOTDEV >/tmp/grub.log 2>&1
DESTDIR is /mnt.
But then the problem could not be grub-gfx...
//Edit: Sorry, my fault. grub-install is only a shell script which calls grub. And this is in the end /sbin/grub and so the grub-gfx binary...
FS#13070