Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Alexander Skwar

Marco Calviani wrote:

Hi list,
   i would like to know if anyone have had experiences in installing
gentoo on a remote machine using ssh. Is it possible?


I'm not quite sure what you mean with that.

I installed Gentoo on my server. To do so, I first booted a
"rescue system" which was loaded over a netboot. After the
boot, I logged into the server using SSH and followed the
documentation.

Does that answer your question?

Alexander Skwar
--
BOFH Excuse #423:

It's not RFC-822 compliant.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Enrico Weigelt
* Alexander Skwar <[EMAIL PROTECTED]> wrote:
> Marco Calviani wrote:
> >Hi list,
> >   i would like to know if anyone have had experiences in installing
> >gentoo on a remote machine using ssh. Is it possible?
> 
> I'm not quite sure what you mean with that.

IFAIU Marco wants to log into some linux box via ssh and install 
gentoo there (over the existing system).

Well, interesting question. I'm also planning to do this.
As long as you do not have any backup remote access (ie. directly
to the disk or filesystem, an backup os, ...) its gonna be risky.
This would require the install to go 100% right (at least to the
point where network + sshd is up).

I'd suggest installing gentoo in an chroot jail and try out
evrything, move ssh to another port and run all services
(including gentoo's ssh) within the jail. 

If evrything's proved to be running, change into the jail, cleanup
the root system (you can access it via bind-mounts) and copy
down the whole thing.


cu
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Steven Susbauer
On Mon, 22 May 2006, Marco Calviani wrote:

> Hi list,
>   i would like to know if anyone have had experiences in installing
> gentoo on a remote machine using ssh. Is it possible?
>
> Thanks in advance,
> MC
>
>

Boot from the minimal cd. Start ssh by typing /etc/init.d/sshd start, set
a root password with passwd. Make sure your network is up, if it is you're
now able to install over ssh.

-Steven
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Daniel da Veiga

On 5/22/06, Marco Calviani <[EMAIL PROTECTED]> wrote:

Hi list,
   i would like to know if anyone have had experiences in installing
gentoo on a remote machine using ssh. Is it possible?

Thanks in advance,
MC

--
gentoo-user@gentoo.org mailing list




You can do that, if you have some experience, you can use the actual
system already installed, but you must use fallback instructions on
your bootloader, along with PANIC instructions to reboot if no
successful kernel is booted. Also, you must be SURE that IF your new
kernel boot, it will support your NIC, and also that SSH gets started
with the system.

There is really NO way to securely say you'll suceed, anyway, you must
have another way to access the machine locally if anything goes wrong.
Besides any failure, its possible, I've used it like 3 times, only one
I had to go there and reboot the machine...

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Marco Calviani

Hi Enrico,
 actually it is the way i would like to do it. I have a debian box
installed on it, but i would like to move to gentoo. The machine is
quite far from me and i don't have easy access to the room. Probably
the chroot solution is the best for me.

Regards,
and thanks to all,
Marco

On 5/22/06, Enrico Weigelt <[EMAIL PROTECTED]> wrote:

* Alexander Skwar <[EMAIL PROTECTED]> wrote:
> Marco Calviani wrote:
> >Hi list,
> >   i would like to know if anyone have had experiences in installing
> >gentoo on a remote machine using ssh. Is it possible?
>
> I'm not quite sure what you mean with that.

IFAIU Marco wants to log into some linux box via ssh and install
gentoo there (over the existing system).

Well, interesting question. I'm also planning to do this.
As long as you do not have any backup remote access (ie. directly
to the disk or filesystem, an backup os, ...) its gonna be risky.
This would require the install to go 100% right (at least to the
point where network + sshd is up).

I'd suggest installing gentoo in an chroot jail and try out
evrything, move ssh to another port and run all services
(including gentoo's ssh) within the jail.

If evrything's proved to be running, change into the jail, cleanup
the root system (you can access it via bind-mounts) and copy
down the whole thing.


cu
--
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Ryan Tandy

Marco Calviani wrote:

Hi list,
  i would like to know if anyone have had experiences in installing
gentoo on a remote machine using ssh. Is it possible?

Thanks in advance,
MC



I've done it a couple of times for friends.  It goes fine - you just 
have to make sure someone's physically near the machine when you do its 
first non-assisted boot, in case you screwed up the kernel or something. 
And don't forget to 'rc-update add sshd default' so you can get back in!

--
gentoo-user@gentoo.org mailing list