[CentOS] forcing linux kernel 3 to recognize cdrom as hdX

Manish Kathuria mkathuria at tuxtechnologies.co.in
Thu Aug 8 15:23:38 UTC 2013


On Thu, Aug 8, 2013 at 8:39 PM, Oguz Yilmaz <oguzyilmazlist at gmail.com>wrote:

> Hello,
>
> I have a problem with older version of anaconda linux installer. I have
> upgraded kernel in my distro, but, when this anaconda boot with new 3.4.52
> kernel, can NOT find cdrom. As far as I understand, this is because the new
> kernel recognize cd drive as srX, scdX instead of older hdX with 2.6.18. At
> the moment I can not upgrade anaconda and forced this kernel to recognize
> it as before.
>
> Are there any kernel command line argument, kernel config or something else
> for kernel 3.4.52 to recognize this cdrom as hdX?
>
> Best Regards,
>
> --
> Oguz YILMAZ
>

I think you need to write some udev rules to name the device differently.
Refer to the following:

https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html
http://www.linuxforu.com/2012/06/some-nifty-udev-rules-and-examples/
http://www.reactivated.net/writing_udev_rules.html

HTH,
-- 
Manish Kathuria



More information about the CentOS mailing list