From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-54137-garchives=archives.gentoo.org@gentoo.org>)
	id 1GfKJz-0003tU-Sx
	for garchives@archives.gentoo.org; Wed, 01 Nov 2006 17:56:16 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kA1HqQ58030616;
	Wed, 1 Nov 2006 17:52:26 GMT
Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.205])
	by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kA1HoCGj030609
	for <gentoo-user@lists.gentoo.org>; Wed, 1 Nov 2006 17:50:13 GMT
Received: by nz-out-0102.google.com with SMTP id 9so2622626nzo
        for <gentoo-user@lists.gentoo.org>; Wed, 01 Nov 2006 09:50:12 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
        b=LEQU5wA0v0J0LFLssEF28tcmqYb9RlHE1dSmclyH1egrMnLvMrq9eP6Uvmy6zFH8ISWe4IbMSvIzsdzclC2IeY2DKjfAfYLA+nsNNQSk9lVSD435ZHMw/oSWzzCxM9YSjR5xQsu1UM/vP5ERLfTTGzyiUnFtts5uP5uVv3eB290=
Received: by 10.65.22.9 with SMTP id z9mr9357750qbi;
        Wed, 01 Nov 2006 09:49:55 -0800 (PST)
Received: by 10.65.177.11 with HTTP; Wed, 1 Nov 2006 09:49:55 -0800 (PST)
Message-ID: <8fcf3b560611010949k295ab5c3xad8957d02a2927ba@mail.gmail.com>
Date: Wed, 1 Nov 2006 09:49:55 -0800
From: "Tim Garton" <garton.tim@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Server installation
In-Reply-To: <20061101173613.5fe0fccf@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_20177_10183888.1162403395916"
References: <20061101173613.5fe0fccf@localhost>
X-Archives-Salt: a739320e-a6ca-4502-b78a-3c07e3462ee6
X-Archives-Hash: beab9f5fd2df94d150b4d6b7aa5e7d1c

------=_Part_20177_10183888.1162403395916
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I've thought about doing this sort of thing in the past and I think it would
be pretty tricky if you want to do this completely remotely. (meaning not
using an installation cd)  This is how I thought about doing it:

Resize the partitions on your current hosting server to free up enough space
to create a temporary partition to install gentoo to.  So for example if
your current setup is the following running redhat:
/dev/sda1 - /boot (256MB)
/dev/sda2 - swap (1GB)
/dev/sda3 - / (80GB redhat)

you would want to resize so you can do the following:
/dev/sda1 - /boot (256MB)
/dev/sda2 - swap (1GB)
/dev/sda3 - / (75GB redhat)
/dev/sda4 - /mnt/gentoo (5GB temp to install gentoo to)

then you basically follow the handbook instructions as though you have
already booted from the minimal installation cd and install gentoo to
/mnt/gentoo, but don't reformat the /dev/sda1 partition.  Then, rather than
emerging grub, just modify your existing /boot/grub/menu.1st and add a
default entry for booting off of /dev/sda4 for gentoo.  Reboot and you
should boot into your new temporary gentoo installation on /dev/sda4.  You
can now get rid of /dev/sda1-3, create new partitions however you like
(excluding  the 5GB /dev/sda4 which you are currently running off of) format
them, and follow the handbook instructions as though you just booted from
the minimal installation cd.  Once you've done this and rebooted into your
newly installed gentoo, you can delete /dev/sda4 and recapture that space to
whatever partition you really installed gentoo to.

The problem I see with this is you would be editing the fs tables of a drive
you are currently running off of.  If that doesn't work I guess you could
set up a boot option that uses a RAM filesystem for the root /, and then you
wouldn't be running off of any drives and could therefore fdisk to your
hearts content.  Whatever you decide, you should probably do a test run on a
box you have locally, since one screwup means you or someone else is going
to have to physically be at the hosted server to fix it.

Tim

On 11/1/06, meewi <nuke@meewi.be> wrote:
>
> Hi all,
>
> I would like install Gentoo on my hosting-server. I have full root
> access and running Gentoo on my desktop for more then a year now.
>
> But what or where do we find a good guide/doc for installing Gentoo
> from a distance when using an ssh connection.
>
> Thanks in advance,
> William.
>
>
> ________________________________________________________________
> Ecademy - Connecting Business People - Invite a friend to join:
> http://www.ecademy.com/account.php?id=96418&xref=96418
> --
> gentoo-user@gentoo.org mailing list
>
>

------=_Part_20177_10183888.1162403395916
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I've thought about doing this sort of thing in the past and I think it would be pretty tricky if you want to do this completely remotely. (meaning not using an installation cd)&nbsp; This is how I thought about doing it:<br><br>
Resize the partitions on your current hosting server to free up enough space to create a temporary partition to install gentoo to.&nbsp; So for example if your current setup is the following running redhat:<br>/dev/sda1 - /boot (256MB)
<br>/dev/sda2 - swap (1GB)<br>/dev/sda3 - / (80GB redhat)<br><br>you would want to resize so you can do the following:<br>/dev/sda1 - /boot (256MB)<br>
/dev/sda2 - swap (1GB)<br>
/dev/sda3 - / (75GB redhat)<br>/dev/sda4 - /mnt/gentoo (5GB temp to install gentoo to)<br><br>then you basically follow the handbook instructions as though you have already booted from the minimal installation cd and install gentoo to /mnt/gentoo, but don't reformat the /dev/sda1 partition.&nbsp; Then, rather than emerging grub, just modify your existing /boot/grub/menu.1st and add a default entry for booting off of /dev/sda4 for gentoo.&nbsp; Reboot and you should boot into your new temporary gentoo installation on /dev/sda4.&nbsp; You can now get rid of /dev/sda1-3, create new partitions however you like (excluding&nbsp; the 5GB /dev/sda4 which you are currently running off of) format them, and follow the handbook instructions as though you just booted from the minimal installation cd.&nbsp; Once you've done this and rebooted into your newly installed gentoo, you can delete /dev/sda4 and recapture that space to whatever partition you really installed gentoo to.
<br><br>The problem I see with this is you would be editing the fs tables of a drive you are currently running off of.&nbsp; If that doesn't work I guess you could set up a boot option that uses a RAM filesystem for the root /, and then you wouldn't be running off of any drives and could therefore fdisk to your hearts content.&nbsp; Whatever you decide, you should probably do a test run on a box you have locally, since one screwup means you or someone else is going to have to physically be at the hosted server to fix it.
<br><br>Tim<br><br><div><span class="gmail_quote">On 11/1/06, <b class="gmail_sendername">meewi</b> &lt;<a href="mailto:nuke@meewi.be">nuke@meewi.be</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>I would like install Gentoo on my hosting-server. I have full root<br>access and running Gentoo on my desktop for more then a year now.<br><br>But what or where do we find a good guide/doc for installing Gentoo
<br>from a distance when using an ssh connection.<br><br>Thanks in advance,<br>William.<br><br><br>________________________________________________________________<br>Ecademy - Connecting Business People - Invite a friend to join:
<br><a href="http://www.ecademy.com/account.php?id=96418&amp;xref=96418">http://www.ecademy.com/account.php?id=96418&amp;xref=96418</a><br>--<br><a href="mailto:gentoo-user@gentoo.org">gentoo-user@gentoo.org</a> mailing list
<br><br></blockquote></div><br>

------=_Part_20177_10183888.1162403395916--
-- 
gentoo-user@gentoo.org mailing list