Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to compile on a fast pc and install on a slow laptop?
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
Zr40
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2002
Posts: 76

PostPosted: Thu Jan 02, 2003 2:28 pm    Post subject: How to compile on a fast pc and install on a slow laptop? Reply with quote

Hi all.

I wanted to install Gentoo on my old laptop (P1 MMX 133MHz, 48MB RAM, 1.4GB HD) but there are three problems with it.
  1. It is way too slow to bootstrap.
  2. It has too little diskspace to compile KDE.
  3. Bootstrap fails after a day.
I've successfully installed Gentoo on a faster pc, and I want to use it to build the packages for the slow laptop.
I've read about creating binary packages, but I can't use that, because it will overwrite them with lesser -march settings on the fast pc. Is there an method to create the packages but prevent installation?
Back to top
View user's profile Send private message
hook
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1398
Location: Ljubljana, Slovenia

PostPosted: Thu Jan 02, 2003 2:38 pm    Post subject: Reply with quote

whew ...that's a tough one ...hmmm ...i could help you out with the kde problem :) ...try another smaller wm (icewm and fluxbox are nice)

about the bootstrap ...frankly i don't know how to solve this one :(
_________________
tea+free software+law=hook

(deep inside i'm still a tux's little helper)
Back to top
View user's profile Send private message
nipplehead
n00b
n00b


Joined: 09 Aug 2002
Posts: 35
Location: NYU

PostPosted: Thu Jan 02, 2003 4:02 pm    Post subject: chroot install Reply with quote

the "easiest" way would be to create a seperate chroot environment in which to create a whole new install on... e.g. (this is not exact, but the general idea):

1. mkdir /laptop_root
2. cp /path/to/stage1-x86-some-tarball-1.4_rc2.tar.bz /laptop_root
3. cd /laptop_root
4. tar -xvfzp stage1-some-tarball.tar.gz
5. chroot /laptop_root /bin/bash
6. Do the bootstrap/install/etc. w/ whatever flags, USE variables you want
7. Delete /var/tmp/portage/* and /usr/portage/distfiles/* to free up LOTS of room, hopefully enough to fit the whole install on the small hdd.
8. tar up and copy the completely new install from /laptop_root to the laptop via whatever means you may want (burn a CD, over the network, etc.)

That's the general approach i would take w/ this. i have yet to try this on my old pentium 100 laptop w/ 40MB of RAM, but i hope to soon.

hth,
-nip
_________________
System: Thinkpad T30, P4-m 1.8GHz, 1024MB RAM
To Do: winmodem. grr. lexmark 3200 = winprinter. grr.
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