Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge from another pc
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
Cool_2
n00b
n00b


Joined: 08 Oct 2005
Posts: 13

PostPosted: Sun Oct 09, 2005 9:20 pm    Post subject: Emerge from another pc Reply with quote

Hi! I just installed Gentoo on an old P3 computer with no network card. I am trying to emerge kde from packages CD. So, when I write
Code:
emerge -k kde
it starts the compile but after a while it says that a file is missing and trying to download it. My question is, can I connect the hard disk with Gentoo in this pc(which has network card) to emerge kde and everything else I want and then put the HD on the other computer? And if yes, how am I going to do this? Thanks in advance!:)

Last edited by Cool_2 on Sun Oct 09, 2005 10:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Oct 09, 2005 9:29 pm    Post subject: Reply with quote

Cool_2,

You can do this is the newer computer has an upwards compatible processor. e.g. a fster P3, P4 or even some Athlons.

Put the drive from the P3 into the other PC, beside the drive(s) that are already there. Set the master/slave jumpers for its new home.

Boot the PC into Linux. Make a mount point /mnt/gentoo
Mount the P3 HDD root on /mnt/gentoo (remembering thats its not /dev/hda anu more. Mount any other partitions.
Do the chroot /mnt/gentoo /bin/bash followed by the other two lines from the handbook to set the environment.

Your P3 install is now running on tip of the host PCs kernel. emerge whatever you want.
_________________
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
Cool_2
n00b
n00b


Joined: 08 Oct 2005
Posts: 13

PostPosted: Sun Oct 09, 2005 10:46 pm    Post subject: Reply with quote

Because I am now making my first big steps in Linux, I am going to write what I understood. The pc I am writing now is a P4 with the network card attached to the ADSL router and I am running Suse Linux. What you are saying is to put the HD from the P3 machine in this one(P4), boot in Suse, run Terminal and
Code:
mount /dev/hda1 /mnt/gentoo
(it is going to be /dev/hda because the other HDs' are SATA ;)) and then
Code:
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile


Am I right?
Back to top
View user's profile Send private message
Cool_2
n00b
n00b


Joined: 08 Oct 2005
Posts: 13

PostPosted: Mon Oct 10, 2005 12:15 pm    Post subject: Reply with quote

Well, everything is ok. I am in Suse and I have chrooted to the Gentoo system. Now, how do I install the network card? Do I have to recompile the kernel? I just want it to work only for now.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Oct 10, 2005 6:46 pm    Post subject: Reply with quote

Cool_2,

The network should still work because you are running on top of the suse kernel.
To get name resolultion to work you will need to copy the suse /etc/resolv.conf to the gentoo one at /mnt/gentoo/resolv.conf
That step is in the Gentoo handbook.
Otherwise the network should be fine.
_________________
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
Cool_2
n00b
n00b


Joined: 08 Oct 2005
Posts: 13

PostPosted: Mon Oct 10, 2005 9:15 pm    Post subject: Reply with quote

Thanks, man!!! It works fine!!! Many many thanks! :D
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