Re: [ubuntu-in] Questions regarding Virtualbox

2009-08-06 Thread Ritesh Sinha
On Thu, Aug 6, 2009 at 8:04 PM, Ritesh Sinha wrote:
> On Thu, Aug 6, 2009 at 4:29 PM, Ramnarayan.K wrote:
>> thanks,
>>
>> one question i still cannot address:
>>
>>
>>> | Finally i am unable to setup access to a USB device - added it from
>>> | settings nothing happens, the device shows up faded out under the USB
>>> | devices menu.
>>
>>
>> would appreciate help on this too
>>
>> ram
>>
>> --
>> ubuntu-in mailing list
>> ubuntu-in@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>>
>
> Hi Ram,
>
> It is possible that since Virtualbox insists on raw device access
> (this is speculation, of course), you aren't able to pull it off as a
> normal user. For testing purposes try running virtualbox as root (sudo
> virtualbox from terminal) and then give it a shot.
>
> If it works then it is a permissions issue for sure, otherwise we have
> to look at other possible solutions.
>
> Regards,
> Ritesh
>

Apologies for replying to my own post, but you can try this as well
(after the previously mentioned workaround). Remember to back up your
fstab file!!

$ sudo cp /etc/fstab /etc/fstab.bak

Add the following line to /etc/fstab: none /proc/bus/usb usbfs
devgid=46,devmode=664 0 0 as follows:

gksudo gedit /etc/fstab

and add to the end of the file:

#usbfs
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

Basically this gives permissions of Read, Write to owner and group
(66) and read permissions to others (4) to the usbfs.

Sourced from : http://ubuntuforums.org/archive/index.php/t-980165.html

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Questions regarding Virtualbox

2009-08-06 Thread Ritesh Sinha
On Thu, Aug 6, 2009 at 4:29 PM, Ramnarayan.K wrote:
> thanks,
>
> one question i still cannot address:
>
>
>> | Finally i am unable to setup access to a USB device - added it from
>> | settings nothing happens, the device shows up faded out under the USB
>> | devices menu.
>
>
> would appreciate help on this too
>
> ram
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>

Hi Ram,

It is possible that since Virtualbox insists on raw device access
(this is speculation, of course), you aren't able to pull it off as a
normal user. For testing purposes try running virtualbox as root (sudo
virtualbox from terminal) and then give it a shot.

If it works then it is a permissions issue for sure, otherwise we have
to look at other possible solutions.

Regards,
Ritesh

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Questions regarding Virtualbox

2009-08-06 Thread Ramnarayan.K
thanks,

one question i still cannot address:


> | Finally i am unable to setup access to a USB device - added it from
> | settings nothing happens, the device shows up faded out under the USB
> | devices menu.


would appreciate help on this too

ram

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Questions regarding Virtualbox

2009-08-02 Thread Sameep
| Hi
| 
| I successfully installed and set up virtualbox on my Ubuntu 9.04
| system.
| 
| Its the CSE edition meaning it has USB support built in (as opposed
| to
| the open source edition which does not)
| 
| I installed PCLINUXOS as the guest OS, it installed well and works
| well,
| 
| I had a few questions
| 1. I alloted 1024 MB as RAM for the guest system - will this mean
| that
| when the Virtualized environment is not running it will continue to
| not be available to the main system ??

The RAM is only allocated when your VirtualBox VM is running.

| 
| 2. I could not get the virtualized guest system to work on a
| partition
| of my choice - it landed it up in my /home/user  - is there a way to
| change this ??

The default directory for the disk image [.vdi] is the home directory. You can 
either choose a different directory while creating the disk image or move it 
later using VBoxManage. You can't copy paste it [I think] because the disk 
image is linked to a UUID . The command should be something like :

VBoxManage clonevdi ~/.VirtualBox/VDI/PcLinuxOS.vdi 
/media/disk/PCLinuxOS_Backup.vdi

This command generates a new UUID for the disk which you can use in a new VM.


| Finally i am unable to setup access to a USB device - added it from
| settings nothing happens, the device shows up faded out under the USB
| devices menu.
| 
| Any idea what to do - will appreciate help
| 
| Also thanks to Sarfaraz and Sameep for advising when i was querying
| about how to install.
| 
| regards
| ram
| 
| -- 
| ubuntu-in mailing list
| ubuntu-in@lists.ubuntu.com
| https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Questions regarding Virtualbox

2009-08-02 Thread Sarfaraz Kazi
2009/8/2 Ramnarayan.K :
> Finally i am unable to setup access to a USB device - added it from
> settings nothing happens, the device shows up faded out under the USB
> devices menu.
>
> Any idea what to do - will appreciate help

You can try a few things. Go to Machine > Settings and click on USB in
the left pane and confirm that both the checkboxes are enabled.

Secondly, with your USB drive connected, click on the "Add filter from
device" button on the right-hand side. This will show you the
connected USB drive, just select it. Then unmount the USB drive. After
this load, load your virtual machine and then connect the USB device.
Now hopefully the device will show up.

Regards,
Sarfaraz

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] Questions regarding Virtualbox

2009-08-02 Thread ಮಲ್ಲಿಕಾರ್ಜುನ್
On Sun, Aug 2, 2009 at 4:31 PM, Ramnarayan.K  wrote:

> Hi
>
> I successfully installed and set up virtualbox on my Ubuntu 9.04 system.
>
> Its the CSE edition meaning it has USB support built in (as opposed to
> the open source edition which does not)
>
> I installed PCLINUXOS as the guest OS, it installed well and works well,
>
> I had a few questions
> 1. I alloted 1024 MB as RAM for the guest system - will this mean that
> when the Virtualized environment is not running it will continue to
> not be available to the main system ??

Yes, it will be available for use in the main system.

>
>
> 2. I could not get the virtualized guest system to work on a partition
> of my choice - it landed it up in my /home/user  - is there a way to
> change this ??

You can create a vdi file which a virtual partition can be create anywhere,
just go to Machine-->settings-->Harddisks and create one where you want.
This is movable partition but before you open the virtual environment point
to new location.

>
>
> Finally i am unable to setup access to a USB device - added it from
> settings nothing happens, the device shows up faded out under the USB
> devices menu.
>
Sorry, I never tried USB on virtual system, someone else can help you in
this matter.

>
> Any idea what to do - will appreciate help
>
> Also thanks to Sarfaraz and Sameep for advising when i was querying
> about how to install.
>
> regards
> ram
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in