Forum Home
Press F1
 
Thread ID: 146600 2018-09-26 18:07:00 WinXP-P On VM? SurferJoe46 (51) Press F1
Post ID Timestamp Content User
1453833 2018-09-27 14:02:00 I don't know if I can help you with Mint 17 but here goes, copy and paste my commands

Don't screw some of them up, else we have to unscrew the problem. In terminal to copy you do Ctrl+Shift+C, to paste Ctrl+Shift+V (you're just adding a shift key to the key combination because terminal uses the control key to add control characters e.g. Ctrl+C is ^C which is keyboard interrupt, breaks out of the current command.


inxi -SCrx
My Results (yours will look different):

System: Host: Development Kernel: 4.15.0-34-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9) Distro: Linux Mint 18.3 Sylvia
CPU: Dual core Intel Core i5-4210U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9577
clock speeds: max: 2700 MHz 1: 2394 MHz 2: 2431 MHz 3: 2408 MHz
4: 2457 MHz
Repos: Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
deb download.virtualbox.org xenial contrib
Active apt sources in file: /etc/apt/sources.list.d/jonathonf-python-3_6-xenial.list
deb ppa.launchpad.net xenial main
deb-src ppa.launchpad.net xenial main
Active apt sources in file: /etc/apt/sources.list.d/nilarimogard-webupd8-xenial.list
deb ppa.launchpad.net xenial main
deb-src ppa.launchpad.net xenial main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb ucmirror.canterbury.ac.nz sylvia main upstream import backport
deb ucmirror.canterbury.ac.nz xenial main restricted universe multiverse
deb ucmirror.canterbury.ac.nz xenial-updates main restricted universe multiverse
deb ucmirror.canterbury.ac.nz xenial-backports main restricted universe multiverse
deb security.ubuntu.com xenial-security main restricted universe multiverse
deb archive.canonical.com xenial partner
Active apt sources in file: /etc/apt/sources.list.d/official-source-repositories.list
deb-src ucmirror.canterbury.ac.nz sylvia main upstream import backport
deb-src ucmirror.canterbury.ac.nz xenial main restricted universe multiverse
deb-src ucmirror.canterbury.ac.nz xenial-updates main restricted universe multiverse
deb-src ucmirror.canterbury.ac.nz xenial-backports main restricted universe multiverse
deb-src security.ubuntu.com xenial-security main restricted universe multiverse
deb-src archive.canonical.com xenial partner

I run the 4.15 kernel that is 64bit. So I'm running a 64bit OS. My desktop environment is Cinnamon which is heavily based on Gnome/Gtk. My distro is Linux Mint 18.3 Sylvia which is based on Ubuntu 16 Xenial. My CPU flag shows "lm" this means my processor is 64bit, there's also "vmx" (intel) or you could see "svm" (amd), this means I have virtualisation enabled in my BIOS. You should be able to see at the top of my Repos list, I already have the repository for virtualbox added. I use to run it on this machine but removed it. Although a lot of what I've said isn't related to installing virtualbox, it's important to understand.

My kernel is 64bit, I can run 32bit kernel/software on a 64bit processor, the kernel determines what bits your OS is (32/64) but does not determine what your CPU is capable of handling.

When installing software, knowing the desktop environment should make you aim for that kind of software. You noticed virtualbox-qt but preferably, if you were running Cinnamon, you would want virtualbox-gtk if it exists. qt software is suitable for KDE. You can mix, but the bloat that comes with the software is literally all the software needed for the other desktop environment.

Knowing what your Linux Mint is based on is very important, when looking for compatible software. If you look at your repos list, you will see lines with ubuntu (based_on_name). In my case xenial, so now I can look for software that can work with Ubuntu 16 Xenial too (Ubuntu is more common to see supported but know that your Mint is compatible with it). Ubuntu 16 Xenial is based on Debian 8 Jessie, so we can assume we are compatible with that.

OK, check your repos out and see if you have virtualbox in there, if not, let's add it:

The following command requires utmost accuracy (do not repeat this command once it is done, also note xenial may need to be changed):

echo "deb download.virtualbox.org xenial contrib" | sudo tee -a /etc/apt/sources.list.d/additional-repositories.list

This adds the deb line to the file. So let's check it's right:


cat /etc/apt/sources.list.d/additional-repositories.list
Result:

deb download.virtualbox.org xenial contrib

It just showed me what was inside that file, only that one line.

We now need to update our lists with the new information. (Always needed if you add/remove lists or checking for new software or updates)


sudo apt update

Then we search because we don't guess (the more accurate your search term, the fewer the results but you may not hit your needed result):


apt search virtualbox
Results:

p unity-scope-virtualbox - VirtualBox scope for Unity
p virtualbox - x86 virtualization solution - base binaries
p virtualbox:i386 - x86 virtualization solution - base binaries
p virtualbox-5.0 - Oracle VM VirtualBox
p virtualbox-5.0:i386 - Oracle VM VirtualBox
p virtualbox-5.1 - Oracle VM VirtualBox
p virtualbox-5.1:i386 - Oracle VM VirtualBox
p virtualbox-5.2 - Oracle VM VirtualBox
p virtualbox-5.2:i386 - Oracle VM VirtualBox
p virtualbox-dbg - x86 virtualization solution - debugging symbols
p virtualbox-dbg:i386 - x86 virtualization solution - debugging symbols
p virtualbox-dkms - x86 virtualization solution - kernel module sources for dkms
c virtualbox-ext-pack - extra capabilities for VirtualBox, downloader.
p virtualbox-guest-additions-iso - guest additions iso image for VirtualBox
p virtualbox-guest-dkms - x86 virtualization solution - guest addition module source for dkms
p virtualbox-guest-dkms-hwe - x86 virtualization solution - guest addition module source for dkms
v virtualbox-guest-modules -
v virtualbox-guest-modules:i386 -
p virtualbox-guest-source - x86 virtualization solution - guest addition module source
p virtualbox-guest-source-hwe - x86 virtualization solution - guest addition module source
p virtualbox-guest-utils - x86 virtualization solution - non-X11 guest utilities
p virtualbox-guest-utils:i386 - x86 virtualization solution - non-X11 guest utilities
p virtualbox-guest-utils-hwe - x86 virtualization solution - non-X11 guest utilities
p virtualbox-guest-utils-hwe:i386 - x86 virtualization solution - non-X11 guest utilities
p virtualbox-guest-x11 - x86 virtualization solution - X11 guest utilities
p virtualbox-guest-x11:i386 - x86 virtualization solution - X11 guest utilities
p virtualbox-guest-x11-hwe - x86 virtualization solution - X11 guest utilities
p virtualbox-guest-x11-hwe:i386 - x86 virtualization solution - X11 guest utilities
v virtualbox-modules -
p virtualbox-qt - x86 virtualization solution - Qt based user interface
p virtualbox-qt:i386 - x86 virtualization solution - Qt based user interface
p virtualbox-source - x86 virtualization solution - kernel module source

This command finds most programs with virtualbox in the name and/or description. The apt command can do some weird and inaccurate things at times. Anyways, looking at the results I can say you want to now install virtualbox-5.2 but lets make sure it is right because you need to know your way around "apt".


apt show virtualbox-5.2
Results:

Package: virtualbox-5.2
Version: 5.2.18-124319~Ubuntu~xenial
Priority: optional
Section: contrib/misc
Maintainer: Oracle Corporation <info@virtualbox.org>
Installed-Size: 187 MB
Provides: virtualbox
Pre-Depends: debconf (>= 1.1) | debconf-2.0
Depends: libc6 (>= 2.15), libcurl3 (>= 7.16.2), libdevmapper1.02.1 (>= 2:1.02.97), libfontconfig1 (>= 2.11.94), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.4), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.12.0), libice6 (>= 1:1.0.0), libopus0 (>= 1.1), libpng12-0 (>= 1.2.13-4), libsdl1.2debian (>= 1.2.11), libsm6, libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 5.2), libvpx3 (>= 1.5.0), libx11-6, libx11-xcb1, libxcb1 (>= 1.8), libxcursor1 (>> 1.1.2), libxext6, libxinerama1, libxml2 (>= 2.7.4), libxmu6, libxrender1, libxt6, zlib1g (>= 1:1.1.4), psmisc, adduser
Recommends: libasound2, libpulse0, libsdl-ttf2.0-0, kmod | kldutils | module-init-tools, linux-headers-generic | linux-headers-generic-pae | linux-headers-686-pae | linux-headers-amd64 | linux-headers-2.6-686 | linux-headers-2.6-amd64 | linux-headers, linux-image, gcc, make | build-essential | dpkg-dev, binutils, pdf-viewer, libgl1
Conflicts: virtualbox, virtualbox-guest-additions-iso, virtualbox-ose
Replaces: virtualbox
Python-Version: 2.7
Download-Size: 73.5 MB
APT-Sources: download.virtualbox.org xenial/contrib amd64 Packages
Description: Oracle VM VirtualBox
VirtualBox is a powerful PC virtualization solution allowing you to run a
wide range of PC operating systems on your Linux system. This includes
Windows, Linux, FreeBSD, DOS, OpenBSD and others. VirtualBox comes with a broad
feature set and excellent performance, making it the premier virtualization
software solution on the market.

