Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i will try to install a Linux-System to a remote System where i dont have a Monitor or Keyboard. I can access the machine with ssh. I found following Document that describe a serial connection via null-modem-cable: http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/intro-why.html

Has anybody do like this? Any Suggestions?

Regards Rene

share|improve this question
    
What operating system is currently in place? –  Glenn Kelley Nov 25 '10 at 9:10
    
Currently the machine run with Ubuntu 32Bit and i need Ubuntu/ Debian with 64 Bit. My first Idea was to resize the partition and copy a Linux 64 Bit System to the new partition and customize Grub and restart the machine. But i think this is not the best-way. –  kockiren Nov 25 '10 at 9:31

1 Answer 1

up vote 1 down vote accepted

Its possible, but there is a very real risk that you could end up with a trashed system.

You certainly want to plan on doing at least one practice run on a machine where you do have access to the console.

Its a good idea to get the serial console set up first and check you can control the bootloader using it. NB you'll still need something at the other end of the serial cable which you can connect to (might be a computer accessible via SSH, or a modem set to auto-answer).

Of course you'll need to know whether the IP address/name is hard-coded or obtained via DHCP, location of nameservers etc. Assuming its using grub as the boot loader - do read the grub documentation carefully and grab a copy of the curent grub.conf and menu.lst - you'll later need to merge this into the new setup before you reboot the system to ensure that you can get back to a known working version.

Do not attempt to install the new OS on top of the existing one! You should install it on a seperate partition. It's probably OK to use common partitions for /var, /tmp and /home but nothing else. That implies that you may have to resize the current filesystems.

HTH

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.