[CentOS] hard disk install failure

Timothy Murphy

gayleard at eircom.net
Mon Jun 6 22:19:05 UTC 2011


Has anybody successfully installed CentOS-

I tried (several times) installing CentOS-5.6 from a hard disk,
and each time it failed after installing all the rpms,
with the warning "The installation has tried to mount image #2,
but cannot find it on the hard drive."

When I pressed the Debug button one time after the failure,
it seemed to say that it was looking for the file in /dev/sdb7//ext2/
(/dev/sdb7 being the site of the DVD ISO).

But I'm not sure what "image #2" is? Or where it should be put?

Incidentally, I started by copying isolinux/vmlinuz and isolinux/initrd.img
to the the directory CentOS-5.6 in the /boot parition
of a working linux (Fedora) system, and adding the stanza
----------------------------
title CentOS-5.6
        root (hd0,1)
        kernel /CentOS-5.6/vmlinuz repo=hd:/dev/sdb5:/
        initrd /CentOS-5.6/initrd.img
----------------------------
The repo option was ignored, and I was asked if I wanted to install by FTP,
from Hard Disk, etc.

In the end I installed by http from my web-server, after
	mount -o loop CentOS-5.6-x86_64-bin-DVD-1of2.iso /var/www/html/
on the server .
This worked faultlessly, and seems to be by far the easiest way
to install CentOS or Fedora if a local web-server is available.



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the CentOS mailing list