Headless

Thread Solved

Join Date: Apr 2005
Posts: 16,273
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 543
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Headless

 
0
  #1
Mar 15th, 2009
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?
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: Headless

 
1
  #2
Mar 15th, 2009
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.
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,273
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 543
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Headless

 
-7
  #3
Mar 15th, 2009
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.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,765
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Solved Threads: 85
Moderator
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

Re: Headless

 
0
  #4
Mar 15th, 2009
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
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,273
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 543
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Headless

 
-7
  #5
Mar 15th, 2009
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.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 11
Reputation: Darkflib is an unknown quantity at this point 
Solved Threads: 3
Darkflib Darkflib is offline Offline
Newbie Poster

Re: Headless

 
0
  #6
May 14th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 1
Reputation: derekge is an unknown quantity at this point 
Solved Threads: 1
derekge's Avatar
derekge derekge is offline Offline
Newbie Poster

Re: Headless

 
0
  #7
May 15th, 2009
I had luck with Ubuntu server edition.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,273
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 543
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Headless

 
-7
  #8
May 15th, 2009
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.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the Getting Started and Choosing a Distro Forum


Views: 1212 | Replies: 7
Thread Tools Search this Thread



Tag cloud for Getting Started and Choosing a Distro
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC