http://itheiso.blogspot.tw/2013/01/kvmubuntu-1204-lts.html
Windows虛擬機器效能調整
如果想讓Windows虛擬機器在KVM中有比較好的效能,可以安裝virtio驅動程式來提昇虛擬機器中的硬碟及網路卡速度。請先到 http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/ 下載最新版本的virtio(本範例版本為virtio-win-0.1-30.iso),接著先將Windows的虛擬機器關機,並從虛擬機器管理員編輯虛擬機器細節,將下載的virtio-win-0.1-30.iso掛載到IDE CDROM 1(先將原先Windows7的安裝光碟斷線再連線,並指定virtio-win-0.1-30.iso檔的位置),接著再加入硬體,新增一個Storage儲存裝置,並指定裝置類型為Virtio disk,然後將網路界面(NIC)的裝置類型也改為virtio,最後就可以將Windows虛擬機器再度開啟。
Virtio disk
Windows虛擬機器再度開啟之後,裝置管理員中會產生二個有驚嘆號的裝置,分別是Ethernet控制卡和SCSI控制卡,只要更新此二個裝置的驅動程式,並將驅動程式的位置指向剛剛掛載virtio的光碟機就可以正確安裝。
安裝完畢請再度將Windows虛擬機器關機,並再次從虛擬機器管理員編輯虛擬機器細節,移除剛剛新增的0.1G虛擬硬碟(請勿刪錯磁碟),再將原先安裝Windows系統的IDE Disk 1之虛擬磁碟型態改為Virtio,然後再重新開啟Windows虛擬機器。如此就可以提昇Windows的效能。
IDE to Virtio
1、
apt-get update
apt-get install ntfs-3g
2、fdisk -l 看有沒有找到usb hdd
blkid use uuid 3、根目錄底下有mnt
mount -t ntfs /dev/sdxxxx /mnt
When you get error like this
Loading, please wait…
Volume group “pve” not found
Cannot process volume group pve
Unable to find LVM volume pve/root
like this picture
just reboot then
choese menu
Advanced options for Proxmox Virutal Enviroment
then press e
then add rootdelay=2 after pve-root ro quiet
before
after
then ctrl+x now can boot success!
!!! remeber change /boot/grub/grub.cfg https://forum.proxmox.com/threads/solved-proxmox-4-pve-not-found-after-first-start.24702/
https://pve.proxmox.com/wiki/Windows_10_guest_best_practices
http://blog.pulipuli.info/2014/10/proxmox-ve-add-another-hard-disk-in.html
1、找硬碟
ls /dev/sd* (sata is sd, ide is hd)
2、碟磁分割
fdisk /dev/sd*
a. n (new)
b.p (primary)
c. enter
d. enter
e. enter
f. w (寫入)
c d e 操作是使用整個硬碟空間
3、格式化
mkfs -t ext3 /dev/sd*
4、掛截磁碟
a.建目錄 mkdir aaa
b.寫 /etc/fstab
/dev/sd* /aaa ext3 defaults 1 2
重開,用df查
5、用proxmox掛上去
記得 content 要全選
https://pve.proxmox.com/wiki/Shrink_Qcow2_Disk_Files