LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


View Poll Results: Is using a virtual machine a good idea for first-time Linux users?
Yes. It is a great way to try Linux out. 22 55.00%
No. It prevents adequate trial and experimentation. 17 42.50%
It makes no difference. It's the same as dual boot or full-time installing. 1 2.50%
Voters: 40. You may not vote on this poll

Reply
  Search this Thread
Old 02-07-2010, 01:23 AM   #1
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
Is experimenting with Linux for the first time as a virtual machine beneficial?


I can't help but notice how many people asking newbie-type questions are running Linux on a virtual machine these days. I must wonder: is this really a good way for new users to experience Linux for the first time?

Perhaps I am just a lazy man, but I cannot imagine having been successful at becoming a full-time Linux user, or even learning a significant amount about it, when using it through VirtualBox or VMWare. It was that push of urgency that I had to make things work or figure out how to do things that made me do it. When I was putzing around with Slackware 3.2, I was forced to spend hours tinkering with things to get them working, or I didn't have the privilege of seeing it work . . . at all. If I had nice, comfortable Windows 95 lurking in the background back then, that circumstance would never have existed.

Plus, what is learning Linux without the thrill of getting X working perfectly with your video card, or finally building that custom kernel just for your hardware and seeing it boot for the first time?

I am not trying to cast any dispersions on those you choose to do this. After all, it seems to be quite a sensible way to "dip one's toe into the water," but I think dual booting or just jumping in headlong would be a more beneficial choice in the long term.

Also, it seems that many more people who are only casually interested are now prone to do this virtual machine Linux experimentation, and thus wind up flooding LQ with half-researched and poorly constructed questions. With dual-booting or all-in switchers, a lot more dedication is required, and a more serious approach to learning is likely.

Just my thoughts . . . what do you guys think?

Last edited by foodown; 02-07-2010 at 01:25 AM.
 
Old 02-07-2010, 02:12 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Different strokes for different folks. Some people prefer to dive right in, others like to ease their way into the water.

I personally started by building a second machine out of spare parts and loading Linux on it, while still using Windows on the other as my main machine while I got used to the new environment. It allowed me to remain productive on a system I was familiar with until I got up to speed on the new one. After about a year-and-a-half of switching back and forth between them, I finally decided to wipe the windows system completely and go straight linux (the fact that it went belly-up at that time and forced a re-install anyway helped that decision ).

OTOH, I consider the decision to switch from Mandrake (now Mandriva) to Debian as being the point where I truly started to learn Linux. I learned much more, and faster, by being forced to deal with the internal workings of the OS, than I did with Mandrake's "user-friendly" hand-holding.

So while in general I agree that the best way to learn is to just take the plunge, there are other factors to consider as well, like whether you can afford to take the time and effort to tackle the steep learning-curve involved in such a quick transition.
 
Old 02-07-2010, 04:23 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I vote no, because of these reasons:

1) Speed - I can't say that any VM runs any OS without any overhead. There's always overhead, and this will probably discourage you from running on OS that you might think is slow based upon running it in a VM.
2) Stability - No VM is perfect, in fact, most are far from perfect. They can introduce bugs that do not exist if you were to run Linux outside the VM.

If you do take these things into account, you can go ahead and use a VM if you have to.
 
Old 02-07-2010, 06:52 AM   #4
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

Rep: Reputation: 60
Hmmmm,

I wanted a choice: "It depends." For someone who is a) already a Windows "power user", b) has a newer PC with plenty of CPU and RAM capacity, and is c) very comfortable with tweaking their computer (i.e. understands hardware, partitions, booting, etc.), it probably doesn't matter too much; a VM might be a fine learning environment and decrease the chance they will screw something up "because they tried Linux."

For the overall PC newbie, like I was when I started, I think you miss out on a lot of the "joys" of burning and booting and working through hardware issues that teach you so much about computers independent of Linux. And if your hardware isn't up to it, a VM will be unsatisfactory in terms of performance.
 
