Change SCSI to IDE in vmware player to avoid kernel panic during boot
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Change SCSI to IDE in vmware player to avoid kernel panic during boot
Hello Linux experts,
I have just restored a very old clonezilla image of redhat linux 9.0 Shrike in VMWare player. Of course, I got kernel panic during boot, because the original image is created on a machine with SCSI adapter and HDD.
During creation of VMWare guest, I have chosen IDE as a disk type. I have done so in a hope that linux has native support for IDE drives and it would be recognized during the first boot, but that didn't happen.
This machine has some proprietary application I need to start in order to obtain some data, so I need somehow to change the boot data and/or install support for IDE additionally in the virtual machine.
I do have an installation CD1 f redat linux 9.0 and if I choose linux rescure, the existing installation is recognized. I cannot reinstall linux because I don't want to lose data.
I guess I need to make manual changes in the fstab, modules.conf, grub.conf and perhaps other files.
The actual error message is shown in the attached picture. After that I would need to use makeinitrd command to rebuild linux ramdisk so it contains IDE driver.
How to proceed further? Any advice is greatly appreciated.
I don't see this as a problem of booting the old Linux system. Instead I think you should figure out how to run the old application on your current Linux system. Can you mount the image as a file system and then execute the application?
You restored the old image of redhat linux 9.0 Shrike from something. Did you mount that something as a file system? If so, could you run the application from the old mounted file system? Or could you copy the pertinent application files into your current Linux system?
If you can mount the old partitions which seems like you can then I might try installing RH9 as new then attaching the old image as a second disk. Try using chroot to switch to the old image and see if your application runs. It has been many years ago but I did find all three RH9 floppies disk images and installed it using VirtualBox.
If you can mount the old partitions which seems like you can then I might try installing RH9 as new then attaching the old image as a second disk. Try using chroot to switch to the old image and see if your application runs. It has been many years ago but I did find all three RH9 floppies disk images and installed it using VirtualBox.
Thank you for the reply. I did write that I have installation CDs and that problem is probably solvable by using "linux rescue" option from the installation CD. The question is what I really need to change in order to boot. The image is made on a machine with SCSI HDD and this driver is not recognized in the virtual environment i.e. virtual HDD is using different driver and that is a reason why there is a kernel panic during boot.
When I start cd installation disk and type chroot /mnt/sysimage I can browse folders, partitions etc. Somehow I need to "inject" IDE driver in initial RAM disk so the system can start.
It is not an option to install some new up to date system, there is a reason, why I need to use this approach.
I forgot that rescue automatically mounts the root partition. If there are other partitions you should be able to mount them too.
When you chroot you change the environment to that of the sysimage but your still using the rescue kernel so it should be the same as if you had booted from that drive so I don't know why you need to "inject" a hardware driver.
I forgot that rescue automatically mounts the root partition. If there are other partitions you should be able to mount them too.
When you chroot you change the environment to that of the sysimage but your still using the rescue kernel so it should be the same as if you had booted from that drive so I don't know why you need to "inject" a hardware driver.
Because I need to have a virtual machine that normal boots, so I that I don't need to use installation CD every time. all partitions in the restored machines are sdxxx because of scsi, but in IDE they should he hdxxx, so I already updated fstab file replacing sd with hd.
I also commented all lines in modules.conf that use scsi adapters.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.