FS#25477 - Installer on netinstall sets grub to kernel26 when it gets linux-3.0.1

Attached to Project: Release Engineering
Opened by Pedro Filipe Duarte Mesquita Pinto (pedrofdmp) - Tuesday, 09 August 2011, 13:26 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Wednesday, 10 August 2011, 18:15 GMT
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To Dieter Plaetinck (Dieter_be)
Architecture All
Severity High
Priority Normal
Reported Version 2010.05
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description: The installer sets grub to vmlinuz-26 when it should be vmlinuz-linux for the 3.0.1 kernel and then it won't boot (initrd is also incorrectly set).


Additional info:
installer
grub-0.97
kernel26
linux


Steps to reproduce:
Netinstall 2010.05
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Wednesday, 10 August 2011, 18:15 GMT
Reason for closing:  Fixed
Comment by Dieter Plaetinck (Dieter_be) - Tuesday, 09 August 2011, 13:38 GMT Comment by Karol Błażewicz (karol) - Tuesday, 09 August 2011, 16:16 GMT
Should we suggest users who want to use the official iso to pick an outdated mirror that still has kernel26?
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 10 August 2011, 07:13 GMT
No, that's not a good solution.
But the new linux package should make symlinks so that old-style bootloader configs still work, so why does this not happen?
Comment by Ionut Biru (wonder) - Wednesday, 10 August 2011, 07:26 GMT
because when linux is installed it checks to see if the configuration still has the old schema and it doesn't because grub configuration is done after packages are installed.

but with Netinstall 2010.05 you cannot even manage to continue the installation to reach grub because at Configure mkinitcpio will fail since the linux preset was renamed as well from kernel26 to linux
Comment by Thomas Bächler (brain0) - Wednesday, 10 August 2011, 08:01 GMT
Dieter, the compat symlinks were never intended for new installations. Our new test ISOs handle this fine, we just need to actually release on of them.
Comment by Tom Yan (tom_yan) - Wednesday, 10 August 2011, 08:03 GMT
I've found that the problem of mkinitcpio (just as what Biru mentioned) would only happen in an i686 install but not an x86_64 one. I did exactly the same thing by using the 2010.05 dual arch netinstall iso.
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 10 August 2011, 08:14 GMT
@Tom: huh? that's odd. The same problem should appear in x86_64
Comment by Thomas Bächler (brain0) - Wednesday, 10 August 2011, 11:14 GMT
Dieter, I guess AIF calls grub-install (or whatever grub-related script) to generate the grub config. There was an installation issue in core/grub which was fixed this morning.
Comment by Tom Yan (tom_yan) - Wednesday, 10 August 2011, 15:03 GMT
Yeah but I did the tests twice and the results were the same. Mkinitcpio was not generating images during the i686 installation.
Comment by Ionut Biru (wonder) - Wednesday, 10 August 2011, 15:04 GMT
works for me
Comment by Dieter Plaetinck (Dieter_be) - Wednesday, 10 August 2011, 18:15 GMT
So, newer images have the fix. Ionut confirmed. The thing to do now is release soonish.

Loading...