LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2009, 04:25 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 489

Rep: Reputation: 36
[RESOLVED]how to migrate centos5.2 guest on vmware to virtualbox?


I have a centos server 5.2 x86 on raw disk(sata) at vmware and want to migrate to virtualbox.

I have tried to load on virtualbox, but even remove vmwaretools and installed vboxlinuxadditions I could not load KDE. The xorg.conf is here.

Quote:
# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vmware"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


Section "InputDevice"
Identifier "VBoxMouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection

I think vmware drivers still exist and these setting causes serious problem.

Please let me know how I can solve this problem?

Last edited by windstory; 01-22-2009 at 11:54 AM.
 
Old 01-22-2009, 04:47 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Driver "vboxvideo"
instead of
Driver "vmware"
 
Old 01-22-2009, 04:49 AM   #3
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by Agrouf View Post
Driver "vboxvideo"
instead of
Driver "vmware"
Dear Agrouf,

Thank you for your kind reply.

I will try, and post here result.
 
Old 01-22-2009, 05:53 AM   #4
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Dear Agrouf,

Oh Yeah!!!!

It works!

And mouse pointer also move in and out of vbox!

But one more problem.
The network is still problem.

Ifconfig eth0 shows "inet addr" is "10.0.2.15".
How can I solve this problem?

I've set the virtualbox's network is NAT.

Quote:
Originally Posted by windstory View Post
Dear Agrouf,

Thank you for your kind reply.

I will try, and post here result.
 
Old 01-22-2009, 06:00 AM   #5
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Are you on DHCP?
What is the problem?
Can you ping 10.0.2.15?
Can you ping 10.0.2.2?
What does not work?
 
Old 01-22-2009, 06:11 AM   #6
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Dear Agrouf,

About dhcp, please confer this,

#service dhcpd restart
#starting dhcpd [failed]

And about ping 10.0.2.15, it works and gets value. [I could not copy it and paste here].

Please see this screen shot.
http://www.postimage.org/image.php?v=aV8ON2A



Quote:
Originally Posted by Agrouf View Post
Are you on DHCP?
What is the problem?
Can you ping 10.0.2.15?
Can you ping 10.0.2.2?
What does not work?
 
Old 01-22-2009, 06:14 AM   #7
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
you can do: dhcpcd eth0
or: dhclient eth0
But what is the problem exactly?
 
Old 01-22-2009, 06:24 AM   #8
windstory
Member
 
Registered: Nov 2008
Posts: 489

Original Poster
Rep: Reputation: 36
Wow thanks Agrouf!

Internet is browsing!

And abot your 2 question's screen shot is here.

http://www.postimage.org/image.php?v=gx4Aa2A

http://www.postimage.org/image.php?v=Pq6n7lA

Yeah, what I want is I have a homepage on this centos. So I want to run this server again.

I will try to change ip configuration of my server setting, and post here the result.

Quote:
Originally Posted by Agrouf View Post
you can do: dhcpcd eth0
or: dhclient eth0
But what is the problem exactly?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtualbox/VMWare XP Guest Memory Requirements gmcauley Linux - Software 6 10-12-2008 04:11 PM
virtualbox-guest-addition Slackbuilds ppr:kut Slackware 0 09-20-2008 04:52 PM
Compiling Virtualbox Guest Additions paulsiu DamnSmallLinux 5 11-19-2007 11:35 PM
Installation of RHEL guest on CentOS5 with Multple CDs kranthij123 Linux - Software 0 05-23-2007 03:48 PM
VT Guest problems with WinXP under RHEL5(Centos5) jfaberna Red Hat 1 04-26-2007 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration