Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to install from different distro
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
skurg
n00b
n00b


Joined: 27 May 2012
Posts: 2

PostPosted: Sun May 27, 2012 3:58 pm    Post subject: How to install from different distro Reply with quote

Is there any tutorial how to install gentoo from different linux distribution? I found http://www.gentoo.org/doc/en/altinstall.xml
but It tells me absolutely nothing besides repartitioning hard drive.
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Sun May 27, 2012 4:26 pm    Post subject: Reply with quote

grab a live cd and follow the handbook...
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21706

PostPosted: Sun May 27, 2012 4:49 pm    Post subject: Reply with quote

skurg: do you have an existing Linux installation that you want to use as a base for installing Gentoo? If yes, then you can do that, subject to some compatibility constraints. If no, then a LiveCD is your best option.
Back to top
View user's profile Send private message
skurg
n00b
n00b


Joined: 27 May 2012
Posts: 2

PostPosted: Sun May 27, 2012 5:18 pm    Post subject: Reply with quote

Quote:

If yes, then you can do that, subject to some compatibility constraints.

But how to do that? It is possible to install gentoo just like LFS?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun May 27, 2012 5:28 pm    Post subject: Reply with quote

skurg,

Boot into <random_distro> get into a root shell then do
Code:
mkdir /mnt/gentoo

You need to have, or be able to create, a partition for Gentoo. Gentoo can share swap and /boot with other distro(s)

Now you can follow the handbook.
Take care with partitioning your HDD - you don't want to destroy <random_distro>
You need not install the Gentoo boot loader. Just add Gentoo to ypur existing boot loader.

If your Gentoo will be a 64 bit install, then <random_distro> must provide a 64 bit kernel.
_________________
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
elliptical_clocks
n00b
n00b


Joined: 09 May 2012
Posts: 8

PostPosted: Tue May 29, 2012 11:20 am    Post subject: Re: How to install from different distro Reply with quote

skurg wrote:
Is there any tutorial how to install gentoo from different linux distribution? I found http://www.gentoo.org/doc/en/altinstall.xml
but It tells me absolutely nothing besides repartitioning hard drive.


Yes, there is a way to do this. I do it for every Gentoo installation because I find it better than the Live CD.

On your existing Linux system, use GParted or cfdisk to create the partition for your Gentoo system. Then create a directory /mnt/gentoo as root. Next, mount the partition for Gentoo under /mnt/gentoo.
Code:

su root

mkdir /mnt/gentoo

mount /dev/??? /mnt/gentoo

cd /mnt/gentoo


Now follow the handbook starting at section 5. Installing the Gentoo Installation Files.
_________________
Every time I compile Gentoo I feel like I should sacrifice a goat.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue May 29, 2012 11:39 am    Post subject: Reply with quote

It's all well documented:
http://www.gentoo.org/doc/en/altinstall.xml#doc_chap5

Notice that it redirects you to the usual installation method after the partition is done:
Code:
Once you have resized, boot back into your old linux as described. Then go to The Gentoo Handbook: Preparing the Disks and follow the instructions. When chrooting, use the following command to flush your environment:

_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
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