Saturday, May 9, 2015

Ubuntu 14.04.01中安装Virtualbox guest addition

 转载请注明作者:KiwenLau,以及原文地址:

PS: 红色部分为命令

1. 更新源
sudo apt-get update

2. 更新已安装的包
sudo apt-get -y upgrade

3. 安装所需的软件
sudo apt-get install -y build-essential module-assistant

4. 为编译安装驱动模块安装必须的各种软件包
sudo m-a prepare

5. 开启ubuntu虚拟机, 插入guest additionCD
Devices > Insert Guest Additions CD image...

6. 挂载CD
sudo mount /dev/cdrom /media/cdrom

7. 安装guest addtion
sudo /media/cdrom/VBoxLinuxAdditions.run

8. 运行结果
# sudo /media/cdrom/VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.26 Guest Additions for Linux............
VirtualBox Guest Additions installer
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

Building the main Guest Additions module ...done.
Building the shared folder support module ...done.
Building the OpenGL support module ...done.
Doing non-kernel setup of the Guest Additions ...done.
Starting the VirtualBox Guest Additions ...done.
Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.

运行结果含” Building the main Guest Additions module ...done”以及” Starting the VirtualBox Guest Additions ...done”表示安装成功

9. 可以用以下方法验证安装成功:
# lsmod | grep -io vboxguest
vboxguest
# modinfo vboxguest
filename:       /lib/modules/3.13.0-32-generic/misc/vboxguest.ko
version:        4.3.26
license:        GPL
description:    Oracle VM VirtualBox Guest Additions for Linux Module
author:         Oracle Corporation
srcversion:     3D54FF6D3C1923680BE85CB
alias:          pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
depends:       
vermagic:       3.13.0-32-generic SMP mod_unload modversions
# lsmod | grep -io vboxguest | xargs modinfo | grep -iw version

version:        4.3.26

参考:

