I've made a number of attempts to get Xen working over the years, but without much success...never quite make it far enough. Have you had good experiences with it?-ewemoa (March 08, 2014, 07:35 AM)
I'm trying to avoid too many steps during set up (cf. getting Arch and/or Gentoo installed - worth it a few times, but not great if I want to recreate a similar set up from scratch) as well as having VirtualBox or comparable stop working somewhere down the line because of an upgrade...-ewemoa (March 08, 2014, 07:35 AM)
That's why I'd just go with a vanilla Debian/Ubu server setup as the base. You could always strip out anything you really didn't want afterwards if size is that important. Then install VBox. Dump a copy of installed packages via synaptic - or use a config backup tool like Aptik and it should be a breeze to build a new one (real or virtual) any time you want. The beauty of this approach is it will autoupdate through the repositories once it's built so that hassle goes away.-40hz (March 08, 2014, 07:55 AM)
Hmm...damn...now you've got me thinking... ;D
I know you said "like Aptik", but just to confirm, Aptik doesn't work with Debian, right?-ewemoa (March 08, 2014, 08:46 AM)
Start with a Debian net install. Skip the desktop environment and widows manager options and only have it install X.
Once you've got that, do an 'apt-get install virtualbox'. If apt works as advertised (and the VBox config was set up correctly for the repositories) it should also install all the dependencies needed.-40hz (March 08, 2014, 06:58 PM)
Quick note: Did some checking - using TinyCore as the host distro is definitely not gonna work.
Seemed to work here.-ewemoa (March 09, 2014, 06:01 AM)
In the meantime don't neglect to create a disk image backup of the install.-40hz (March 09, 2014, 06:57 AM)
easy to install (so recognizes hardware well) *NIX -- though light on resources-ewemoa (March 07, 2014, 04:08 PM)
Not having read the rest of the thread:
OpenBSD.-Tuxman (March 09, 2014, 10:13 AM)
PC-BSD® 10.0 automatically installs the VirtualBox[1] open source virtualization program and the VirtualBox Guest Additions[2] with the operating system. The guest additions add mouse pointer integration, shared folders between the host and guest, better video support, and a shared clipboard.
Your quote is related to using PC-BSD as a guest system.
OpenBSD works as a host (http://daemonforums.org/showthread.php?t=4278) (or doesn't, depending on who you ask). - PC-BSD is not exactly "light on resources".-Tuxman (March 09, 2014, 01:36 PM)
and the VirtualBox Guest Additions[2] with the operating system.-40hz (March 09, 2014, 01:45 PM)
Either way, I'm more familiar with using BSD to create bespoke servers rather than VM hosts, so I'll defer to you to provide instructions or links on how to do it under OpenBSD.-40hz (March 09, 2014, 01:45 PM)
Guest Additions[/i][2] with the operating system.-Tuxman (March 09, 2014, 01:47 PM)
RTFM...
(Interestingly, you emphasize a different part every time. Like a woman.)-Tuxman (March 09, 2014, 01:51 PM)
1.4. Supported host operating systems
Currently, VirtualBox runs on the following host operating systems:
Windows hosts:
Windows XP, all service packs (32-bit)
Windows Server 2003 (32-bit)
Windows Vista (32-bit and 64-bit[1]).
Windows Server 2008 (32-bit and 64-bit)
Windows 7 (32-bit and 64-bit)
Windows 8 (32-bit and 64-bit)
Windows Server 2012 (64-bit)
Mac OS X hosts:[2]
10.6 (Snow Leopard, 32-bit and 64-bit)
10.7 (Lion, 32-bit and 64-bit)
10.8 (Mountain Lion, 64-bit)
10.9 (Mavericks, 64-bit)
Intel hardware is required; please see Chapter 14, Known limitations also.
Linux hosts (32-bit and 64-bit[3]). Among others, this includes:
10.04 ("Lucid Lynx"), 10.10 ("Maverick Meerkat), 11.04 ("Natty Narwhal"), 11.10 ("Oneiric Oncelot"), 12.04 ("Precise Pangolin"), 12.10 ("Quantal Quetzal"), 13.04 ("Raring Ringtail"), 13.10 ("Saucy Salamander")
Debian GNU/Linux 6.0 ("squeeze") and 7.0 ("wheezy")
Oracle Enterprise Linux 5, Oracle Linux 6
Redhat Enterprise Linux 5 and 6
Fedora Core 6 to 19
Gentoo Linux
openSUSE 11.0, 11.1, 11.2, 11.3, 11.4, 12.1, 12.2
Mandriva 2010 and 2011
It should be possible to use VirtualBox on most systems based on Linux kernel 2.6 or 3.x using either the VirtualBox installer or by doing a manual installation; see Section 2.3, “Installing on Linux hosts”. However, the formally tested and supported Linux distributions are those for which we offer a dedicated package.
Note that starting with VirtualBox 2.1, Linux 2.4-based host operating systems are no longer supported.
Solaris hosts (64-bit only) are supported with the restrictions listed in Chapter 14, Known limitations:
Solaris 11 including Solaris 11 Express
Solaris 10 (u8 and higher)
Note that the above list is informal. Oracle support for customers who have a support contract is limited to a subset of the listed host operating systems. Also, any feature which is marked as experimental is not supported. Feedback and suggestions about such features are welcome.
A further option appears to be to use Knoppix -- version 7.2 appears to come with a relatively recent version of VirtualBox (something in the 4.2.x series).
FWIW, I tried the following instructions for getting Knoppix on a USB stick with some success:
http://www.wgdd.de/2013/08/create-knoppix-usb-boot-stick-from.html-ewemoa (May 22, 2014, 04:21 AM)
Very nice! Normally I'd just use USB Image Writer or something similar. But it's always good to know a command line way to do something just in case the PC you're using doesn't have all you favorite tools installed.-40hz (May 22, 2014, 06:08 AM)
I wasn't aware of that isohybrid command.
FWIW, on Gentoo I found it in the syslinux package.-ewemoa (May 22, 2014, 07:06 AM)
1. Boot from iso-on-USB (dd-ed to USB memory)I've never seen it, but somebody ought to host a forum just for installs with nothing installed and devoted to one job as you proposed. I knew what I was getting into, and I've run into a full dead-end in my startx, but I've learned a TON, and recalled a TON. I hadn't done much with linux command-line in about five years, and never had enough time to do very much with it anyway. At first I couldn't do without sudo, and found I wasn't on the internet when I went to install it. I'm very proud of my setting ifconfig (a new set of commands for me) manually for all the specs and getting eth0 up running on startup.
2. Run the text installer and at the tasksel step unselect everything
3. After rebooting, install the sudo package and add the non-root user to the sudo group (then relogin)
4. Tell apt-get to install the virtualbox and xinit packages and accept the installation of the additional packages
5. Add the non-root user to the vboxusers group
6. Reboot for the VirtualBox modules to load (modprobe might work instead)
7. Log in and use startx to start X
8. From an xterm, start VirtualBox
9. Test run a guest OS
For imaging, Clonezilla and DD are what I use. DD mostly if it's just for me. Clonezilla for clients and anybody else. Clonezilla can also install GRUB so that's a big plus when performing a disaster recovery. Clonezilla also has some nice features for use with Windows-based systems. (Check out their website for details.) And it's now UEFI (or 'URFU' as I like to think of it) bootable. So if you straddle multiple OSes, having one tool to learn and standardize on is really nice too.-40hz (March 09, 2014, 08:48 AM)
...steps a shot with the debian net-install.-mateek (May 23, 2014, 06:22 PM)
I knew what I was getting into, and I've run into a full dead-end in my startx, but I've learned a TON, and recalled a TON. I hadn't done much with linux command-line in about five years, and never had enough time to do very much with it anyway. At first I couldn't do without sudo, and found I wasn't on the internet when I went to install it. I'm very proud of my setting ifconfig (a new set of commands for me) manually for all the specs and getting eth0 up running on startup.
I get (what I imagine are) similar feelings when trying to follow the instructions to install Gentoo or Arch!-ewemoa (May 23, 2014, 10:55 PM)
He he -- I'm about to try to use them again -- nice to have notes to consultThat must be contagious. This round I did the net-install of Debian non-advanced, and then did without sudo. I had to install gdm3 for my startx, but now all is working otherwise perfectly from your steps. I ruined my first try by uninstalling too much after adding the Desktop Environment. My startx would freeze with only a cursor on a black screen, but I wasn't going to tackle those forums. I'd almost be better off attempting Gentoo. Thanks ewemao.
For me, at least the Arch install was mainstream enough that it felt comprehensible and somewhat familiar. (The excellent docs helped a lot too!)-40hz (May 24, 2014, 06:29 AM)
A stage-3 Gentoo install, on the other hand, will probably always look and feel weird to me. :huh:
In the meantime don't neglect to create a disk image backup of the install. It will easily fit on a DVD or a modest USB key too.-40hz (March 09, 2014, 06:57 AM)
I ruined my first try by uninstalling too much after adding the Desktop Environment.-mateek (May 24, 2014, 07:03 PM)
When was the last time you tried? I think I originally tried Gentoo 7 or 8 years ago (remember stage 1 and 2?) with much less powerful hardware and this time around it definitely felt much easier.-ewemoa (May 25, 2014, 01:02 AM)
Every so often I think about trying Gentoo again. But like the dog up above, my very next thought is "what for?"-40hz (May 25, 2014, 06:09 AM)
Especially since I built a career on learning to live and work with whatever Microsoft doles out. When in Rome..."think toga" as the saying goes.
I didn't know about their overlay system until this time around, and I'm finding it to my liking.-ewemoa (May 25, 2014, 09:31 AM)
I didn't get the hang of USE flags before, but it's starting to make more sense.
(but perhaps they are already familiar...):-ewemoa (May 25, 2014, 09:55 PM)
user $ equery
Gentoo package query tool
Usage: equery [global-options] module-name [module-options]
modules (short name)
(b)elongs list what package FILES belong to
(c)hanges list changelog entries for ATOM
chec(k) verify checksums and timestamps for PKG
(d)epends list all packages directly depending on ATOM
dep(g)raph display a tree of all dependencies for PKG
(f)iles list all files installed by PKG
h(a)s list all packages for matching ENVIRONMENT data stored in /var/db/pkg
(h)asuse list all packages that have USE flag
ke(y)words display keywords for specified PKG
(l)ist list package matching PKG
(m)eta display metadata about PKG
(s)ize display total size of all files owned by PKG
(u)ses display USE flags for PKG
(w)hich print full path to ebuild for PKG
Oh yeah, that utility for dependency checking I was trying to remember earlier is called equery (http://wiki.gentoo.org/wiki/Equery). It's part of gentoolkit.-40hz (May 26, 2014, 07:44 AM)
including OpenRC and not systemd-40hz (May 26, 2014, 06:23 PM)
Because its "compile as needed" design is too time consuming,-40hz (May 28, 2014, 12:01 PM)
and its rolling release model is a potential support quagmire once you go beyond your own personal machine. For multiple desktops, it would be a challenge. For production servers, it would be a nightmare - and likely a career threatening environment to be in as well.
BTW, I'm going to try using that nearly-bare-Debian-with-VirtualBox set up as my host OS and install Gentoo Prefix (https://www.gentoo.org/proj/en/gentoo-alt/prefix/) for additional software (perhaps I'll also try Nix and/or Guix).-ewemoa (May 30, 2014, 06:21 AM)
or make remastering more practical again...-ewemoa (June 02, 2014, 03:59 AM)
I've heard from some that Ubu's remastering tool (UCK) works just fine with Mint.-40hz (June 02, 2014, 09:32 PM)
Status update: have been using NixOS for over a year now, has been quite good, though took quite a while to get used to.
Also tried Guix -- a bit more to my liking (based on pieces of NixOS), but still has a ways to go.
Tried Manjaro again (thanks to phitsc) -- the brief experience I had with the Fluxbox 15.10 edition this time has been nice so far.
Wondering whether to try out Qubes -- this appears to be a focused effort to carry out an idea of isolating execution of programs (perhaps among other things). Anyone else try this already?-ewemoa (October 20, 2015, 08:00 AM)
perhaps you might find Qubes to be of interest.-ewemoa (October 20, 2015, 11:53 PM)
My understanding is that it would be like running Windows in a VirtualBox VM (or any VM), where the guest OS doesn't get direct access to the GPU so many video-intensive things would be slow or non-functional. Especially programs which try to grab fullscreen access [such as games].-Deozaan (October 21, 2015, 08:30 PM)