Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to P to V a gentoo box
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
l_walker
n00b
n00b


Joined: 29 Jan 2014
Posts: 2

PostPosted: Wed Jan 29, 2014 8:32 pm    Post subject: Trying to P to V a gentoo box Reply with quote

I'm a new sysadmin at my company and we are trying to move old physical servers to virtual ones using VMware. When it got to 97% it threw the following error.

FAILED: An error occurred during the conversion: 'GrubInstaller::InstallGrub: /usr/lib/vmware-converter/installGrub.sh failed with return code: 0, and message: Installing GRUB1 on (hd0)... GNU GRUB version 0.96 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 15:
File not found grub> '

So I did a lil poking an I see that grub is not installed and its using lilo. The clone is copied, but says

"Error loading operating system"

I would like to install grub on the orignal system and p to v it again and fix the one that has been cloned. I'm familiar with linux, mainly RHEL & Ubuntu, but not Gentoo...I need help :)
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7092
Location: Saint Amant, Acadiana

PostPosted: Wed Jan 29, 2014 8:44 pm    Post subject: Reply with quote

I've never tried this kind of move. However, if your Gentoo boxes have hand-crafted kernels as it is expected in Gentoo they may not run on emulated hardware. As for installing Grub, see http://www.gentoo.org/doc/en/handbook/
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
l_walker
n00b
n00b


Joined: 29 Jan 2014
Posts: 2

PostPosted: Wed Jan 29, 2014 9:05 pm    Post subject: Reply with quote

Is it possible to use a live CD to try and fix grub on the clone? I know you can in Ubuntu, but like I said, I'm unfamiliar with the inner workings of Gentoo.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7092
Location: Saint Amant, Acadiana

PostPosted: Wed Jan 29, 2014 9:08 pm    Post subject: Reply with quote

I can't see why not, boot your VM from some live Linux CD, chroot as in Handbook and do any changes you may need. Including but not limited to kernel configuration.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13845

PostPosted: Thu Jan 30, 2014 1:08 am    Post subject: Reply with quote

I agree, this should be easy to fix without modifying the original machine at all. P->V converters make sense for certain other operating systems that make it difficult to change the set of available drivers. For Linux, you could just as well boot a blank guest, make appropriate filesystems, copy in the files, install a VMware-aware kernel and bootloader, and call it done. This could even be done using a recent backup of the physical machine as your file source, so that the physical machine can remain in operation while you build. Assuming that 97% is a realistic measurement of its progress, it probably has done most of those steps for you and will be ready once you set up a bootloader and kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum