943,667 Members | Top Members by Rank

Ad:
Mar 15th, 2009
0

Headless

Expand Post »
Okay i need to install an OS on a system with no monitor.

Is there any livecd that can be set to autostart SSH at boot?
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is online now Online
16,492 posts
since Apr 2005
Mar 15th, 2009
1

Re: Headless

I don't know of any distros offhand that autostart sshd and have a default username and password, but it should be fairly simple to make your own. The FreeBSD docs have a guide on doing it (if you don't mind installing Linux from a BSD shell), or if that doesn't suit you, simply mount the ISO and squash filesystem of a LiveCD on the loopback device(s). Copy the contents of the filesystem onto your hard drive, chroot into it, set the root password and make sure that sshd is set to autostart (and maybe verify that your network settings are correct). Then mksquashfs the modified filesystem to create a new squash image, then recreate a new bootable ISO with the modified squash image on it.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Mar 15th, 2009
-7

Re: Headless

Yeah in the past i have modified CentOS to start a VNC demon on boot, and then automated install using kickstart.

(this covers the modification part to some degree in case anyone is interested)

http://wiki.centos.org/TipsAndTricks/VncHeadlessInstall

I perfer debian based distros but i may try and go the centos root and then use debootstrap and some grub trickery to install a debian system from within it, because im not sure how to modify a debian cd in this way.

Dont know if debbootstrap will work from centos though, but it should, ive used it before for modding an xbox

Ive got a LightsOut board for an old compaq/hp box somewhere, but i dont think it will work on the machine i want (its just a normal selfbuilt box)
Last edited by jbennet; Mar 15th, 2009 at 5:01 pm.
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is online now Online
16,492 posts
since Apr 2005
Mar 15th, 2009
0

Re: Headless

RHEL and derivatives can provide VNC, I've done that a few times - easy stuff

btw, if you have a ILO or a DRAC, you can use those
Moderator
Featured Poster
Reputation Points: 183
Solved Threads: 89
Posting Virtuoso
DimaYasny is offline Offline
1,772 posts
since Jan 2007
Mar 15th, 2009
-7

Re: Headless

Wow, that compaq/hp box must be old... the LightsOut card is EISA. So no chance of using it.

Really wanted debian, but im gonna go put CentOS onto it, stil got a customised iso from when i did it before...
Last edited by jbennet; Mar 15th, 2009 at 8:00 pm.
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is online now Online
16,492 posts
since Apr 2005
May 14th, 2009
0

Re: Headless

Debian can use kickstart files in addition to its native preseed format.

I frequently use both for headless network installs using DHCP/PXE/TFTP + HTTP installs

You might also consider using a serial console if graphical support isn't needed.
Reputation Points: 10
Solved Threads: 3
Newbie Poster
Darkflib is offline Offline
11 posts
since May 2009
May 15th, 2009
0

Re: Headless

I had luck with Ubuntu server edition.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
derekge is offline Offline
1 posts
since May 2009
May 15th, 2009
-7

Re: Headless

In the end i what i did was customise an ubuntu disk so that it started SSH at boot, booted from it, then used it to create a debian install in another partition using debootstrap, chrooted into it, installed and configured SSH and changed grub accordingly. Then i prayed and rebooted into the new debian system.

Worked well. Still running.

P.S ive noticed the opensolaris live/install cd has a nice grub option to start SSH, in case anyone finds this thread.
Last edited by jbennet; May 15th, 2009 at 5:14 pm.
Moderator
Featured Poster
Reputation Points: 1764
Solved Threads: 574
Moderator
jbennet is online now Online
16,492 posts
since Apr 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Getting Started and Choosing a Distro Forum Timeline: .exe in ubuntu 8.10
Next Thread in Getting Started and Choosing a Distro Forum Timeline: Dual boot problems





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC