10 Aralık 2010 Cuma

mount a usb to a sun virtual machine

lease follow the steps below:

1) Insert the usb disk which you want to mount to the sun virtual box.

2) In the sun virtual box user interface press the "settings" in the operating system that you want to study.

3) Press "Usb" in the settings menu. Press "Add filter From Device (Alt-Ins)".

4) The list of the usb devices will be shown after you press "Add filter from device" button. Select the usb device that you want to insert.

5) Hit "ok" to save the modifications.

6) Start the operating system that you want to work with.

7) After all, you have to "mount" the usb folder to a folder in your operating system. In the /dev folder you have to observe the "sda" folder which is the folder for the usb device. The name of the folder shall not be sda. It shall be "sda", "sda1", "sda2",.. or "sdb", "sdc" etc.

8) Then, you have to create a folder to map the usb device folder. Threrefore, run the command below in the command line:

[code]
mkdir   /mnt/sda1
[/code]

This command means that in the mnt folder we created a folder named "sda1". This is the folder that we will map the device.

9) Finally, enter the command in the command line:


[code]
mount    /dev/sda1      /mnt/sda1
[/code]

In this command the device mapped to a folder in your own system.

Now, you are ready to get and add folders to your usb disk.