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.
I cloned a RHEL 3 system with clonezilla and restored the image to a vmware player 3.0.1 guest. when it boot, I got kernel panic message and it says it cannot mount root fs (see attachment)
Does this means that the guest do not have vmware player's scsi controller module? How do i get this to work?
What are the kernel load arguments? There's no BIOS detected at all, not even virtual.
You need to mount the image and fix the boot loader.
the boot parameter (as attached):
kernel /vmlinux-2.4.21-53.ELsmp ro root=LABEL=/
i also tried changing the scsi controller to ide controller and do the restoration again from the image which resulted in it cannot found /dev/sda5 (another attachment)
How do i mount the image and fix the boot loader? I already tried reinstalling GRUB but it did not work
Use a live cd image and do the boot order such that the vm boots from the iso and mounts the hd image.
Once that is setup, you will need to run the following commands.
Code:
$sudo -s <or> sudo su<This will get you to root>
# ls /dev <Look for hdX or sdX>
#fdisk /dev/(s or h)dX
:p
<look at the filesystem types and partitions>
:q
# mkdir /home/disk
#mount -t <fstype> -o rw /dev/mount /home/disk
<If succesful you will see another root prompt. If not try another fstype.>
#cd /home/disk/boot/grub
<Fix menu.lst and other configuration files here.>
<When finished exit out.>
Disk /dev/hda: 300.6 GB, 300647710720 bytes
255 heads, 63 sectors/track, 36551 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 138 1004062+ 82 Linux swap / Solaris
/dev/hda4 139 36453 291700237+ 5 Extended
/dev/hda5 139 24454 195318238+ 83 Linux
/dev/hda6 24455 36453 96381936 83 Linux
/dev/hda1: LABEL="/boot" UUID="6223abfd-b9b8-4ec4-9410-cd0ca1d4286e" TYPE="ext3"
/dev/hda5: LABEL="/" UUID="6d4164af-1fe9-4369-8f19-0e3708494775" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda6: LABEL="/mnt/data" UUID="9701d93e-00df-47aa-9537-a727216e80dc" SEC_TYPE="ext2" TYPE="ext3"
i believe you had seen the attachment sda5.png, from that message, it tries to find /dev/sda5 instead of /dev/hda5. How do i make it otherwise? Any special grub configuration? From what i can see, it boots from /dev/hda1 alright, but when it tried to fsck /dev/sda5, bootup failed because it is not there.
Here's the menu.lst
Code:
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux ES (2.4.21-53.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-53.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-53.ELsmp.img
title Red Hat Enterprise Linux ES (2.4.21-53.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-53.EL ro root=LABEL=/
initrd /initrd-2.4.21-53.EL.img
title Red Hat Enterprise Linux ES (2.4.21-4.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-4.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-4.ELsmp.img
title Red Hat Enterprise Linux ES-up (2.4.21-4.EL)
root (hd0,0)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/
initrd /initrd-2.4.21-4.EL.img
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.