Bug 5044 - lilo failed commande introuvable .. sh ligne 0 erreur d'ecriture / broken pipe
Summary: lilo failed commande introuvable .. sh ligne 0 erreur d'ecriture / broken pipe
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker major
Target Milestone: Mageia 2
Assignee: Pascal Terjan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 18:47 CET by mnaud mnaud
Modified: 2012-05-03 02:14 CEST (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
report.bug generate after the lilo trouble (131.13 KB, application/x-lzma)
2012-03-21 18:51 CET, mnaud mnaud
Details
screenshot (42.96 KB, image/jpeg)
2012-03-21 19:00 CET, mnaud mnaud
Details
pb_reboot.jpeg / pb on reboot after fresh install using latest netboot.iso 2_b3 (65.89 KB, image/jpeg)
2012-04-23 20:21 CEST, mnaud mnaud
Details
Mageia 2 Beta 3 failing on raid install (128.08 KB, image/png)
2012-04-27 16:35 CEST, Herbert Poetzl
Details
lilo trouble screenshot under mageia 2 RC (netboot install) (35.96 KB, image/jpeg)
2012-04-29 12:13 CEST, mnaud mnaud
Details

Description mnaud mnaud 2012-03-21 18:47:58 CET
Description of problem:

trying to install Mageia2 B2 on dual raid 1 system.
the graphic install bug's during the "amorçage" stage where it's can't find lilo binary

Version-Release number of selected component (if applicable):
Mageia 2 B2


How reproducible:

install from scratch with DVD of mageia 2 (Mageia-2-beta2-i586-DVD.iso md5: e77001b7121a64dd6422a6024315b1ae)

/boot on /dev/mdO (raid1 from sda1 & sdb1)
/ /home swap on /dev/md1 (VG & LV from raid1 with sda2 & sdb2)


Steps to Reproduce:
1.graphic installation from scratch with RAID1 on /boot (to force lilo choice)
2.
3.
mnaud mnaud 2012-03-21 18:48:23 CET

Severity: normal => major

Comment 1 mnaud mnaud 2012-03-21 18:51:24 CET
Created attachment 1814 [details]
report.bug generate after the lilo trouble
Comment 2 mnaud mnaud 2012-03-21 19:00:15 CET
Created attachment 1815 [details]
screenshot
Comment 3 Manuel Hiebel 2012-03-21 22:28:49 CET
missing in the iso: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/iso/cauldron/Mageia-2-beta2-i586/Mageia-2-beta2-i586-DVD.idx

(then I guess we will have the same error in the future livecd)

Priority: Normal => release_blocker
Assignee: bugsquad => ennael1
Summary: lilo failed commande introuvable .. sh ligne 0 erreur d'ecriture / broken pipe => lilo missing in the isos (was lilo failed commande introuvable .. )

Comment 4 Anne Nicolas 2012-03-21 22:48:57 CET
package added in dvd list
Comment 5 Anne Nicolas 2012-03-21 22:53:49 CET
Just checked isos content:

Mageia-2-beta2-i586/Mageia-2-beta2-i586-DVD.idx:Mageia-2-i586-beta2 lilo-23.2 (i586)
Mageia-2-beta2-i586/Mageia-2-beta2-i586-DVD.idx:Mageia-2-i586-beta2 lilo-doc-23.2 (i586)
Mageia-2-beta2-x86_64/Mageia-2-beta2-x86_64-DVD.idx:Mageia-2-x86_64-beta2 lilo-23.2 (x86_64)
Mageia-2-beta2-x86_64/Mageia-2-beta2-x86_64-DVD.idx:Mageia-2-x86_64-beta2 lilo-doc-23.2 (x86_64)
Comment 6 Manuel Hiebel 2012-03-21 23:15:48 CET
oups wrong query

CC: (none) => pterjan
Assignee: ennael1 => thierry.vignaud
Summary: lilo missing in the isos (was lilo failed commande introuvable .. ) => lilo failed commande introuvable .. sh ligne 0 erreur d'ecriture / broken pipe

Comment 7 Dave Hodgins 2012-03-22 00:41:07 CET
/i586/media/core/lilo-23.2-2.mga1.i586.rpm is on the dvd.

lzcat report.bug.lzma |grep lilo
* preferring grub over lilo
* bootloader::suggest_onmbr: type lilo, onmbr 1, unsafe 1
* writing lilo config to /mnt/etc/lilo.conf
* running: echo  | lilo  with root /mnt
* error: lilo failed: sh: lilo : commande introuvable
* lilo.conf
# WARNING: do not forget to run lilo after modifying this file

Note that the lilo package has not been installed.

CC: (none) => davidwhodgins

Comment 8 Anne Nicolas 2012-04-04 09:28:46 CEST
ping Thierry ?

CC: (none) => ennael1

Comment 9 Pascal Terjan 2012-04-06 00:51:13 CEST
If I read correctly the log, the problem is that configureX happens before any::installBootloader.
This would happen when someone wants to configure X in the summary while lilo is preferred (RAID1), as configuring X resolution updates bootloader config.

We don't want to install bootloader before giving the opportunity (in the summary) to decide if it will go to MBR or another partition, but we should either ensure that packages are available in bootloader::install or install them in steps_interactive::setupBootloader
Pascal Terjan 2012-04-18 21:47:02 CEST

Assignee: thierry.vignaud => pterjan

Comment 10 mnaud mnaud 2012-04-18 22:39:18 CEST
same behaviour with a fresh install under 2_b3 
(ae0f7bc093161fb16cd17c3253db03da  Mageia-2-beta3-i586-DVD.iso)
Comment 11 Pascal Terjan 2012-04-18 23:54:30 CEST
Can you try configuring bootloader before X in the summary?
I will try to fix this tomorrow (or maybe Saturday) but I'm not sure I will have time.
Comment 12 mnaud mnaud 2012-04-23 20:20:21 CEST
seem to be better unsing latest netboot.iso to install 2_b3

lilo is installed and seem to be configured but another behaviour has appear the machine does not boot due to pb with initrd files ?
cf screenshot pb_reboot.jpeg
Comment 13 mnaud mnaud 2012-04-23 20:21:28 CEST
Created attachment 2081 [details]
pb_reboot.jpeg / pb on reboot after fresh install using latest netboot.iso 2_b3
Comment 14 mnaud mnaud 2012-04-23 20:31:54 CEST
i don't know where to report this behavior so i have "cross posted" in bug id
1955
(cf https://bugs.mageia.org/show_bug.cgi?id=1955).
Comment 15 Herbert Poetzl 2012-04-27 16:35:55 CEST
Created attachment 2123 [details]
Mageia 2 Beta 3 failing on raid install

# qemu-img create -f qcow2 mga2b3_d0.qcow2 4G
# qemu-img create -f qcow2 mga2b3_d1.qcow2 4G
# qemu-kvm -m 1024 -hda mga2b3_d0.qcow2 -hdb mga2b3_d1.qcow2 -cdrom Mageia-2-beta3-x86_64-DVD.iso --boot d

then create two raid partitions, one on each disk, and add them to a raid 1
partition and install as usual ...
Herbert Poetzl 2012-04-27 16:36:27 CEST

CC: (none) => herbert
Hardware: i586 => All
Target Milestone: --- => Mageia 2

Comment 16 mnaud mnaud 2012-04-29 12:11:23 CEST
same behavior under 2 RC (netboot install) cf attachment
Comment 17 mnaud mnaud 2012-04-29 12:13:16 CEST
Created attachment 2134 [details]
lilo trouble screenshot under mageia 2 RC (netboot install)
Comment 18 Pascal Terjan 2012-04-30 00:49:20 CEST
Actually, we should not update bootloader when configuring X during install. This may write to people's MBR even if the later chose to install bootloader somewhere else.
Given that we will anyway install bootloader when leaving summary, we should just skip it before.
Comment 19 Guillaume Rousse 2012-05-02 23:13:01 CEST
According to tmb, a fix has been commited.

CC: (none) => guillomovitch

Comment 20 Pascal Terjan 2012-05-03 02:14:11 CEST
Yes indeed, configuring X will no longer install the bootloader

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.