追蹤
米蟲的第二個部落格
關於部落格
喀擦一聲...快門一閃...一切的事物都靜止下來....我將短暫而美麗的一刻收藏在這小黑盒裡...
  • 83312

    累積人氣

  • 0

    今日人氣

    17

    追蹤人氣

使用vbox安裝 ubuntu 10.4

 解決方法:
首先下載最新版的UBUNTU 10.4版 跟Virtual BOX 3.16版
使用光碟開機(ISO檔),在安裝畫面的時候按下"F6 其他選項"


選擇"acpi=off"。在進行安裝,如果順利的話應該就可以看到安裝畫面了! XD




安裝VBOX的工具組:
VBOX提供一些工具可以讓你在使用LINUX或是WINDOWS的時候更方便(滑鼠直接切換、解析度同步現在的大小、共用檔案、剪貼簿共用...等等)
WIONDOWS底下的就沒啥好講的~因為很好使用
但是Ubuntu下使用有時候會發生一點小問題需要注意一下:

1. 掛載VBOX工具
選擇"裝置->安裝Guest Additions",成功後就會出現光碟片的icon在桌面

2.這時候請打開terminal,並切換成root(當然你也可以使用sudo):

ricebug@ricebug-desktop:/media/VBOXADDITIONS_3.1.6_59338$ sudo su -

 

3. 切換到工具的目錄下並執行script:

 

root@ricebug-desktop:~# cd /media/VBOXADDITIONS_3.1.6_59338/

root@ricebug-desktop:/media/VBOXADDITIONS_3.1.6_59338# ls

32Bit        VBoxLinuxAdditions-amd64.run    VBoxWindowsAdditions.exe

64Bit        VBoxLinuxAdditions-x86.run      VBoxWindowsAdditions-x86.exe

AUTORUN.INF  VBoxSolarisAdditions.pkg

autorun.sh   VBoxWindowsAdditions-amd64.exe

root@ricebug-desktop:/media/VBOXADDITIONS_3.1.6_59338# sh ./VBoxLinuxAdditions-x86.run 

 

4. 如果不幸發生以下紅色的部份就是安裝失敗了.....恭喜你!!XDDDDDD:

 

Verifying archive integrity... All good.

Uncompressing VirtualBox 3.1.6 Guest Additions for Linux.........

VirtualBox Guest Additions installer

Removing installed version of VirtualBox Guest Additions...

tar: 紀錄大小 = 8 區塊

Building the VirtualBox Guest Additions kernel modules ...fail!

(Your system does not seem to be set up to build kernel modules.

Look at /var/log/vboxadd-install.log to find out what went wrong)

Installing the Window System drivers

Installing experimental X.Org Server 1.7 modules ...done.

Setting up the Window System to use the Guest Additions ...done.

You may need to restart the hal service and the Window System (or just restart

the guest system) to enable the Guest Additions.

 

Installing graphics libraries and desktop services components ...done.

 

 

 

5. OK~那麼看一下LOG是生發什麼事情...看來是沒有找到kernel的路徑:

root@ricebug-desktop:/media/VBOXADDITIONS_3.1.6_59338# cat /var/log/vboxadd-install.log

Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again..  Stop.

 

6.使用export指定路徑之後再執行:            

root@ricebug-desktop:/media/VBOXADDITIONS_3.1.6_59338# export KERN_DIR=/usr/src/linux-headers-2.6.32-21-generic/

root@ricebug-desktop:/media/VBOXADDITIONS_3.1.6_59338# sh ./VBoxLinuxAdditions-x86.run 

Verifying archive integrity... All good.

Uncompressing VirtualBox 3.1.6 Guest Additions for Linux.........

VirtualBox Guest Additions installer

Removing installed version of VirtualBox Guest Additions...

tar: 紀錄大小 = 8 區塊

Building the VirtualBox Guest Additions kernel modules

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

Installing experimental X.Org Server 1.7 modules ...done.

Setting up the Window System to use the Guest Additions ...done.

You may need to restart the hal service and the Window System (or just restart

the guest system) to enable the Guest Additions.

 

Installing graphics libraries and desktop services components ...done.


7. 看到這邊就代表工具編譯&安裝成功~~!!
請重開機才會生效喔~~!

8. 重開機後如果覺得桌面大小跟你現在使用的大小不符合,請試試"自動調整客體顯示大小"的選項(要有耐性等一下~~)


或者放大縮小一下VBOX視窗,如果VBOX會閃爍畫面並且可以看到整個Ubuntu桌面就代表成功了~!! (這邊我用的範例是寬螢幕)

YA~~~
接下來請好好跟Ubuntu打好關係吧!! XDD
相簿設定
標籤設定
相簿狀態