카테고리 VirtualBox-윈도우를 우분투에 설치의 보관물

VirtualBox-Ubuntu 해상도 설정

Virtual Box에 Ubuntu를 설치하면 매우 작은 화면만 나타난다.
거대 모니터에 맞는 커다란 화면을 즐기고 싶다면 VBoxGuestAdditions를 설치한다.

VBoxGuestAdditions는 VMware에서 제공하는 추가기능 같은 것들을 포함하는 설치파일이다.
화면설정 뿐 아니라 키보드나 마우스 사용 등도 훨씬 편해진다. 공유기능 등도 설정되는데 이건 나중에..

VBoxGuestAdditions 설치하기

1. 장치>CD/DVD 드라이브 마운트 > CD/DVD-ROM 이미지 클릭

2. 가상 미디어 관리자에 추가버튼을 이용하여 VBoxGuestAdditions.iso 이미지를 추가한다.
(기본설치의 경우 C:\Program Files\Sun\xVM VirtualBox폴더에 있다.)
추가된 이미지를 선택한 후 선택버튼 클릭

3. 선택버튼을 클릭하고 나면 이미지가 마운트 된 것을 확인할 수 있다.

4. 마운트된 이미지를 클릭하면 아래와 같이 이미지 안의 파일들을 볼 수 있다.
이 중에서 autorun.sh을 클릭한다.

5. 팝업창에서 터미널에서 실행버튼을 한다.

암호를 물어보는 창이 나타나면, root 계정의 암호를 넣고 확인버튼을 클릭한다.
(따로 root 계정 암호를 설정하지 않았다면, 로그인된 사용자의 암호를 넣으면 얼추 된다.)

6. 검정 콘솔창이 뜨면서 설치가 되는데 설치가 잘 되었다는 메세지와 함께 엔터키 누르라고 한다.
엔터키를 누르면 완료된다.

7. 설치 다 했으니까 iso파일을 unmount 시킨다.
이미지 파일을 선택하고 마우스 오른쪽버튼 클릭>볼륨 마운트 해제 클릭

VirtualBox메뉴의 장치>CD/DVD 드라이브 마운트 해제 클릭

이미지 아이콘이 사라지고, 마우트 목록에서 사라진다.

config 파일 세팅

1. 부팅할 때 화면이 잘되었으면 좋겠으므로 conf파일을 수정한다.

2. /etc/X11/xorg.conf 파일의 Device 섹션에 Driver “vboxvideo”라인을 추가한다.

이제 껐다 켜면, 화면 사이즈를 맘대로 조절할 수 있다.
(윈도우 창 사이즈 조절을 하면 알아서 늘어난다.)

4개의 댓글

Download VirtualBox

Download VirtualBox for Linux Hosts

VirtualBox 3.0.4 for Linux

Note: The package architecture has to match the Linux kernel architecture, that is, if you are running a 64-bit kernel, install the appropriate AMD64 package (it does not matter if you have an Intel or an AMD CPU). Mixed installations (e.g. Debian/Lenny ships an AMD64 kernel with 32-bit packages) are not supported. To install VirtualBox anyway you need to setup a 64-bit chroot environment.

Please choose the appropriate package for your Linux distribution:

  • Debian-based Linux distributions: Add one of the following lines according to your distribution to your /etc/apt/sources.list:
    deb http://download.virtualbox.org/virtualbox/debian jaunty non-free
    deb http://download.virtualbox.org/virtualbox/debian intrepid non-free
    deb http://download.virtualbox.org/virtualbox/debian hardy non-free
    deb http://download.virtualbox.org/virtualbox/debian gutsy non-free
    deb http://download.virtualbox.org/virtualbox/debian dapper non-free
    deb http://download.virtualbox.org/virtualbox/debian lenny non-free
    deb http://download.virtualbox.org/virtualbox/debian etch non-free
    deb http://download.virtualbox.org/virtualbox/debian sarge non-free
    deb http://download.virtualbox.org/virtualbox/debian xandros4.0-xn non-free

    The Sun public key for apt-secure can be downloaded here. You can add this key with

    sudo apt-key add sun_vbox.asc

    or combine downloading and registering:

    wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -

    The key fingerprint is

    AF45 1228 01DA D613 29EF  9570 DCF9 F87B 6DFB CBAE
    Sun Microsystems, Inc. (xVM VirtualBox archive signing key) <info@virtualbox.org>

    To install VirtualBox, do

    apt-get install virtualbox-3.0

    Replace virtualbox-3.0

    • by virtualbox to install VirtualBox 1.6.6
    • by virtualbox-2.0 to install VirtualBox 2.0.8
    • by virtualbox-2.1 to install VirtualBox 2.1.4
    • by virtualbox-2.2 to install VirtualBox 2.2.4

Note: Ubuntu users might want to install the dkms package (not available on Debian) to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade.

You might want to compare the MD5 sum to verify the integrity of downloaded packages.

댓글 남기기

팔로우

모든 새 글을 수신함으로 전달 받으세요.