Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

What are the easy ways to install Ubuntu remotely?

Writer Olivia Zamora

A GUI (graphical user interface) method is preferred. For example, can the new remote login feature be used for the purpose if the remote person has a Ubuntu live CD and know how to boot it?

The built-in remote login feature in question has been described in Ubuntu 12.10 Login Screen Adds Remote Desktop Access. Remmina maybe?

Best way to remote login on a Ubuntu machine from ubuntu/windows and OSX

4 Answers

This is very simple to do, I do it all the time. First you need to boot into some kind of environment.

  1. Boot the system "somehow." Here is a older document on bootp. You could also use a live CD and choose "try Ubuntu" to get a running Linux. I recomend the Alternate install cd for this.
  2. Next setup your disks with fdisk or whatever you like (again your on ssh when you do this).
  3. Get debbootstrap sudo apt-get install debootstrap && sudo apt-get install build-essential
  4. Bootstrap the box debootstrap --arch i386 percise /mnt/new_disk
  5. Get into the system and make it actually work chroot /mnt/new_disk /bin/bash
  6. Next make your interfaces, fstab, etc.
  7. Install a Kernel
  8. Fix sudoers
  9. Reboot and pray. (Don't forget to make the partition bootable)

With a little work you can make a script to do all this for you, and have a rapid deployment setup that is really quite handy. Here is a guide that should help get you going.

6

i don't think a remote installment of ubuntu from a live cd is available, as the new install wizard requires the GUI to navigate trough the setup.. before there was a preseed function, but it has been compleetly removed.

the best shot you may have, is to try to temp install sshd on the live version, and see if you have any chance there

If you boot from live CD and the sistem get's an ip, then he could activate Desktop Sharing and you will be able to continue the installation. All you have to do is install on your computer an VNC viewer and guide that person to configure access to the target computer on port 5900.

  • install Ubuntu locally with all the bells and whistles
  • ask your friend to issue:

    nc -l 12345 | dd of=/dev/sda

note: port 12345 should be open in the router

  • you boot live ubuntu
  • issue:

    dd if=/dev/sda | nc fiends_IP 12345

adjust sda with your cases

Depending on disk size and the speed of the connection it will take a while.

You can pipe to tar -xzpsf - to compress the flow

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy