吴贺华 发表于 2015-4-15 10:50:58

[quote] Using RAW Devices In VirtualBox VMs

  Original URL
  http://www.howtoforge.com/using-raw-devices-in-virtualbox-vms-p2
  
  How to access a second .vdi image created in virtualbox stoage tab.
  
  
  Disk /dev/sdb: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table
  
  You can now use this drive as you would normally do, e.g. partition it...
fdisk /dev/sdb
  root@vm10:~# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x862fb2cf.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help):
页: [1]
查看完整版本: [quote] Using RAW Devices In VirtualBox VMs