Bug 11795 - stage1 (all.img) broken in current Cauldron
Summary: stage1 (all.img) broken in current Cauldron
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: release_blocker critical
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 11704
  Show dependency treegraph
 
Reported: 2013-11-27 14:58 CET by David Walser
Modified: 2014-01-24 18:17 CET (History)
4 users (show)

See Also:
Source RPM: drakx-installer-images-2.2-3.mga4.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2013-11-27 14:58:44 CET
I wrote all.img to a USB flash drive and attempted to boot with it and got:
Failed to load ldlinux.c32
Boot failed: please change disks and press a key to continue.

Reproducible: 

Steps to Reproduce:
David Walser 2013-11-27 14:59:27 CET

Blocks: (none) => 11704

Comment 1 Manuel Hiebel 2013-11-27 15:00:11 CET
boot.iso as cd work in my vm

Assignee: bugsquad => ennael1

Comment 2 David Walser 2013-11-27 15:10:35 CET
FWIW I ran it on real hardware, not a VM.

Dell Optiplex 990
Core i7-2600
Intel 6 Series/C200 chipset, with Sandy Bridge
Radeon HD 5450
Comment 3 David Walser 2013-11-27 15:23:04 CET
I tried writing boot.iso to the USB flash drive and trying to boot from it then it fails immediately, the system is not able to boot from it.
Comment 4 Frank Griffin 2013-11-27 15:25:57 CET
What did you use to write it ?  I think it has to be dd to the /dev/sdX as root.

CC: (none) => ftg

Comment 5 David Walser 2013-11-27 15:32:41 CET
Yes I know how to write the images with dd.
Comment 6 David Walser 2013-11-27 15:33:47 CET
I tried boot.iso as a CD on a VMWare VM and while the initial screen with the boot prompt is all corrupted, it does work.  So, if boot.iso is intended to work on USB flash drives, that's not currently working, otherwise it's OK save for the corrupted screen.  all.img is more fundamentally broken right now.
Comment 7 Colin Guthrie 2013-11-27 16:53:49 CET
Will take a look. The iso is created with isohybrid so it should, in theory at least, work fine on a USB stick, but perhaps the new syslinux doesn't like it. Dunno.

The all.img bit is likely my fault not copying in the correct syslinux files when I made that change.

CC: (none) => mageia

Comment 8 David Walser 2013-11-27 21:15:24 CET
Flash drive I was using appears to be faulty.  Writing boot.iso out to a different one does work, save for the corrupted screen, so other than that, it's really all.img that needs to be fixed (or possibly dropped as Manuel suggested).

Summary: stage1 (boot.iso/all.img) broken in current Cauldron => stage1 (all.img) broken in current Cauldron

David Walser 2014-01-23 21:43:39 CET

Priority: Normal => release_blocker

Comment 9 Anne Nicolas 2014-01-23 23:57:44 CET
Just opened all.img. It seems the size for the image is too small. See:

-rwxr-xr-x 1 root root      921 janv. 19 07:35 advanced.msg*
-rwxr-xr-x 1 root root 23453984 janv. 19 07:35 all.rdz*
-rwxr-xr-x 1 root root      959 janv. 19 07:35 help.msg*
-r-xr-xr-x 1 root root        0 janv. 19 07:35 ldlinux.c32*
-r-xr-xr-x 1 root root    59904 janv. 19 07:35 ldlinux.sys*
-rwxr-xr-x 1 root root      514 janv. 19 07:35 syslinux.cfg*
-rwxr-xr-x 1 root root  3581328 janv. 19 07:35 vmlinuz*

ldlinux.c32 has not been copied and all other syslinux modules are missing.
Anne Nicolas 2014-01-23 23:59:42 CET

CC: (none) => thierry.vignaud

Comment 10 Thierry Vignaud 2014-01-24 06:17:19 CET
You & Colin did the syslinux upgrade and the partial drakx-installer-images adaptation :-)

Assignee: ennael1 => mageia

Comment 11 Anne Nicolas 2014-01-24 09:18:34 CET
Thanks for this constructive answer

CC: (none) => ennael1

Comment 12 Mageia Robot 2014-01-24 11:39:34 CET
commit 55285b794819cf8e1b284b37e66a1afd8920fda6
Author: Colin Guthrie <colin@...>
Date:   Fri Jan 24 10:17:26 2014 +0000

    images: Provide a shortcut to build all.img
    
    mga#11795
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=55285b794819cf8e1b284b37e66a1afd8920fda6
Comment 13 Mageia Robot 2014-01-24 11:39:36 CET
commit 856a5f653d6ec7afeceda5f10277ca320fd17725
Author: Colin Guthrie <colin@...>
Date:   Fri Jan 24 10:37:52 2014 +0000

    images: Double syslinux overhead to 256. mga#11795
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=856a5f653d6ec7afeceda5f10277ca320fd17725
Comment 14 Anne Nicolas 2014-01-24 14:32:36 CET
tested here, it works ok now. Thanks Colin

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

Comment 15 Thierry Vignaud 2014-01-24 18:17:53 CET
(In reply to Anne Nicolas from comment #11)
> Thanks for this constructive answer

Are you serious?
You know better than me about syslinux and you did the upgrade?
I simply pointed that since you already did part of it, you
should be able to do the other half.

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