|
From: Andrzej O. <an...@ma...> - 2009-09-11 10:28:55
|
Rowan Schischka wrote:
> Searching for Devil-linux CD-ROM
> checking /dev/ide/host0/bus0/target0/lun0/part1 mount failed
> checking /dev/ide/host0/bus0/target0/lun0/part2 mount failed
> checking /dev/ide/host0/bus0/target0/lun0/part3 mount failed
> !!! Devil-linux CD-ROM not found !!!
>
> Please check your Hardware!
>
> it is interesting that the error message says that the devil linux cd
> cannot be found even when booting from the devil linux cd! does any body
> know all the circumstances this OS would print this error message, i say
> this in regards to the fact that i have tried it on three different
> systems from different types/ages of computer hardware
It is normal. When booting, CD is read by BIOS program; motherboard BIOS or
controler card BIOS. BIOS was written for exactly known hardware, i.e.
motherboard BIOS know, how to read CD via south bridge IC.
After kernel loading, CD with rest of system programs must be mount for this
kernel as filesystem. This is work of script mount_cdrom from initrd. Look for
script fragment:
> if [ ! $silent ]; then
> echo "Searching for Devil-Linux CD-ROM"
> fi
>
> # generate list of cdroms from devfs
> DEVICES_IDE=`find /dev -name "hd?" 2> /dev/null`
> CDROM_SCSI=`find /dev -name "sr?" 2> /dev/null`
> CDROMS="$DEVICES_IDE $CDROM_SCSI"
>
> DEVICE_USER=`awk -v RS=' ' -v FS='=' '/^DL_device=/ { print $2 }' /proc/cmdline`
> DEVICE_USER_ONLY=`grep -c DL_device /proc/cmdline`
>
> if [ "$DEVICE_USER_ONLY" != "0" ]; then
> echo "Disabling automatic scanning for Devil-Linux iso image! Good Luck."
> CDROMS=$DEVICE_USER
> fi
>
> if [ ! $silent ]; then
> echo "Search list: $CDROMS"
> fi
>
> for disk in $CDROMS
> do
> echo -n "checking $disk "
> if /sbin/mount -n -t iso9660 -o ro $disk ${mountpoint} 2> /dev/null; then
> if [ -e ${mountpoint}/DEVIL-LINUX ] ; then
> if [ ! $silent ]; then
> echo -e "Found on $disk"
> fi
> echo $disk > /shm/DL_DEVICE
>
> # run from ram if correct variable is set
> run_from_ram --cdrom
>
> exit 0
> else
> echo "wrong media"
> /sbin/umount ${mountpoint}
> fi
> else
> echo "mount failed"
> fi
> done
As you can see, CD must be visible via kernel drivers. All IDE ans SCSI
devices are checked for presence of this CD, D-L was booted from. Checked are
all /dev/hd? and /dev/sr? devices. But in your case from this groups only IDE
hard disk was found and checked.
Probably all your boxes was configured in manner, so CD drive is not visible
as Linux device. It means, that in D-L kernel no driver for your CD
controller, so CD can not be mount.
There are many solutions. Try one of following:
-- connect CD drive to this same channel, as your
(visible for kernel) ID HD
-- replace CD drive (i.e. IDE to SATA or SATA to IDE)
-- if on motherboard are some numbers of SATA controller,
connect CD drive to other SATA controller
-- change SATA controller mode in BIOS setup, so it vill be
visible for actual kernel drivers
-- recompile kernel, adding divers correct for your devices
-- boot from USB mass storage device
Best Regards
--
Andrzej Odyniec
|