View Issue Details

IDProjectCategoryView StatusLast Update
0005118CentOS-5anacondapublic2011-11-22 14:01
Reportergcecchi Assigned To 
PriorityurgentSeveritycrashReproducibilityalways
Status assignedResolutionopen 
Platformi386OSCentOSOS Version5.7
Summary0005118: incorrect diskboot.img in CentOS 5.7 i386 dvd iso
Descriptiontrying to make a usb install on a thin client it seems I notice an
incorrect diskboot.img image in 5.7.

As soon as I boot from usb pen drive, I get an error
Could not find kernel image: linux

this depends on syslinux.cfg being empty

sha1sum of my dvd iso is correct
# sha1sum CentOS-5.7-i386-bin-DVD-1of2.iso
e0eab4dd77c3ecc73080428beaa4ffe28984dc4b CentOS-5.7-i386-bin-DVD-1of2.iso

# mount -o loop CentOS-5.7-i386-bin-DVD-1of2.iso /mnt/

# sha1sum /mnt/images/diskboot.img
0568258b34eda506e76801ea5bfd6b57cdd299bc /mnt/images/diskboot.img

# mount -o loop /mnt/images/diskboot.img /pp

on CentOS 5.7
under /pp I have:
total 12244
-rwxr-xr-x. 1 root root 292 Sep 5 11:53 boot.msg
-rwxr-xr-x. 1 root root 919 Sep 5 11:53 general.msg
-rwxr-xr-x. 1 root root 10450542 Sep 5 11:53 initrd.img
-rwxr-xr-x. 1 root root 10648 Sep 5 11:53 isolinux.bin
-r-xr-xr-x. 1 root root 9660 Sep 5 11:53 LDLINUX.SYS
-rwxr-xr-x. 1 root root 94600 Sep 5 11:53 memtest
-rwxr-xr-x. 1 root root 817 Sep 5 11:53 options.msg
-rwxr-xr-x. 1 root root 517 Sep 5 11:53 param.msg
-rwxr-xr-x. 1 root root 490 Sep 5 11:53 rescue.msg
-rwxr-xr-x. 1 root root 63803 Sep 5 11:53 splash.lss
-rwxr-xr-x. 1 root root 0 Sep 5 11:53 syslinux.cfg
-rwxr-xr-x. 1 root root 1892352 Sep 5 11:53 vmlinuz

while on CentOS 5.6
total 9562
-rwxr-xr-x. 1 root root 292 Mar 29 23:15 boot.msg
-rwxr-xr-x. 1 root root 919 Mar 29 23:15 general.msg
-rwxr-xr-x. 1 root root 7705221 Mar 29 23:15 initrd.img
-rwxr-xr-x. 1 root root 10648 Mar 29 23:15 isolinux.bin
-r-xr-xr-x. 1 root root 9660 Mar 29 23:15 LDLINUX.SYS
-rwxr-xr-x. 1 root root 94600 Mar 29 23:15 memtest
-rwxr-xr-x. 1 root root 817 Mar 29 23:15 options.msg
-rwxr-xr-x. 1 root root 517 Mar 29 23:15 param.msg
-rwxr-xr-x. 1 root root 490 Mar 29 23:15 rescue.msg
-rwxr-xr-x. 1 root root 63803 Mar 29 23:15 splash.lss
-rwxr-xr-x. 1 root root 340 Mar 29 23:15 syslinux.cfg
-rwxr-xr-x. 1 root root 1888052 Mar 29 23:15 vmlinuz

Tried to simply copy the syslinux.cfg from 5.6 and recreating
diskboot.img but as soon as there are some dots of the initrd phase,
just before the moment when I should see the kernel messages the pc
reboots itself.
it is a Dell thin client Optiplex FX160
Donna if it could be a problem with my hw or other kind of problems in
necessary files.....
Steps To Reproducedd diskboot.img from /images directory of CentOS 5.7 i386 dvd iso to an usb dik
boot from usb disk
you get an error about missing linux

Could not find kernel image: linux
Additional Informationsha1sum of my dvd iso is correct
# sha1sum CentOS-5.7-i386-bin-DVD-1of2.iso
e0eab4dd77c3ecc73080428beaa4ffe28984dc4b CentOS-5.7-i386-bin-DVD-1of2.iso

# mount -o loop CentOS-5.7-i386-bin-DVD-1of2.iso /mnt/

# sha1sum /mnt/images/diskboot.img
0568258b34eda506e76801ea5bfd6b57cdd299bc /mnt/images/diskboot.img

# mount -o loop /mnt/images/diskboot.img /pp

on CentOS 5.7
under /pp I have:
total 12244
-rwxr-xr-x. 1 root root 292 Sep 5 11:53 boot.msg
-rwxr-xr-x. 1 root root 919 Sep 5 11:53 general.msg
-rwxr-xr-x. 1 root root 10450542 Sep 5 11:53 initrd.img
-rwxr-xr-x. 1 root root 10648 Sep 5 11:53 isolinux.bin
-r-xr-xr-x. 1 root root 9660 Sep 5 11:53 LDLINUX.SYS
-rwxr-xr-x. 1 root root 94600 Sep 5 11:53 memtest
-rwxr-xr-x. 1 root root 817 Sep 5 11:53 options.msg
-rwxr-xr-x. 1 root root 517 Sep 5 11:53 param.msg
-rwxr-xr-x. 1 root root 490 Sep 5 11:53 rescue.msg
-rwxr-xr-x. 1 root root 63803 Sep 5 11:53 splash.lss
-rwxr-xr-x. 1 root root 0 Sep 5 11:53 syslinux.cfg
-rwxr-xr-x. 1 root root 1892352 Sep 5 11:53 vmlinuz

