LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Virtualbox host 10.04 guest question (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/virtualbox-host-10-04-guest-question-905863/)

texas.chef94 09-30-2011 08:26 PM

Virtualbox host 10.04 guest question
 
1 Attachment(s)
Know absolutely zilch about VB but curious as all get out.
Installed VB and my question is on the guest and I would like Mint11, is it loaded from the ISO or must I burn it.
The attachment is merely where I am presently and any suggestions appreciated
Thanks

rustek 09-30-2011 09:31 PM

Hi,

For AllenVB

Settings
Storage
IDE Controller press the plus (Add CD/DVD Device)
Choose disk

find your .iso then
Open
OK

Start AllenVB and it should boot off the iso.

Russ

texas.chef94 10-01-2011 06:45 AM

VB Host 10.04 guest question
 
Quote:

Originally Posted by rustek (Post 4486862)
Hi,

For AllenVB

Settings
Storage
IDE Controller press the plus (Add CD/DVD Device)
Choose disk

find your .iso then
Open
OK

Start AllenVB and it should boot off the iso.

Russ

Russ:
many thanks for your speedy specific reply. An 80 year old off on another Linux adventure:hattip:

texas.chef94 10-01-2011 07:24 AM

Virtualbox host 10.04 guest question
 
Hey Russ or any other available patient VB user.
My Linux adventure was pretty short lived, but obviously not because of your suggestion.
1. I tried with debian ISO and got a kernel error message so I had a disk for dream that
I knew was good as I had it installed once in a multiple boot so I inserted it into the CD ROM drive
went to VB followed instructions and received this:
Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
ready to admit this may be way over my 80 year old brain, but just had to post it:banghead:

rustek 10-01-2011 08:01 AM

In a root terminal:

Code:

apt-get update
CURRENT=$(/bin/uname -r)
apt-get install linux-headers-"$CURRENT" build-essential virtualbox-4.0
/etc/init.d/vboxdrv setup

Change this if your virtualbox version is different.

This should fix it.

texas.chef94 10-01-2011 09:25 AM

Quote:

Originally Posted by rustek (Post 4487135)
In a root terminal:

Code:

apt-get update
CURRENT=$(/bin/uname -r)
apt-get install linux-headers-"$CURRENT" build-essential virtualbox-4.0
/etc/init.d/vboxdrv setup

Change this if your virtualbox version is different.

This should fix it.

Thanks for staying with me. Look at results
allen@allen-laptop:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock the list directory
allen@allen-laptop:~$ apt-get install linux-headers
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
allen@allen-laptop:~$

rustek 10-01-2011 09:36 AM

My answers are too short sometimes.

You have to be root to execute those commands.

From the allen@allen-laptop:~$ prompt, type;
Code:

sudo bash
to become root, then you can enter the other commands.

when your done, "Control d" will take you back to being allen.

While your root you may want to enter;
Code:

adduser allen vboxusers
to add allen to the group vboxusers, it's ok if it is already so it won't hurt anything.


Russ

texas.chef94 10-01-2011 10:23 AM

Quote:

Originally Posted by rustek (Post 4487199)
My answers are too short sometimes.

You have to be root to execute those commands.

From the allen@allen-laptop:~$ prompt, type;
Code:

sudo bash
to become root, then you can enter the other commands.

when your done, "Control d" will take you back to being allen.

While your root you may want to enter;
Code:

adduser allen vboxusers
to add allen to the group vboxusers, it's ok if it is already so it won't hurt anything.


Russ

Do I have to do something else here???
allen@allen-laptop:~$ sudo bash
[sudo] password for allen:
root@allen-laptop:~# /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS /etc/init.d/vboxdrv setup
[ OK ]
* Starting VirtualBox kernel modules [ OK ]
root@allen-laptop:~# /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS

rustek 10-01-2011 10:26 AM

That looks like success to me.

If you get the "Kernel driver not installed" message again, try a reboot.

If that doesn't work do all the commands I gave before to get and build the modules.

Have fun.

Russ

rustek 10-01-2011 10:37 AM

Are you saying it got stuck on the last line?

texas.chef94 10-01-2011 12:46 PM

Quote:

Originally Posted by rustek (Post 4487286)
Are you saying it got stuck on the last line?

My concern was that trying to register line, but been away from PC and will now giv it another shot with what I have. And as you suggested I will reboot given error and as well go through all commands again

texas.chef94 10-01-2011 01:27 PM

VB Host 10.04 guest question
 
1 Attachment(s)
Russ:
Never meant to involve someone so long. Loading guest is solved. Tried Suse gave me a some stuff about cannot use 64 bit on 32 bit machine
and nine is 64 bit so passed. loaded dreamlinux and got as far as attachment

rustek 10-01-2011 01:42 PM

We have had trouble with DKMS and virtualbox on a couple machines in that they don't update the kernel modules correctly, that's why I know how to do it :)

Sometimes they fix themselves on the second boot, and sometimes I have to make and install the modules manually like I showed you.

Same software, different hardware, one works, one doesn't, go figure?
Only seem to have the trouble with virtualbox.

Make sure you put the version your using in the command, ie. virtualbox-4.1 or virtualbox-4.0

Russ

rustek 10-01-2011 01:55 PM

Your original post has a screenshot that says the VM is OS2/warp.

You will probably have to make a new VM and set it to better match the OS your trying to load on it.

Remember the VM is the machine as far as what your loading on it is concerned.
Try
OperatingSystem: Linux
Version: openSUSE (64 bit)

80yearold 10-02-2011 10:24 AM

Quote:

Originally Posted by rustek (Post 4487406)
Your original post has a screenshot that says the VM is OS2/warp.

You will probably have to make a new VM and set it to better match the OS your trying to load on it.

Remember the VM is the machine as far as what your loading on it is concerned.
Try
OperatingSystem: Linux
Version: openSUSE (64 bit)

Russ:
I want to thank you for your patience and for in effect giving me quite an education.
For all intents and purpose the original thread and concern has been solved. Please tell me
how to indicate that on forum. By way when I reinstalled VB I went from 4.1.2 and thought I would try OSE which works great for me
Again thank you
An after thought, with win as host and Ubuntu as guest or any guest for that matter is there any way increase size of guest viewing screen
I feel there is not but hey does not hurt to ask. Using 4.1.2
Thanks again


All times are GMT -5. The time now is 09:52 PM.