Oguz Yilmaz
2013-Aug-08 15:09 UTC
[CentOS] forcing linux kernel 3 to recognize cdrom as hdX
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
Manish Kathuria
2013-Aug-08 15:23 UTC
[CentOS] forcing linux kernel 3 to recognize cdrom as hdX
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
Ljubomir Ljubojevic
2013-Aug-08 21:09 UTC
[CentOS] forcing linux kernel 3 to recognize cdrom as hdX
On 08/08/2013 05:09 PM, Oguz Yilmaz 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, >www.elrepo.org has working 3.x kernels. Why don't you try theirs? -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe StarOS, Mikrotik and CentOS/RHEL/Linux consultant
John R Pierce
2013-Aug-08 22:01 UTC
[CentOS] forcing linux kernel 3 to recognize cdrom as hdX
On 8/8/2013 8:09 AM, Oguz Yilmaz wrote:> 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?the treatment of "IDE" devices as a seperate /dev/hd* class was removed from the linux kernel quite a long time ago, now everything is mapped to 'SCSI' devices, /dev/sd* the anaconda in whatever older version you're running is not going to work with a newer kernel, you'll need a newer anaconda, and at this point, what you have no longer resembles CentOS -- john r pierce 37N 122W somewhere on the middle of the left coast