• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4084
  • Last Modified:

Most Reliable Linux Distro With No Desktop/GUI

I just need to be able to SSH to this device and run basic networking commands - ping, curl, traceroute, dig, etc.  I will be running it off of a USB - creating it with linuxliveusb.  What would be a solid basic gui-less distro that would work?

http://www.linuxliveusb.com/en/
0
amigan_99
Asked:
amigan_99
  • 9
  • 4
  • 3
  • +2
1 Solution
 
arnoldCommented:
Any will do, every one of the distros can be run in non-GUI setup.
DSL (damn small Linux) might be what you are looking for.
Presumably your secure/reliable actually mean can boot any USB bootable system.
How large is the USB you are looking to use?
0
 
amigan_99Network EngineerAuthor Commented:
32GB USB
0
 
arnoldCommented:
Any distro will do what you are looking for.  Which distro are you comfortable with?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
amigan_99Network EngineerAuthor Commented:
I am most familiar with Ubuntu.
0
 
rindiCommented:
As mentioned above, any distro will do fine. Since you are familiar with Ubuntu, use Ubuntu Server. It comes with no GUI as default.
0
 
amigan_99Network EngineerAuthor Commented:
I tried both - damn small and ubuntu.  Using utility LiLi I first created a DSL USB.  My computer booted from the USB but it did come up to some kind of GUI and neither the mouse nor the keyboard were operating although I could see some kind of rough desktop.  So onto Ubuntu server.  Again I used LiLi and it finished.  But when it booted it asking me if I wanted to install ubuntu or to run as a demo or a few other options.  I had gone down this path a few days ago and tried the install option and things failed when I tried to install from the USB to the USB.  Might I be missing something or is there a better utility I should try?  The laptop I am at the moment typing on is Ubuntu desktop.  Perhaps there a utility that runs on Ubuntu that would be better than LiLi or Pendrive USB creator for Windows?  Or do you think I'm just taking a wrong turn somewhere when using the Win utilities?
0
 
rindiCommented:
What do you mean with "LiLi"? Why don't you just do a normal installation of Ubuntu server to your USB disk? It should install and work just the same as a normal installation to an internal HD.
0
 
arnoldCommented:
I've not used the program you referenced, so not sure what packages you chose to install if it lets you.
The quick answer is as long as you do not install any graphical packages the GUI will not come up.
Just to be sure  which keyboard do you have, USB?
Pull the keyboard and reinsert.

You could unplug the windows drives. Insert the USB stick, boot of the Ubuntu DVD and see whether that will do what you want. Disconnecting the drives, will prevent the inevitable error that many of us made at one time or another.
0
 
amigan_99Network EngineerAuthor Commented:
Linux Live USB Create - LiLi.  http://www.linuxliveusb.com/  I could try that - make the ISO on one USB and see if I could then install to a second USB drive.  Good thought.
0
 
Ryan SmithSr. Systems EngineerCommented:
Use Windows and pendrive linux installer.

Boot up the USB and open a terminal.

run this command

sudo init 3

it will reboot into text mode.
0
 
serialbandCommented:
If you want it to always boot to run level 3:

In Upstart, you'd change /etc/init/rc-sysinit.conf and change
env RUNLEVEL=3

In System V, you would edit /etc/inittab and change the default init from 5 to 3
id:3:initdefault:

If you didn't install X, it should already be set to runlevel 3.

Here's someone that's already done a 32 GB USB Mint install.
http://sandeepbhalla.com/2014/02/28/installing-linux-mint-on-32-gb-usb-drive-with-separate-home-folder/
0
 
Ryan SmithSr. Systems EngineerCommented:
Serialband, I believe that running "sudo init 3" will permanently change it to text mode.  Of course he could edit those two files depending on the OS.
0
 
amigan_99Network EngineerAuthor Commented:
The latest thing I tried use using Pendrive Universal-USB-Installer-1.9.5.2 to create a USB from ubuntu-12.04.4-server-amd64.iso.  I keep getting stuck at the same place.  I will attach the screen grabs so you can see what I am bumping into.
ScreenHunter-13-Apr.-01-10.43.jpg
ScreenHunter-13-Apr.-01-10.44.jpg
ScreenHunter-14-Apr.-01-10.44.jpg
ScreenHunter-14-Apr.-01-13.06.jpg
photo-1.JPG
photo-2.JPG
0
 
serialbandCommented:
init, at least in system 5, only makes a temporary change to the run level.  You have to edit the inittab to make the change permanent for the next reboot.

I haven't had to set upstart run levels yet, but the ubuntu upstart information suggests that it's also temporary when you run init 3.  https://help.ubuntu.com/community/UpstartHowto
0
 
amigan_99Network EngineerAuthor Commented:
Permanently changing to text mode would be fine with me.  I just can keep ending up with a USB stick that wants to install linux rather than RUN linux.
0
 
serialbandCommented:
It might be easier to just burn or copy a smaller sized live linux distro to your USB stick.  A live bootable disc or USB is different than just copying the installer image.

http://www.linux.com/directory/Distributions/livecd
http://www.techradar.com/us/news/software/operating-systems/8-of-the-best-tiny-linux-distros-683552
Since you liked ubuntu
http://crunchbang.org/
0
 
Ryan SmithSr. Systems EngineerCommented:
If your not formatting the system it might be booting off something else.  I've had that happen before.
0
 
amigan_99Network EngineerAuthor Commented:
Ok - downloading the crunchbag iso http://crunchbang.org/download/.  Will try the pendrive universal installer and see if that is the mojo.
0
 
rindiCommented:
As I said earlier, just install the OS normally to the USB stick as you would install it to a harddisk, and it should work just like a normal installation. The tools you've been using are meant to put LiveCD isos on USB sticks instead of CD's or DVD's, and not for installations, so you end up with the same functions those LiveCD's or DVD's have. They aren't installations, but rather Live Media, from most of which you can install the OS more permanently.
0
 
amigan_99Network EngineerAuthor Commented:
Progress.  Crunchbang with the Pendrive is giving me a workable Linux off the USB.  Perhaps I should start a new thread.  The only things now..

-When the system boots up it is asking me if want a Live Session, Install or Memory test.  I want to get it to just rull into the Live session and not stop here.  Any thought there?  Perhaps ask on crunchbang's boards?
photo--1-.JPG
photo--2-.JPG
0
 
amigan_99Network EngineerAuthor Commented:
This was the solution that came the closest to working.  But it does not full boot - gets stuck at a menu and it does not remember that I installed users and ssh server when it does get rebooted.  I'll ask this again with my more fleshed out set of criteria.
0
 
serialbandCommented:
The live distros are usually designed to not write to the boot media.  It's usually loaded into RAM, so changes are not saved unless you actually mount the USB stick and save the files to the live distro image.

If you used the other distros as suggested by other users, you would run the installer and install it onto the USB stick by choosing the disk you wish to .  You wouldn't burn or copy the distro to the USB stick.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 9
  • 4
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now