Old 02-07-2010, 09:58 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Sure it is. But the question is, is it still good compared to using "the real thing"? Hardly

I've seen Windows run on virtual machines, so if I had always used Linux systems and somebody tried to convince me to try out Windows running it in a virtual machine, I imagine I wouldn't appreciate the experience much...it is probably the same thing the other way around: it's foreign, and any problems or seem-to-be-problems only get magnified by the added slowness and potential inability to do things (for example 3d hardware accelaration in some cases).
 
Old 02-07-2010, 10:07 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
I can't help but notice how many people asking newbie-type questions are running Linux on a virtual machine these days. I must wonder: is this really a good way for new users to experience Linux for the first time?
Define "really good".

Seriously, it depends.

First, the new user might find it less threatening to install a VM + Linux than to setup dual-boot. (I **know** that dual-boot is better and easier--but only because I have done it a bazillion times.) Another new user might find it easiest to install a separate hard drive (the lowest risk to the existing system).

I would always adocate starting with LiveCD, the installing as dual-boot or Linux only.

Again--it depends....
 
Old 02-07-2010, 10:18 AM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Yes!!!

If not for VirtualBox I would probably have never switched!

It was great to be able to try it without risking Windows, but after a few days of playing around I was confident enough to erase Windows completely and install Linux.

I agree it's limiting, but I think it is less stressful, risky, and complicated, so it lets you freely experiment.

But I think that what REALLY made me switch for good that time (I had a few failed attempts before) is that I spent all day reading Linux command-line tutorials as the 4GB Fedora 11 DVD downloaded.

Last edited by MTK358; 02-07-2010 at 10:22 AM.
 
Old 02-07-2010, 10:19 AM   #8
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I vote no too. Installing a new OS in a virtual environment is marginally better than running a live CD. You learn more about how to manage the virtual environment than learn about the OS that got installed.

Dual boot is much better to learn a new OS while still providing a fallback to the original OS. IMHO learning how to work with the MBR and boot loader is a more valuable learning experience than learning how to work in a virtual environment.
 
Old 02-07-2010, 10:24 AM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by JimBrewster View Post
For the overall PC newbie, like I was when I started, I think you miss out on a lot of the "joys" of burning and booting and working through hardware issues that teach you so much about computers independent of Linux. And if your hardware isn't up to it, a VM will be unsatisfactory in terms of performance.
In my opinion, that all that work and hassle just discourages you from liking Linux.
 
Old 02-07-2010, 11:08 AM   #10
talla
LQ Newbie
 
Registered: Jan 2010
Location: Berlin
Posts: 16

Rep: Reputation: 1
I don't think that building a custom kernel is necessary to call oneself a linux user. If there is an easy way for beginners to get in touch with linux - why shouldn't they go this way?

I know a lot of computer scientists all using ubuntu linux - why? Because you don't have to spend hours with configuration/building issues and have more time to focus on the really interesting things (if somebody likes building kernels and is really into that, building a kernel might indeed be highly interesting) - but for most people it isn't.

