Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo on machine "A" using gentoo on machine "B"
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
Barracuz
n00b
n00b


Joined: 17 Mar 2015
Posts: 17
Location: R.I., United States

PostPosted: Thu Aug 13, 2015 9:59 pm    Post subject: Installing Gentoo on machine "A" using gentoo on m Reply with quote

Ok so I bought (for 25 bucks) an old Compaq Presario V5000-V5027nr.
I would like to install Gentoo on it but since it's an old computer I fear it will take ages with the single core 1.8ghz Celeron processor.

I remember reading a while back about installing Linux with another computer but I can't find the article or any good articles with a detailed write-up.

I do have an Asus q550lf that dual boots gentoo and windows. It took me a full day to get it setup the last time, kernel took 4mins to compile and chromium took about an hour. How exactly would I be able to use the Asus to install gentoo on the compaq? Via Ethernet cable? Compile the kernel on the Asus and transfer the kernel via usb? Swap the compaq hdd Into the Asus, compile and place it back in the compaq? Over wifi maybe?

Or should I simply ride it out and compile on the old piece of junk?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2585

PostPosted: Thu Aug 13, 2015 10:14 pm    Post subject: Reply with quote

This should be fairly simple. There are basically two ways to install assuming the processors are compatible. The first is to make an image of the system you want (with correct processor flags) inside a chroot on the more powerful machine and then use backup software (such as rnsnapshot or tar) to "backup" the image and "restore" it to the old computer.

Alternatively, you can make a normal install and use nfs or samba to share a packages directory and make a local binhost, and even share your portage tree and then simply install binary packages to the old hardware. This works as long as your more powerful machine is running acceptable CFLAGS, in other words not -mach=native. You can use comments in your make.conf to reconfigure your more powerful computer quickly if you want and there is no reason your packages directory can't be shared from the weaker machine.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Thu Aug 13, 2015 10:46 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Distcc


Binary distros are not that bad when you restrict the tasks...
Linux Mint is quite useable for Chrome, libreoffice, printing ...

Up to you at the end which way to go...
Back to top
View user's profile Send private message
TigerJr
Guru
Guru


Joined: 19 Jun 2007
Posts: 509
Location: /dev/x0

PostPosted: Fri Aug 14, 2015 11:02 pm    Post subject: Reply with quote

Quote:
Or should I simply ride it out and compile on the old piece of junk?


Good idea, but not fast idea.

I think that you should take your hard disk drive from compaq and connect it to your asus. Cause network installation would be bottleneck of your work with disk.

Than boot linux on asus.
Create /mnt/gentoo directory(mkdir command)
Create /dev/sda or /dev/sdb partition table(parted fdisk commands)
Mount root partition to /mnt/gentoo(mount command)
Than download via wget stage3 for i386 architecture .
Untar stage3 into /mnt/gentoo partition
mount [proc /dev] and swapon /dev/[swap] partitions like written in handbook
Download portage-latest.tar.gz from nearest mirror.
Test /mnt/gentoo/etc/portage/make.conf on ACCEPT_KEYWORDS="x86"
and please:
Use default CFLAGS="-pipe -fomit-frame-pointer -march=i386 -O2" or CFLAGS="-pipe -fomit-frame-pointer -march=native -O2"
MAKEOPTS="-j4" (but change to -j1 before emerge packages on compaq)
And change root( via chroot command)
Code:
env-update && emerge --sync && emerge lilo gentoo-sources


after installing bootloader and kernel you can install other packages on your asus PC but try to boot before on your comapq
Emerge other needed packages like chromium or libreoffice or [somthing]

P.S. I think that emerge libreoffice take a long time even on your powerful asus PC =)
_________________

Do not update portage without hotdog!

Xenogentooway?
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