from virtual to physical
Hi, I made an acronis image of a virtual machine that is running off of VMware and i'm trying to move it to a physical machine.
The OS is redhat es 4 and the restoration works perfectly but when I go to boot up the machine it gets stuck at a screen that says grub, thats it... no more no less no error messages nothing. Just grub... any help would be appreciated. |
Can you tell that partitions were correctly created? Swap partiation available? (Sorry, just the first thought). Can you start with a Live CD and then mount the newly created partions? You may have to edit the /boot/grub/menu.lst (if it just says grub, maybe it is empty.)
|
Hey man thanks for the reply...
yeah the partitions were created correctly... turns out that because my disks are different now I needed to install grub by hand the just like it was the first time... but of course if its not one thing its another thing now that its booting up I'm getting this error message, this is redhat 4.2 mkrootdev: label / not found mount: error 2 mounting ext3 mount: error 2 mounting none switchroot: mount failed: 22 umount /initrd/dev failed: 2 Kernel Panic - not syncing: Attempted to kill init! |
Oh yeah I did a quick cat of fstab and I get this
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defualts 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 LABEL=swap /swap swap defaults 0 0 /dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed, 0 0 /dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed, 0 0 |
You may replace the LABEL= in
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 1 with the correct /dev/ entry. My fstab looks like this: /dev/sda7 swap swap defaults 0 0 /dev/sda8 / ext3 defaults 0 1 /dev/sda9 /home ext3 defaults 0 1 And then -- you may reconsider building a kernel with correct modules for the hardware your system is running on. |
Thanks, thats what I needed to do plus rebuild with the correct modules
|
All times are GMT -5. The time now is 03:08 PM. |