| Summary: | Mageia 3 RC DVD x86-64 installer can not install bootloader (error: add_entry at /usr/lib/libDrakX/bootloader.pm line 656.) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Y.LE_NY <yleny> |
| Component: | Installer | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | laszlo.pajor, pablo.sartor, shailendertk, thierry.vignaud |
| Version: | 3 | Keywords: | NEEDINFO |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: |
report bug file created by "bug" command line
grub2 grub.cfg configuration file from my CAE Linux 2010 installation grub legacy menu entries file created by Mageia 3 installer |
||
|
Description
Y.LE_NY
2013-04-24 12:51:59 CEST
The same problem as http://www.pclinuxos.com/forum/index.php?topic=108995.0 ???? Created attachment 3822 [details]
report bug file created by "bug" command line
report bug file created by "bug" command line
error part in `setupBootloader' step : * starting step `setupBootloader' * to put in /mnt/etc/modprobe.preload cx8800, evdev * modify_append: nokmsboot resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * modify_append: nokmsboot splash quiet resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * modify_append: nokmsboot resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * modify_append: nokmsboot failsafe resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * running: /sbin/display_driver_helper --is-kms-allowed with root /mnt * modify_append: nokmsboot resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * modify_append: nokmsboot splash quiet resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * modify_append: nokmsboot resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * modify_append: nokmsboot failsafe resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * bootloader::suggest_onmbr: type grub, onmbr 1, unsafe 1 * current labels: linux windows Mandriva Linux (Official) Linux sda14 alt_Linux sda14 alt2_Linux sda14 alt3_Linux sda14 alt4_Linux sda14 alt5_Linux sda14 alt6_Linux sda14 alt7_Linux sda14 alt8_Linux sda14 alt9_Linux sda14 * looking for configured grub on partitions sda2 sda9 sda14 sdb5 sdb9 * find_root_parts found sda2: Mandriva Linux (Official) for i586 * found /etc/issue: Ubuntu 10.04.1 LTS (removed: \n \l) * find_root_parts found sdb9: Mandriva Linux (Official) for i586 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14 * weird case for grub conf in sda14, keeping '/' from sda14 * don't know what to do with Ubuntu 10.04.1 LTS (sda14) * current labels: linux windows Mandriva Linux (Official) Linux sda14 alt_Linux sda14 alt2_Linux sda14 alt3_Linux sda14 alt4_Linux sda14 alt5_Linux sda14 alt6_Linux sda14 alt7_Linux sda14 alt8_Linux sda14 alt9_Linux sda14 * entries Linux sda14 do not have same initrd: (hd0,1)/boot/initrd.img ne /boot/initrd.img-2.6.32-24-generic * entries alt_Linux sda14 do not have same linux: /boot/vmlinuz BOOT_IMAGE=Mandriva_Linux_2010.1_failsafe root=UUID=07b93c58-5e9c-45f0-8830-cc4d7c25a062 failsafe ne /boot/vmlinuz BOOT_IMAGE=linux root=UUID=07b93c58-5e9c-45f0-8830-cc4d7c25a062 resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa splash=silent vga=788 * entries alt2_Linux sda14 do not have same linux: /boot/vmlinuz BOOT_IMAGE=Mandriva_Linux_2010.1_nonfb root=UUID=07b93c58-5e9c-45f0-8830-cc4d7c25a062 resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa ne /boot/vmlinuz BOOT_IMAGE=Mandriva_Linux_2010.1_failsafe root=UUID=07b93c58-5e9c-45f0-8830-cc4d7c25a062 failsafe * entries alt3_Linux sda14 do not have same linux: /boot/vmlinuz BOOT_IMAGE=Mandriva_Linux_2010.1 root=UUID=07b93c58-5e9c-45f0-8830-cc4d7c25a062 resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa splash=silent vga=788 ne /boot/vmlinuz BOOT_IMAGE=Mandriva_Linux_2010.1_nonfb root=UUID=07b93c58-5e9c-45f0-8830-cc4d7c25a062 resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * entries alt4_Linux sda14 do not have same initrd: (hd0,9)/boot/initrd-2.6.35.1-desktop-1mnb.img ne (hd0,1)/boot/initrd.img * entries alt5_Linux sda14 do not have same initrd: (hd0,9)/boot/initrd.img ne (hd0,9)/boot/initrd-2.6.35.1-desktop-1mnb.img * entries alt6_Linux sda14 do not have same linux: /boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=02a64b7c-b7a4-4751-af85-b16643b6fe5c failsafe ne /boot/vmlinuz BOOT_IMAGE=linux root=UUID=02a64b7c-b7a4-4751-af85-b16643b6fe5c resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa splash=silent vga=788 * entries alt7_Linux sda14 do not have same linux: /boot/vmlinuz BOOT_IMAGE=Mandriva_Linux_20110_(Cooker)_- root=UUID=02a64b7c-b7a4-4751-af85-b16643b6fe5c resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa ne /boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=02a64b7c-b7a4-4751-af85-b16643b6fe5c failsafe * entries alt8_Linux sda14 do not have same linux: /boot/vmlinuz BOOT_IMAGE=Mandriva_Linux_20110_(Cooker)_- root=UUID=02a64b7c-b7a4-4751-af85-b16643b6fe5c resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa splash=silent vga=788 ne /boot/vmlinuz BOOT_IMAGE=Mandriva_Linux_20110_(Cooker)_- root=UUID=02a64b7c-b7a4-4751-af85-b16643b6fe5c resume=UUID=1f5ebdab-e9fa-4e58-919d-8f5a1d3442aa * entries alt9_Linux sda14 do not have same initrd: /boot/initrd.img-2.6.32-24-generic ne (hd0,9)/boot/initrd.img * step "setupBootloader" took: 0:00:07 * error: add_entry at /usr/lib/libDrakX/bootloader.pm line 656.
Y.LE_NY
2013-04-26 22:45:07 CEST
Summary:
Mageia 3 RC DVD x86-64 installer can not install bootloader =>
Mageia 3 RC DVD x86-64 installer can not install bootloader (error: add_entry at /usr/lib/libDrakX/bootloader.pm line 656.)
Y.LE_NY
2013-04-26 22:46:14 CEST
CC:
(none) =>
thierry.vignaud Could you attach your /boog/grub/menu.lst? Thx for the link (PCLinuxOs is a bad downstream that never contributed back...) Keywords:
(none) =>
NEEDINFO More information to find the bug : /mnt/caelinux/ is the partition for CAE Linux 2010 (CAE Linux 2010 source : http://www.caelinux.com/CMS/index.php?option=com_content&view=article&id=49:caelinux-2010&catid=69&Itemid=41= ). CAELinux 2010 is built on the basis of Ubuntu 10.04 LTS AMD64 distribution with the latest updates. GRUB 2 is the default boot loader and manager for Ubuntu since version 9.10 (Karmic Koala) (source : https://help.ubuntu.com/community/Grub2). (In reply to Thierry Vignaud from comment #4) > Could you attach your /boog/grub/menu.lst? In my folder /boot/grub (and /mnt/boot/grub in the bash 4.3 shell in Mageia 3 RC installer), I have NO /boog/grub/menu.lst file. I think that the Mageia 3 RC installer can not create it. The only file that I have in /boot/grub folder is : /boot/grub/menu.lst.example , 1099 bytes, date 20 january 2013, hour 22h53 ; > Thx for the link (PCLinuxOs is a bad downstream that never contributed > back...) OK @Thierry Do you want more information to fix this bug ? Do you want that I will do some command line and give you the results ? For me, this bug is a big problem because I can not install Mageia 3 and I hope that it will be fixed before final release. Yes: does "drakboot --boot" works for you? If no, does changing " < 10" into " < 100" on line 627 in /usr/lib/libDrakX/bootloader.pm makes it work? Created attachment 3828 [details]
grub2 grub.cfg configuration file from my CAE Linux 2010 installation
grub2 grub.cfg configuration file from my CAE Linux 2010 installation that is in /mnt/caelinux//boot/grub/grub.cfg in sda14
Hello Thierry, I found a workaround for my problem and I have installed Mageia 3, but I think that you need to improve /usr/lib/libDrakX/bootloader.pm to avoid this problem for others users that have already a grub 2 installation on their harddisk and want to install Mageia 3. My workaround tip : 1) Window : bootloader preparation window, wait a moment.... 2) Window : Error window Message : "An error is occured : add_entry" 3) Now I go in the bash 4.2 shell terminal console by using the following keys with my keyboard : CTRL + ALT + F2 4) As you can see in my message in this ticket : " Y.LE_NY 2013-04-26 22:44:33 CEST ", I have the following error "* could not recognise the distribution for /mnt/caelinux//boot/grub/grub.cfg in sda14", then I choose to rename this file" in *.bak to avoid the bootloader.pm perl script find it : mv /mnt/caelinux/boot/grub/grub.cfg /mnt/caelinux/boot/grub/grub.cfg.BAK 5) I come back in the previous "Window : Error window" with the keyboard keys : CTRL+ALT+F7 6) I click on the button "OK" in this error page and now all works fine and Mageia 3 installer can install the bootloader with no problems. For you, Thierry, and to avoid this problem for others users that have already a grub 2 installation on their harddisk and want to install Mageia 3, what is it the best improvement ? * rename all Grub2 grub.cfg files on the user harddisk in grub.cfg.BAK files or * ignore all Grub2 grub.cfg files on the user harddisk that are not in the / (root) partition or filesystem used by Mageia 3. Note : With this workaround, Mageia 3 does not create a clean grub menu, this menu is polluted by erroneous entries. I will send you this file created by mageia 3 installer. I hope that this information will help you to have a better and strong bootloader.pm perl script, our goal : Mageia at the first place at distrowatch.com. Created attachment 3829 [details]
grub legacy menu entries file created by Mageia 3 installer
grub legacy menu entries file created by Mageia 3 installer
Mageia 3 does not create a clean grub menu, this menu is polluted by erroneous entries.
I will send you this file created by mageia 3 installer.
Thierry Vignaud
2013-04-27 16:45:53 CEST
Attachment 3829 mime type:
application/octet-stream =>
text/plain
Thierry Vignaud
2013-04-27 16:46:03 CEST
Attachment 3828 mime type:
application/octet-stream =>
text/plain What about what I asked in comment #8? - rename back your grub2 config without .bak, - save your menu.lst: "mv /boot/grub/menu.lst{,.OK}" - try running "drakboot --boot" Fixed in SVN Status:
NEW =>
RESOLVED (In reply to Thierry Vignaud from comment #8) > Yes: does "drakboot --boot" works for you? Yes after installing Mageia 3. See below. >If no, does changing " < 10" into " < 100" on line 627 in /usr/lib/libDrakX >/bootloader.pm makes it work? I did no test with value 100. (In reply to Thierry Vignaud from comment #12) > What about what I asked in comment #8? > - rename back your grub2 config without .bak, OK, done > - save your menu.lst: "mv /boot/grub/menu.lst{,.OK}" OK, done > - try running "drakboot --boot" The results when choosing Grub 2 in the drakboot gui installer (installation process works fine in the gui without error) : [root@localhost grub]# drakboot --version Drakxtools version 15.44 [root@localhost grub]# drakboot --boot cannot get info for device (7:0:0:0) at /usr/lib/libDrakX/detect_devices.pm line 222. cannot get info for device (7:0:0:0) at /usr/lib/libDrakX/detect_devices.pm line 222. cannot get info for device (7:0:0:0) at /usr/lib/libDrakX/detect_devices.pm line 222. cannot get info for device (7:0:0:0) at /usr/lib/libDrakX/detect_devices.pm line 222. cannot get info for device (7:0:0:0) at /usr/lib/libDrakX/detect_devices.pm line 222. cannot get info for device (7:0:0:0) at /usr/lib/libDrakX/detect_devices.pm line 222. cannot get info for device (7:0:0:0) at /usr/lib/libDrakX/detect_devices.pm line 222. Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 524. Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion `cell_view->priv->displayed_row != NULL' failed at /usr/lib/libDrakX/interactive/gtk.pm line 524. getting exclusive lock on rpm getting lock on urpmi using mirror http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64 examen de la liste de synthèse [/var/lib/urpmi/synthesis.hdlist.Core Release.cz] examen de la liste de synthèse [/var/lib/urpmi/synthesis.hdlist.Nonfree Release.cz] examen de la liste de synthèse [/var/lib/urpmi/Core Release2/synthesis.hdlist.cz] examen de la liste de synthèse [/var/lib/urpmi/Core Updates/synthesis.hdlist.cz] examen de la liste de synthèse [/var/lib/urpmi/Nonfree Release2/synthesis.hdlist.cz] examen de la liste de synthèse [/var/lib/urpmi/Nonfree Updates/synthesis.hdlist.cz] examen de la liste de synthèse [/var/lib/urpmi/Tainted Release/synthesis.hdlist.cz] examen de la liste de synthèse [/var/lib/urpmi/Tainted Updates/synthesis.hdlist.cz] examen de la liste de synthèse [/var/lib/urpmi/Core 32bit Release/synthesis.hdlist.cz] examen de la liste de synthèse [/var/lib/urpmi/Core 32bit Updates/synthesis.hdlist.cz] Pour satisfaire les dépendances, les paquetages suivants vont être installés : => ok(auto) found cdrom Core Release mounted in /media/Mageia-3 RC-x86_64 installation de os-prober-1.57-5.mga3.x86_64.rpm grub2-mageia-theme-2.00-41.mga3.x86_64.rpm grub2-2.00-41.mga3.x86_64.rpm depuis /media/Mageia-3 RC-x86_64/x86_64/media/core starting installing packages transaction créée pour l'installation sur / (remove=0, install=0, upgrade=3) Création de grub.cfg⦠Thème trouvé : /boot/grub2/themes/maggy/theme.txt Image Linux trouvée : /boot/vmlinuz-desktop Image mémoire initiale trouvée : /boot/initrd-desktop.img Image Linux trouvée : /boot/vmlinuz-3.8.10-desktop-1.mga3 Image mémoire initiale trouvée : /boot/initrd-3.8.10-desktop-1.mga3.img umount: /var/lib/os-prober/mount : cible occupée. (Dans certains cas, des renseignements sur les processus utilisant le périphérique sont accessibles avec lsof(8) ou fuser(1)) rmdir: échec de suppression de « /var/lib/os-prober/mount »: Périphérique ou ressource occupé rmdir: échec de suppression de « /var/lib/os-prober/mount »: Périphérique ou ressource occupé Windows NT/2000/XP trouvé sur /dev/sda1 Ubuntu 10.04.1 LTS (10.04) trouvé sur /dev/sda14 Mandriva Linux 2010.2 (2010.2) trouvé sur /dev/sda2 Mandriva Linux 2009.1 (2009.1) trouvé sur /dev/sdb9 fait unlocking urpmi database unlocking rpm database Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. If you want to list systemd services use 'systemctl list-unit-files'. To see services enabled on particular target use 'systemctl list-dependencies [target]'. Failed to issue method call: No such file or directory Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. If you want to list systemd services use 'systemctl list-unit-files'. To see services enabled on particular target use 'systemctl list-dependencies [target]'. |