Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing REAL gentoo system using vmware? [solved]
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
IvanZD
Apprentice
Apprentice


Joined: 04 Jul 2005
Posts: 166

PostPosted: Sat Nov 12, 2005 5:26 pm    Post subject: Installing REAL gentoo system using vmware? [solved] Reply with quote

Hi!

I have little strange idea. Let's say that you need to install gentoo on few pentium class (i586) boxes (not all the same), and that you do not want to use binary (stage 3) install. Compiling all of that takes long time, so I get idea - can I make use of vmware on my desktop machine somehow to install them inside vmware and then only transfer everything from it to hard disk? I can't use desktop PC for installing and then just swap hard disks because need this PC 24/7 working.. can vmware do that?

:D
_________________
http://www.meteoadriatic.net/


Last edited by IvanZD on Sun Nov 13, 2005 9:32 am; edited 1 time in total
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sat Nov 12, 2005 5:47 pm    Post subject: Reply with quote

If the machines all use the same arch and CFLAG values, install one and then make binary tbz2 packages and copy them to the other machines.
(Install using emerge -k packagname)
You should only have to make pertainant changes for each in their respective kernels and any additional packages needed for different hardware.
Back to top
View user's profile Send private message
IvanZD
Apprentice
Apprentice


Joined: 04 Jul 2005
Posts: 166

PostPosted: Sat Nov 12, 2005 6:01 pm    Post subject: Reply with quote

Hm, yes, but I don't need install a "serie" of P1 gentoo's now, but these are mostly routers for our wireless network, so I get hardware like that from time to time, and of course there is also updates in portage and some of them need different software.. my idea is just to speed up these installations (only me do installs of gentoo here :wink: ) because I'm little tired of spending few days on compiling base system on P1's.. next day I'll get one more box like that so I would like to experiment if I can use vmware for that (not really sure how but I think it should be possible.. just need some kind of "sending" installed software with dd command or similar to attached hard disk)..
_________________
http://www.meteoadriatic.net/
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Sat Nov 12, 2005 6:49 pm    Post subject: Reply with quote

That isn't the best way...

Try this:
1 ) Compile all system in a chroot (in your desktop)
2 ) compress new root with tar.
3 ) Start live-cd on pentium machine, start sshd.
4 ) Copy from desktop to pentium, by scp, the tar file.
5 ) uncompress tar in the pentium (/mnt/gentoo/).
6 ) chroot in /mnt/gentoo
7 ) Install grub.
8 ) Exit chroot and unmount partition.
9 ) Restart.

9 simple and easy steps. :wink:
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
IvanZD
Apprentice
Apprentice


Joined: 04 Jul 2005
Posts: 166

PostPosted: Sat Nov 12, 2005 7:11 pm    Post subject: Reply with quote

Excellent! Everything is clear except this:
thewally wrote:
Try this:
1 ) Compile all system in a chroot (in your desktop)

Can you give mi a brief hint? Do you mean to boot desktop with livecd or?

Thanks a lot!
_________________
http://www.meteoadriatic.net/
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Nov 12, 2005 9:19 pm    Post subject: Reply with quote

IvanZD wrote:
Do you mean to boot desktop with livecd or?

No, just boot your desktop normally. Any Linux distro should be able to do the job (booting with Gentoo is not necessary).

Then create a /mnt/gentoo directory to hold the system you are building.
Back to top
View user's profile Send private message
IvanZD
Apprentice
Apprentice


Joined: 04 Jul 2005
Posts: 166

PostPosted: Sun Nov 13, 2005 9:32 am    Post subject: Reply with quote

Thx guys :D
_________________
http://www.meteoadriatic.net/
Back to top
View user's profile Send private message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Fri Nov 25, 2005 1:21 am    Post subject: Reply with quote

whats the command to do a chroot on a already installed gentoo machine.

I ask because using the same command as in the manual gives me an error.

The command in the gentoo handbook is
Code:
chroot /mnt/gentoo /bin/bash

It then complains about not being able to find bash. Should that perhaps be /usr/bin/bash instead?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Nov 25, 2005 2:08 am    Post subject: Reply with quote

ChojinDSL wrote:
whats the command to do a chroot on a already installed gentoo machine.

chroot :wink:

I am assuming you have already extracted a stage tarball that is compatible with your architecture into /mnt/gentoo
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