john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Virtualbox usb attach continued

458945-B21 is a sATA 160 GB

mount -t ntfs-3g /dev/sdc1 /mnt/buffalo-usb/

12:59 ... VBoxManage clonehd andersmail-disk2.vdi /mnt/buffalo-usb/andersmail-disk2.vdi renice -10 8502 //pid of ps aux virtualbox services

13:05 = 20%


14:20

VBoxManage showvminfo andersmail VBoxManage modifyvm andersmail --sataport2 none VBoxManage showvminfo andersmail

VBoxManage list hdds VBoxManage closemedium disk andersmail-disk2.vdi VBoxManage list hdds

VBoxManage openmedium disk /mnt/buffalo-usb/andersmail-disk2.vdi VBoxManage list hdds

VBoxManage modifyvm andersmail --sataport2 andersmail-disk2.vdi VBoxManage showvminfo andersmail

VBoxHeadless -s andersmail




yum install usbutils

sudo lsusb

Bus 002 Device 001: ID 0000:0000 Bus 001 Device 005: ID 0411:0108 MelCo., Inc. Bus 001 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 006 Device 003: ID 03f0:1327 Hewlett-Packard Bus 006 Device 001: ID 0000:0000 Bus 006 Device 002: ID 03f0:1027 Hewlett-Packard

VBoxManage list usbhost

UUID: 7cfca4ba-a379-40bb-95b1-9b72d54c8919 VendorId: 0x0411 (0411) ProductId: 0x0108 (0108) Revision: 1.4 (0104) Manufacturer: BUFFALO Product: USB-SATA Bridge SerialNumber: 0000000201FBBDB Address: /proc/bus/usb/001/005 Current State: Busy

VBoxManage controlvm andersmail usbattach 7cfca4ba-a379-40bb-95b1-9b72d54c8919

  • Using HAL, have it execute 'VBoxManage controlvm usbattach' each time a usb device is attached to the system.

set /sbin/lsusb -d ${ID_VENDOR}:${ID_MODEL}| sed 's/:.*//g'


384852-B21 HP 72GB 3G SAS 15K 3.5" DP ENT HDD

375868R-B21


  • « php database mysql tutorial
  • Virtualbox 3 1 commandline summary »

Published

Mar 25, 2010

Category

virtualization

~196 words

Tags

  • attach 1
  • continued 26
  • usb 7
  • virtualbox 36
  • virtualization 87