32 comments:

  1. Welcome to Scottish Fold Cattery and thanks for your interest click here to Adopt A Scottish Fold Kitten online to our scottish cats and kittens For sale! My name is VERA S. Matt. Me and my husband Owns the small scottish fold farm with the best Scottish fold kitten prices and share my biggest hobby/ Scottish Fold Kittens For Sale cat breeding hence scottish fold Breeders. We breed breeds Scottish Folds. All our Scottish Fold cats have very special Grand Champion blood lines from Europe . We love our cats, they live in the Cattery with us.Scottish Folds are known to be very good natured, affectionate cats who are very human-orientated and become extremely attached to their owners.here Scottish Fold Cats They are easy going and will appreciate the company and cubby holes of any type. They enjoy attention and are not usually shy with strangers. Affectionate without being “pushy”,they make ideal pets and companions.scottish cats and kittens For saleBrowse through our available scottish fold cats and see the Munchkin Scottish folds,Grey Scottish fold kittens,Black scottish fold kittens Since we offer shipping worldwide.Scottish Fold kittens breederKittens For Sale at the catter.Scottish fold kitten prices We also offer Scottish fold kittens near me,Scottish Fold Breeders,Scottish fold Price.
    Buy passport online We are a group of unique experts who manufacture real and fake passports, IDs, buy driver’s licenses and other documents proving your identity or qualification. We have many years of experience in this field that’s why you can be absolutely sure that no matter what you order from us, you will always receive a high-quality document that meets the necessary…buy IELTS certificate online
    Buy passport online
    buy registered documents online

    WELCOME TO pug puppies BREEDERS HOME BUY A PUG ONLINE|PUG PUPPIES FOR SALE|ADOPT A PUG ONLINE|PUG|BLACK PUG PUPPIES FOR SALE
    We are so glad you stopped by to check out our amazing TEACUP Pug puppies. All of our animals come fully up to date on vaccinations, heart-worm tested negative, and de-wormed, as well as neutered, and treated for any ailments found upon veterinary examination Adopt a teacup Pug puppy
    Ownership of a Pug includes a commitment that is wider in scope than providing doggy necessities and allowing this jovial little pet to occupy a portion of your home. Pug ownership is a give-and-take relationship that will continue throughout the little dog’s life. That enjoyable companionship thrives when each member of the pair respects the other and camaraderie rules the union. Your Pug will entertain you, love you, and be obedient and faithful to you if you spend time with your doggy friend.
    Adopt a pug puppies online puppy onlie or pug puppies for sale online does not all depends on the money involve. You have to love
    Black pug puppies for sale at heart before you go in search of pug puppies for sale or adopt a pug puppy.This means that you have to keep the pug puppy price or cost of a pug puppy or a teacup puppy in mind before you harnest the interest of buying a pug online.

    ReplyDelete
  2. Welcome to Ragdoll Kittens Cattery click here to adopt a ragdoll

    kitten online
    We are a small and loving cattery . We are pleased that you have chosen to visit our Ragdoll

    cats/Ragdoll kittens cattery, and hope you will notice right away from our website how beautiful and loved our

    Ragdoll cats and kittens are. These beauties are easily integrated into our loving family home, first as

    mothers carrying the litters, and then from the time the ragdoll kittens are born until they are adopted so we

    always have Ragdoll kittens for sale|Ragdoll kittens for adoption|Ragdoll kitten price|Ragdolls|Cost of Ragdoll

    kittens|. Our adult cats have tested negative for HCM and PKD1 through University of California Davis. Upon

    request, we have five generations of pedigree documentation on our adults available to anyone who is

    interested. Ragdoll kittens are registered with The International Cat Association (RAGDOLL KITTENS FOR SALE),and are never caged. The cats that are

    in our reputable breeding program can produce mink, sepia and traditional Ragdoll kittens. Ragdolls have a

    laid-back personality and enjoy being physically handled making them one of the best lap cats! We are all

    family here at Ragdoll kittens cattery since we are ragdoll kitten breeders and all the love we bestow by

    holding each cat and kitten daily further Teacup RAGDOLL Kittens

    for sale|Hypoallergenic kittens for sale
    nurtures their loving personalities and temperaments,TICA/CFA REGISTERED RAGDOLL KITTENS FOR SALE thanks for adopting a

    ragdoll ketten from us

    Welcome to our farm where we breed Registered pomeranian puppies

    for sale
    .As a registered pomeranian puppies breeder, we have made it possible for pomeranian puppy lovers

    to
    buy pomeranian puppies online,buy zwergpitz pomeranian from our family run farm. Pomeranian

    dogs are small dogs with a weight of 1.36 to 3.17 kg and a withers height of 15 to 18 cm. They are compact but

    robust dogs with a lush, textured coat and a tall and flat tail. The top coat forms a fur ruff on the neck, for

    which poms are known, and on the hindquarters they have a margin of feathered hair.You can click HERE to view our available pomeranian puppies

    ReplyDelete
  3. buy weed online at Legit Weed Store

    order your cannabis now at Order Cannabis Meds

    Buy marijuana online at 420 Delivery Store

    Buy medical cannabis online at at Canna Med Shop

    Get your Pill refills at Pill Pharma

    Köp piller online i Sverige kl Mundi Apotek

    Köp Oxycontin Online Billigt på Scandinavia Apotek

    Billiga piller och steroider till salu på Battrehalsa Apotek

    ReplyDelete
  4. Thanks for this. I really appreciate your good work

    content so valid. keep up i love this

    so much meaning. I enjoyed my self


    I cant neglect. Reading such a content

    Ethical facts. one just cant neglect

    I always appreciate. Valid content

    Never a dull. moment reading online

    I have learned. A new thing today

    nothing is so meaningful. like reading a good content

    ReplyDelete

  5. http://buydocumentation.com/

    Buy Driver’s License online, US driver license, drivers license renewal ca WhatsApp +1 (925) 526-5453


    Here at Buy Documentation, you can buy fake documents at a fraction of a cost. We keep our prices low to meet the needs of all our customers. We provide Best Quality Novelty Real and Fake IDs and Passport, Marriage Certificates and Drivers license online

    https://buydocumentation.com/canada-visa/

    https://buydocumentation.com/buy-real-drivers-license/

    https://buydocumentation.com/buy-real-id-cards/

    https://buydocumentation.com/social-security-number-ssn/

    ReplyDelete
  6. i love reading this article so beautiful!!great job!
    KRT carts

    ReplyDelete
  7. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future...
    KRT vape

    ReplyDelete
  8. What’s up, I wish for to subscribe for this website to get latest updates, therefore where can I do it please help out.
    MJPRU BSc 3rd year exam result | Uniraj BSc 3rd year exam result.

    ReplyDelete