Bug 240561 - x86_64 diskboot.img no longer works
x86_64 diskboot.img no longer works
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: anaconda (Show other bugs)
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Peter Jones
: Regression
Depends On:
  Show dependency treegraph
Reported: 2007-05-18 09:47 EDT by Richard Cunningham
Modified: 2010-10-22 11:09 EDT (History)
5 users (show)

See Also:
Fixed In Version: RHBA-2007-0816
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-15 11:36:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
experimental patch for mk-images.x86_64 (1.08 KB, patch)
2007-06-14 13:57 EDT, Bryn M. Reeves
no flags Details | Diff

  None (edit)
Description Richard Cunningham 2007-05-18 09:47:49 EDT
Description of problem:

Version-Release number of selected component (if applicable):
RedHat Enterprise 4 Update 5 WS x86_64 (regression - does not occur in earlier

How reproducible:
dd diskboot.img from the images directory on the first CD of RHEL4 U5 WS x86_64
to a usbdisk and try to boot from it

Steps to Reproduce:
1. dd if=diskboot.img of=/dev/sda
2. place usb key (sda) in USB drive of another machine
3. attempt to boot from it
Actual results:
SYSLINUX 2.11 2004-08-16  Copyright (C) 1994-2004 H. Peter Anvin
Could not find kernel image: linux
boot: _

Expected results:
Boot and show RedHat selection screen

Additional info:
If I mount the diskboot.img loopback I notice the following:

1. The image only has 2KB of free space (compared to 118K in Update 4)
2. The syslinux.cfg file is zero length
3. Fixing the syslinux.cfg by hand, causes the boot to continue slightly further
only to receive the following error:
Loading vmlinuz...
Loading initrd.img...
Decompressing Linux...

ran out of input data

 -- System halted
Comment 2 RHEL Product and Program Management 2007-05-23 06:44:26 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 3 RHEL Product and Program Management 2007-05-23 06:46:19 EDT
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.
Comment 9 Bryn M. Reeves 2007-06-14 13:46:30 EDT
Manually running mk-image for RHEL4.5/x86_64 seems to confirm this is a problem
with overrunning the hardcoded 6M image size:

cpio: ./isolinux/./syslinux-splash.png: No such file or directory
cpio: ./isolinux/./syslinux.cfg: No such file or directory
163840 pixels, 6000 bytes, (92.68% compression)
mv: cannot stat `./isolinux/syslinux.cfg': No such file or directory
mkdosfs 2.8 (28 Feb 2001)
cp: writing `./images/fobpath/vmlinuz': No space left on device
grep: write error: No space left on device
Comment 10 Bryn M. Reeves 2007-06-14 13:57:27 EDT
Created attachment 157025 [details]
experimental patch for mk-images.x86_64

Bump up the image size to 8M on x86_64. Boot tested & overcomes the initial
problem, i.e. the image is actually bootable. Also add some error checking to
make a failure copying files to the image fatal.
Comment 11 Bryn M. Reeves 2007-06-14 14:14:19 EDT
Manually hacking up the image to have the correct .buildstamp allows me to carry
out a RHEL4.5 x86_64 install via diskboot.img
Comment 13 Ram Rao 2007-07-17 14:57:30 EDT
Verified that replacing the rhel4u5 x86_64 supplied diskboot.img with the
patched diskboot.img:
fixes my syslinux based installation procedure.

Comment 18 James Laska 2007-10-24 12:25:50 EDT
VERIFIED with a 64M USB MicroAdv QuickiDrive stick on a bensley x86_64 using the
diskboot.img from RHEL4-U6-re20071017.0/x86_64/WS.

1) $ dd if=diskboot.img of=/dev/sdb
2) reboot
3) Presented with graphical boot option screen
Comment 20 errata-xmlrpc 2007-11-15 11:36:06 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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