CFで動いてたLinuxをVirtualBoxで起動できるようにしたい
CFイメージの吸出し
$ cat /proc/partitions $ dd if=/dev/sdc of=hoge.bin
イメージの変換
Usage:
VBoxManage convertfromraw <filename> <outputfile>
[--format VDI|VMDK|VHD]
[--variant Standard,Fixed,Split2G,Stream,ESX]
VBoxManage convertfromraw stdin <outputfile> <bytes>
[--format VDI|VMDK|VHD]
[--variant Standard,Fixed,Split2G,Stream,ESX]rawイメージ(この場合パーティションじゃなくてディスク丸ごと)をvdiファイルに変換する。
オプションを何もつけないと、圧縮しながらvdiに変換する。
> PATH %PATH%;C:\Program Files\Sun\VirtualBox > cd D:\VirtualBox\VDI > VBoxManage convertfromraw hoge.bin hoge.vdi