Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Converting virtual Gentoo install to physical machine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
JustinH
n00b
n00b


Joined: 28 Jul 2006
Posts: 9

PostPosted: Wed Jul 23, 2008 6:27 pm    Post subject: Converting virtual Gentoo install to physical machine Reply with quote

While at work as an IT intern, I was bored with nothing to do. Over the past couple of days I have been installing Gentoo in VMWare Server (the free one) and it happened. I managed to do a Gentoo install and get KDE to install properly! As you can probably imagine, I am very excited right now, this probably chaulks me up to the 7th install of Gentoo I've attempted.

What I would absolutely love to do is go and take the virtual machine I've created, and possibly find a way to put it on a physical hard drive I could boot off my machine at home. If you guys know of anything that would be awesome. Or if worse comes to worse is there anyway to install VMWare Tools to boost performance?

Justin
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Wed Jul 23, 2008 6:43 pm    Post subject: Reply with quote

JustinH,

You can tar up the vmware server install, just like an install on a real hard drive, then untar the tarball in a new location.
As you will not have the hardware that vmware server prentends to have, you will need to redo the kernel to suit the installs new home, install grub to the MBR and fix grub.conf and /etc/fstab.

This process is called a stage4 and is well documented on the forums.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 729
Location: Winnipeg, Canada

PostPosted: Wed Jul 23, 2008 8:23 pm    Post subject: Reply with quote

see the following url. skip to the bottom for at a portable backup solution

https://forums.gentoo.org/viewtopic.php?p=5161245
Back to top
View user's profile Send private message
JustinH
n00b
n00b


Joined: 28 Jul 2006
Posts: 9

PostPosted: Wed Jul 23, 2008 11:21 pm    Post subject: Reply with quote

Thanks alot guys!

I'm really aggravated right now. This virtual machine (which was my mistake from the beginning) was running under Vista. So it crashed and I had to hard reboot it. That caused the virtual machine config file to get corrupted and loose all settings. I think I may have to reinstall grub as it appears all the files are still in tact. I'll find out when I go back to work tomorrow.

Thanks again everyone!

Justin
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Sat Jul 26, 2008 7:05 pm    Post subject: Reply with quote

How far were you in the install? If you can't revive the install try on the actual system and post for help if you need it. I'd always go for a clean start, although i can really understand you if had that much trouble. Trust me though i really don't understand anymore where i went wrong the first few times that didn't work and everything has been easy once i got it working once.
I really congratulate you for your persistence.
_________________
I'm a membar of Mesnar and me scull contains wakky secrets!
Back to top
View user's profile Send private message
JustinH
n00b
n00b


Joined: 28 Jul 2006
Posts: 9

PostPosted: Sun Jul 27, 2008 1:26 am    Post subject: Reply with quote

I was all the way through the install, had Kde working for the first time along with most of gnome done compiling. Ah well, probably just start all over with tomorrow.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54550
Location: 56N 3W

PostPosted: Sun Jul 27, 2008 11:53 am    Post subject: Reply with quote

JustinH,

You can still unpick the pieces, there are a few more steps now.
Boot a liveCD that has NTFS support. Read only is fine
mount the broken ntfs partition somewhere so you can see its contents
Copy your virtual machine file somewhere or, as its a disk image in a file, loopback mount its individual partitions
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
JustinH
n00b
n00b


Joined: 28 Jul 2006
Posts: 9

PostPosted: Sun Jul 27, 2008 12:44 pm    Post subject: Reply with quote

I suppose it would be better for my "education" in linux and virtual machines if I did actuall finish this project. Seeing as everything is on a work pc, I'll bring everything home tomorrow on my external hard drive. Thanks for all the help guys!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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