Ubuntu 11.10 on HyperV 2008 R2

Good Afternoon,

I am having a problem installing Ubuntu Server on HyperV.  When ever I try to make a disk larger then 136.9GB, it shows as 136.9GB.  I cannot get larger then that.  I have tried gparted to extend the disk after the fact, but then it wont boot anymore (errors in dmesg say that the disk is too large, truncating)

I was trying to get to 200GB, and the only way I could was to take two 100GB partitions and LVM them together...

Any ideas?  This post seems to be directly related: http://ubuntuforums.org/showthread.php?t=1873902
LVL 5
megaman5Asked:
Who is Participating?
 
megaman5Connect With a Mentor Author Commented:
I ended up having to insmod the following modules during install before the disk detection

hv_vmbus
hv_utils
hv_blkvsc
hv_netvsc
hv_storvsc

then i had to select the right disk (two were shown, one was the right size, the other 136.9gb)

then at the end of install, i have to chroot to /target

add the modules to /etc/initramfs-tools/modules

hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc

and ran "update-initramfs –u" and rebooted

works great!
0
 
rindiConnect With a Mentor Commented:
I don't think Hyper-V supports Ubuntu or debian based OS's, but rather only SUSE and Redhat based Linux distro's. For those there are integration services you can install, which are driver modules for the virtual environment. Possibly if you can get the integration services installed under Ubuntu you mzght be able to get it to run properly. The Link below may help in getting them installed:

http://fawzi.wordpress.com/2010/05/03/ubuntu-server-10-4-in-hyper-v/
0
 
Pierre FrançoisSenior consultantCommented:
Why is the LVM solution not good?
0
 
megaman5Author Commented:
I determined the method to fix myself, and am sharing it with the community
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.