What you want to see is if this package is coming from where you believe it should come from, so you look at APT-Sources and see that it's using the site we added. Compare it to say just "virtualbox" (apt show virtualbox) if you like, and see that it's using the default repository, not what we wanted. So we know what one we need now, so we can install it:


sudo apt install virtualbox-5.2

Now some words of advice. Always seek information on installing from the official website, never follow tutorials without first understanding if their information still applies to you, things can change that the information is not fresh. I've given you commands to help you understand more on what you're doing. Do not install any other virtualbox items unless it's now from the same place, you can not mix the official repository package with your additional, this is why it's never recommend to install additional, because people just make a mess of their computer mixing new with the old and causing problems like broken packages or unable to update packages, etc. The official repository may run older versions... but it's tested and known to work, the latest and greatest may not be so great (in my opinion... it is awesome! but you need to use an OS that works like that, like Manjaro with Cinnamon my favourite Linux distro and desktop).

I'll leave you to testing it out, it should be in the Menu somewhere. Normally I open the menu (Win key) then start typing vir...tualbox till I see it and select it.
Kame (312)
1453834 2018-09-27 19:52:00 Where is the world expert on everything when these technical questions arise? gary67 (56)
1453835 2018-09-27 20:51:00 Where is the world expert on everything when these technical questions arise?Running the other way or hiding knowing someone else who actually has knowledge will sort the problem ;) wainuitech (129)
1453836 2018-09-28 17:17:00 I don't know if I can help you with Mint 17 but here goes, copy and paste my commands

Don't screw some of them up, else we have to unscrew the problem . In terminal to copy you do Ctrl+Shift+C, to paste Ctrl+Shift+V (you're just adding a shift key to the key combination because terminal uses the control key to add control characters e . g . Ctrl+C is ^C which is keyboard interrupt, breaks out of the current command .

<BIG snip>

I run the 4 . 15 kernel that is 64bit . So I'm running a 64bit OS . My desktop environment is Cinnamon which is heavily based on Gnome/Gtk . My distro is Linux Mint 18 . 3 Sylvia which is based on Ubuntu 16 Xenial . My CPU flag shows "lm" this means my processor is 64bit, there's also "vmx" (intel) or you could see "svm" (amd), this means I have virtualisation enabled in my BIOS . You should be able to see at the top of my Repos list, I already have the repository for virtualbox added . I use to run it on this machine but removed it . Although a lot of what I've said isn't related to installing virtualbox, it's important to understand .

My kernel is 64bit, I can run 32bit kernel/software on a 64bit processor, the kernel determines what bits your OS is (32/64) but does not determine what your CPU is capable of handling .

When installing software, knowing the desktop environment should make you aim for that kind of software . You noticed virtualbox-qt but preferably, if you were running Cinnamon, you would want virtualbox-gtk if it exists . qt software is suitable for KDE . You can mix, but the bloat that comes with the software is literally all the software needed for the other desktop environment .

Knowing what your Linux Mint is based on is very important, when looking for compatible software . If you look at your repos list, you will see lines with ubuntu (based_on_name) . In my case xenial, so now I can look for software that can work with Ubuntu 16 Xenial too (Ubuntu is more common to see supported but know that your Mint is compatible with it) . Ubuntu 16 Xenial is based on Debian 8 Jessie, so we can assume we are compatible with that .

OK, check your repos out and see if you have virtualbox in there, if not, let's add it:

The following command requires utmost accuracy (do not repeat this command once it is done, also note xenial may need to be changed):

echo "deb . virtualbox . org/virtualbox/debian" target="_blank">download . virtualbox . org xenial contrib" | sudo tee -a /etc/apt/sources . list . d/additional-repositories . list

This adds the deb line to the file . So let's check it's right:

<another snip>

What you want to see is if this package is coming from where you believe it should come from, so you look at APT-Sources and see that it's using the site we added . Compare it to say just "virtualbox" (apt show virtualbox) if you like, and see that it's using the default repository, not what we wanted . So we know what one we need now, so we can install it:


sudo apt install virtualbox-5 . 2

Now some words of advice . Always seek information on installing from the official website, never follow tutorials without first understanding if their information still applies to you, things can change that the information is not fresh . I've given you commands to help you understand more on what you're doing . Do not install any other virtualbox items unless it's now from the same place, you can not mix the official repository package with your additional, this is why it's never recommend to install additional, because people just make a mess of their computer mixing new with the old and causing problems like broken packages or unable to update packages, etc . The official repository may run older versions . . . but it's tested and known to work, the latest and greatest may not be so great (in my opinion . . . it is awesome! but you need to use an OS that works like that, like Manjaro with Cinnamon my favourite Linux distro and desktop) .