(well of course that's only my opinion)

Cheers,

talla

Last edited by talla; 02-07-2010 at 11:11 AM.
 
Old 02-08-2010, 12:01 AM   #11
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Original Poster
Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by talla View Post
I don't think that building a custom kernel is necessary to call oneself a linux user. If there is an easy way for beginners to get in touch with linux - why shouldn't they go this way?
Certainly, you are correct. There is not a requirement that you tinker around under the hood much to be a "real" Linux user. And, as others have pointed out, there is nothing "wrong" with using a VM to experiment . . . and certainly no reason that an interested party couldn't learn what they need to know by doing so.

Heck, I've used VMWare and VirtualBox myself to keep up to date on Solaris, BSD, and some other Linux distros as they've all evolved over the past few years, even while using Slackware just about exclusively on all of my "real" machines, at work and at home.

I still think it's a lousy way for a UNIX neophyte to try to absorb the completely new kind of computing experience which Linux presents. (Yes, even Ubuntu. )
 
Old 02-08-2010, 05:51 AM   #12
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I vote no too. Not just because the lack of pressure to experiment.

If you install Linux in a VM you loose a lot. You are still dependent on the stabilitiy of the host. You are not interfacing with the hardware. You have no proper video acceleration (KDE is unusable without it). Gone is your resilience against virus attacks, because basically you are running on top of an uprotected system. Oh - and you loose about 50% of your processor capacity on a virus scanner. I am not even sure if you can run your Linux firewall inside a Linux guest.

OTOH if you install Linux and run Windows as a guest in a VM because you can't do away yet with Windows you gain a lot in Linux experience. You have a solid platform, well protected. But most important, while you win a lot when installing Linux as your host, you loose almost nothing in your Windows environment. Usually you don't want to tweak or modify Windows on a level beyond which every VM can handle, it is most desktop tweaking and some registry issues you do in Windows, more you are not allowed to do anyway.

So, general recommendation, bit the bullet, install Linux and then a VM if you cannot live without Windows.

jlinkels
 
Old 02-08-2010, 07:35 AM   #13
devwatchdog
Member
 
Registered: Jan 2010
Posts: 202

Rep: Reputation: 47
Quote:
Originally Posted by talla View Post
I don't think that building a custom kernel is necessary to call oneself a linux user. If there is an easy way for beginners to get in touch with linux - why shouldn't they go this way?

I know a lot of computer scientists all using ubuntu linux - why? Because you don't have to spend hours with configuration/building issues and have more time to focus on the really interesting things (if somebody likes building kernels and is really into that, building a kernel might indeed be highly interesting) - but for most people it isn't.

(well of course that's only my opinion)

Cheers,

talla
I agree with you, Talla.

Linux is many things to many different people.

I have gone the route that many here have, that being one installed it on some old hardware and struggled to make things work. It was a great learning experience, no doubt about it.

But.

A business environment, especially now, isn't one where you want to be tinkering with an OS to make things work -- and I don't care what it is. Sometimes it can't be avoided, and when it hits that mark where you're burning time you don't have, calling the vendor for support becomes a very real option. I admin several RHEL/Oracle Unbreakable Linux (HATE that name) servers, and unless we ran a little too close to that bleeding edge hardware-wise, I know exactly what to expect of the OS.

Something else to consider when considering virtualized environments, is that if you're planning on running your servers there, it makes more sense to configure and test your systems that way. One of the factors I love about virtual servers is you can absolutely do whatever you want to one, and as long as you have backed up the image, you can restore it with very little effort.

In many environments, the OS is only a tool used to achieve whatever your goal is. It isn't the focal point. Quickly establishing an efficient, stable platform on which to work is quite often the most important thing. Then again, if one doesn't know the basics, they're probably not going to be in a sysadmin position anyhow.
 
Old 02-08-2010, 03:11 PM   #14
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
I'd say no - until you actually install a OS on your own hardware you are never going to learn all the problems and issues you may come across. VM's are OK but they can only replicate a hardware system so far...
 
Old 02-08-2010, 06:01 PM   #15
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
A VM just isn't the same as running on HW, and you may get issues with the VM itself, but think its a Linux issue.
Try dual booting.

Of course, if your goal is to run under VMs anyway eg devwatchdog, then of course use a VM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
Time skewing on Virtual Machine Debian humbletech99 Linux - General 1 01-03-2008 04:04 PM
Virtual machine software for linux? BobTheSlob Linux - Software 5 09-15-2007 10:02 PM
linux virtual machine software? waelaltaqi Linux - Software 8 01-16-2007 07:47 AM
Which Virtual Machine software is better for Linux? my-unix-dream Linux - Newbie 5 10-16-2006 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration