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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rindiCommented:
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 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
megaman5Author Commented:
I determined the method to fix myself, and am sharing it with the community
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.