I'll leave you to testing it out, it should be in the Menu somewhere . Normally I open the menu (Win key) then start typing vir . . . tualbox till I see it and select it .

OK . . . . as this is very informative and long, I'm going to print it out to read on hardcopy .

However . . . . . your post is a serious blast of fresh air in what has been a doldrum for me when I ask on the "Official Sites" .

There, I usually get treated like the crazy aunt you keep locked in the attic when company comes . Information is kept under lock and key and is secretly giggled about and demonized for those who really want to learn . . . . . in spite of the codekiddies desire to keep it all to themselves .

Until information . . . . such as you've posted . . . . . is made available to user's of L-based operating systems, I see a large impediment to Linux being better accepted by the general public . . . . . especially those who are tired of the Kubla Khan-ish attitude of M$'s newest iteration for world domination .
SurferJoe46 (51)
1453837 2018-09-28 20:45:00 You are correct Joe trying to get Linux help is like pulling teeth. The distros I have tried in the past I have generally liked but I don't have the time to learn all the intricacies when I have a fully working no nonsense, no issues Windows 10.

As for dictatorial tactics Windows has nothing on Crapple the biggest dictators in computing for years and look at their indoctrinated fanbase.
gary67 (56)
1453838 2018-09-29 06:05:00 joseph@SurfersMintu1 ~ $ inxi -SCrx
System: Host: SurfersMintu1 Kernel: 4 . 4 . 0-121-generic x86_64 (64 bit gcc: 4 . 8 . 4)
Desktop: Cinnamon 2 . 8 . 8 (Gtk 3 . 10 . 8~8+qiana)
Distro: Linux Mint 17 . 3 Rosa
CPU: Single core Intel Pentium 4 (-HT-) cache: 1024 KB
flags: (lm nx sse sse2 sse3) bmips: 5984
clock speeds: max: 2992 MHz 1: 2992 MHz 2: 2992 MHz
Repos: Active apt sources in file: /etc/apt/sources . list . d/getdeb . list
deb . getdeb . net/ubuntu" target="_blank">archive . getdeb . net trusty-getdeb apps
Active apt sources in file: /etc/apt/sources . list . d/mongodb-org-3 . 0 . list
deb . mongodb . org/apt/ubuntu" target="_blank">repo . mongodb . org trusty/mongodb-org/3 . 0 multiverse
Active apt sources in file: /etc/apt/sources . list . d/official-package-repositories . list
deb . clarkson . edu/linuxmint/packages" target="_blank">mirror . clarkson . edu rosa main upstream import
deb http://extra . linuxmint . com rosa main
deb . ubuntu . com/ubuntu" target="_blank">archive . ubuntu . com trusty main restricted universe multiverse
deb . ubuntu . com/ubuntu" target="_blank">archive . ubuntu . com trusty-updates main restricted universe multiverse
deb . ubuntu . com/ubuntu/" target="_blank">security . ubuntu . com trusty-security main restricted universe multiverse
deb . canonical . com/ubuntu/" target="_blank">archive . canonical . com trusty partner
joseph@SurfersMintu1 ~ $


I see a problem right away . My test reports a single processor and it is not a single . I wonder what's up with that?

Yet --- look at this line and tell me if I am seeing duals?

clock speeds: max: 2992 MHz 1: 2992 MHz 2: 2992 MHz
SurferJoe46 (51)
1453839 2018-09-29 06:46:00 That very well could be the problem the Pentium cant handle or support Virtualization Technology . A Pentium would be struggling even if it did.

Which is what I mentioned earlier,
One thing you HAVE to be sure of is if the HOST Computer is VM capable.

One way that should work is to dual boot XP / Linux (totally different to a VM).

I personally use Hyper-V, but that's Windows Based of course the Hardware still needs to be capable.

I was wondering why this was little slower today :confused: :rolleyes: - OOPS!! forgot to turn off the other OS :D , as you can see theres first two are Linux OS's as well.

9055
wainuitech (129)
1453840 2018-09-29 07:45:00 Hey Joe, Pentium 4 are single core. Hyper-threading was Intel's way of running multiple threads on a single core to act and appear as if it were two logical processors. However, it still shares a single cache and any heavy work it does with multiprocessing will bring your system to a crawl.

I think this command will give you more information:


lscpu

You could still try virtualbox out, if you had vmx/smd as well that would have helped too but this could turn out to be too slow. Whether you'll have problems installing virtualbox, I don't know, I've only installed it with processors I knew could handle running virtual machines.
Kame (312)
1 2