while on CentOS 5.6
total 9562
-rwxr-xr-x. 1 root root 292 Mar 29 23:15 boot.msg
-rwxr-xr-x. 1 root root 919 Mar 29 23:15 general.msg
-rwxr-xr-x. 1 root root 7705221 Mar 29 23:15 initrd.img
-rwxr-xr-x. 1 root root 10648 Mar 29 23:15 isolinux.bin
-r-xr-xr-x. 1 root root 9660 Mar 29 23:15 LDLINUX.SYS
-rwxr-xr-x. 1 root root 94600 Mar 29 23:15 memtest
-rwxr-xr-x. 1 root root 817 Mar 29 23:15 options.msg
-rwxr-xr-x. 1 root root 517 Mar 29 23:15 param.msg
-rwxr-xr-x. 1 root root 490 Mar 29 23:15 rescue.msg
-rwxr-xr-x. 1 root root 63803 Mar 29 23:15 splash.lss
-rwxr-xr-x. 1 root root 340 Mar 29 23:15 syslinux.cfg
-rwxr-xr-x. 1 root root 1888052 Mar 29 23:15 vmlinuz

Tried to simply copy the syslinux.cfg from 5.6 and recreating
diskboot.img but as soon as there are some dots of the initrd phase,
just before the moment when I should see the kernel messages the pc
reboots itself.
it is a Dell thin client Optiplex FX160
Donna if it could be a problem with my hw or other kind of problems in
necessary files.....
TagsNo tags attached.

Activities

kbsingh@karan.org

kbsingh@karan.org

2011-09-17 18:26

reporter   ~0013295

The problem seems to extend across both the OS/i386/images/diskboot.img as well as the diskboot.img shipped in the i386 DVD.
kbsingh@karan.org

kbsingh@karan.org

2011-09-18 01:21

reporter   ~0013300

Last edited: 2011-09-18 01:22

Can you test the diskboot image hosted here : http://people.centos.org/z00dax/57diskboot/ and let us know if it resolves all issues for you ?

sha256sum for the image is :
c702256e1e2c2d39dc2f13f89552d5c0e8db197035978da4204c18faf2d8d3b8 i386-diskboot-3.img

gcecchi

gcecchi

2011-09-19 14:01

reporter   ~0013312

I confirm that with this 18Mb sized diskboot.img file I can now successfully start installation on the same thin client reported above (Dell Optiplex FX160).
So it seems to solve the problem. Thanks!

Install completed successfully.

I noticed one possible "bug" in anaconda in 5.6 that fired me and seems to be still present in 5.7.

If you boot from usb key, it is seen as /dev/sdb while the internal hard disk is seen as /dev/sda correctly.
But by default, even if you set to ignore /dev/sdb (asked two times during install), when it arrives at grub install it defaults to install on MBR of sdb, so the usb key.... and if you don't take care, at the end you get an unbootable system...
The only way I found to force /dev/sda MBR for grub install is to select advanced grub options and select the tab where you have something related to swap drives names'....
And in this case installation correctly writes the MBR of the hard drive.

I think the normal user could find difficult, at first to detect the wrong automatically set /dev/sdb option for grub, and then to put correct setup in.....
Probably anaconda should guess that if you install on /dev/sda, probably you would like to set grub there too...
What do you think?
Or is this a bios related problem only for my particular client and not in general????
justinmwcoil

justinmwcoil

2011-09-26 06:49

reporter   ~0013389

I have noticed that the diskboot.img file is broken in the 5.7 x86_64 version of the iso as well. It does the same thing as reported above with the i386 version, the system trys to load the image and then reboots my server. I did not see any errors on the screen as it reloaded to fast for me to see any.
omo683

omo683

2011-11-22 14:01

reporter   ~0013806

I want to confirm that the diskboot.img for 5.7 x86_64 is broken too. After loading vmlinux and initrd the machine simply reboots, no kernel messages appear. Hardware ist Fujitsu RX200 S3 with latest firmware applied.

Issue History

Date Modified Username Field Change
2011-09-17 10:06 gcecchi New Issue
2011-09-17 17:43 kbsingh@karan.org Priority normal => urgent
2011-09-17 17:43 kbsingh@karan.org Severity feature => crash
2011-09-17 17:43 kbsingh@karan.org Category -OTHER => anaconda
2011-09-17 18:26 kbsingh@karan.org Note Added: 0013295
2011-09-17 18:26 kbsingh@karan.org Status new => confirmed
2011-09-18 01:21 kbsingh@karan.org Note Added: 0013300
2011-09-18 01:21 kbsingh@karan.org Status confirmed => feedback
2011-09-18 01:22 kbsingh@karan.org Note Edited: 0013300
2011-09-19 14:01 gcecchi Note Added: 0013312
2011-09-19 14:01 gcecchi Status feedback => assigned
2011-09-26 06:49 justinmwcoil Note Added: 0013389
2011-11-22 14:01 omo683 Note Added: 0013806