You are on page 1of 6

Soluo para: root@hotpc:/# mount -t vboxsf vortice2 /media/vortice2 /sbin/mount.

vboxsf: mounting failed with the error: No such device (1- INSTALANDO HEADERS E ESSENTIAL) brainiac@hotpc:~$ su Senha: root@hotpc:/home/brainiac# cd / root@hotpc:/# apt-get update Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01] squeeze Release.gpg Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze/contrib Translation-en Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze/contrib Translation-pt Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze/contrib Translation-pt_BR Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze/main Translation-en Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze/main Translation-pt Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01]/ squeeze/main Translation-pt_BR Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01] squeeze Release Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01] squeeze/contrib i386 Packages/DiffIndex Ign cdrom://[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01] squeeze/main i386 Packages/DiffIndex Atingido http://security.debian.org squeeze/updates Release.gpg Ign http://security.debian.org/ squeeze/updates/contrib Translation-en Ign http://security.debian.org/ squeeze/updates/contrib Translation-pt Ign http://security.debian.org/ squeeze/updates/contrib Translation-pt_BR Ign http://security.debian.org/ squeeze/updates/main Translation-en Ign http://security.debian.org/ squeeze/updates/main Translation-pt Ign http://security.debian.org/ squeeze/updates/main Translation-pt_BR Atingido http://security.debian.org squeeze/updates Release Atingido http://security.debian.org squeeze/updates/main Sources Atingido http://security.debian.org squeeze/updates/contrib Sources Atingido http://security.debian.org squeeze/updates/main i386 Packages Atingido http://security.debian.org squeeze/updates/contrib i386 Packages Lendo listas de pacotes... Pronto root@hotpc:/# apt-get install bui Lendo listas de pacotes... Pronto Construindo rvore de dependncias Lendo informao de estado... Pronto E: Impossvel encontrar o pacote bui (INSTALANDO BUILD-ESSENTIAL) root@hotpc:/# apt-get install build-essential Lendo listas de pacotes... Pronto

Construindo rvore de dependncias Lendo informao de estado... Pronto Os pacotes extra a seguir sero instalados: dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libstdc++6-4.4-dev libtimedate-perl make Pacotes sugeridos: debian-keyring g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.4-multilib libmudflap0-4.4-dev gcc-4.4-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 libstdc++6-4.4-doc make-doc Os NOVOS pacotes a seguir sero instalados: build-essential dpkg-dev fakeroot g++ g++-4.4 gcc gcc-4.4 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libstdc++6-4.4-dev libtimedate-perl make 0 pacotes atualizados, 14 pacotes novos instalados, 0 a serem removidos e 0 no atualizados. preciso baixar 0 B/11,6 MB de arquivos. Depois desta operao, 31,5 MB adicionais de espao em disco sero usados. Voc quer continuar [S/n]? s Troca de mdia: por favor, insira o disco nomeado 'Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01' na unidade '/media/cdrom/' e pressione enter Troca de mdia: por favor, insira o disco nomeado 'Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 DVD Binary-1 20111008-13:01' na unidade '/media/cdrom/' e pressione enter Selecionando pacote previamente no selecionado gcc-4.4. (Lendo banco de dados ... 102994 ficheiros e directrios actualmente instalados.) Desempacotando gcc-4.4 (de .../gcc-4.4_4.4.5-8_i386.deb) ... Selecionando pacote previamente no selecionado gcc. Desempacotando gcc (de .../gcc_4.4.5-1_i386.deb) ... Selecionando pacote previamente no selecionado libstdc++6-4.4-dev. Desempacotando libstdc++6-4.4-dev (de .../libstdc++6-4.4-dev_4.4.5-8_i386.deb) ... Selecionando pacote previamente no selecionado g++-4.4. Desempacotando g++-4.4 (de .../g++-4.4_4.4.5-8_i386.deb) ... Selecionando pacote previamente no selecionado g++. Desempacotando g++ (de .../g++_4.4.5-1_i386.deb) ... Selecionando pacote previamente no selecionado make. Desempacotando make (de .../make-dfsg/make_3.81-8_i386.deb) ... Selecionando pacote previamente no selecionado libtimedate-perl. Desempacotando libtimedate-perl (de .../libtimedate-perl_1.2000-1_all.deb) ... Selecionando pacote previamente no selecionado libdpkg-perl. Desempacotando libdpkg-perl (de .../libdpkg-perl_1.15.8.11_all.deb) ... Selecionando pacote previamente no selecionado dpkg-dev. Desempacotando dpkg-dev (de .../dpkg-dev_1.15.8.11_all.deb) ... Selecionando pacote previamente no selecionado build-essential. Desempacotando build-essential (de .../build-essential_11.5_i386.deb) ... Selecionando pacote previamente no selecionado fakeroot. Desempacotando fakeroot (de .../fakeroot_1.14.4-1_i386.deb) ... Selecionando pacote previamente no selecionado libalgorithm-diff-perl.

Desempacotando libalgorithm-diff-perl (de .../libalgorithm-diff-perl_1.19.02-2_all.deb) ... Selecionando pacote previamente no selecionado libalgorithm-diff-xs-perl. Desempacotando libalgorithm-diff-xs-perl (de .../libalgorithm-diff-xs-perl_0.04-1_i386.deb) ... Selecionando pacote previamente no selecionado libalgorithm-merge-perl. Desempacotando libalgorithm-merge-perl (de .../libalgorithm-merge-perl_0.08-2_all.deb) ... Processando gatilhos para man-db ... Configurando gcc-4.4 (4.4.5-8) ... Configurando gcc (4:4.4.5-1) ... Configurando make (3.81-8) ... Configurando libtimedate-perl (1.2000-1) ... Configurando libdpkg-perl (1.15.8.11) ... Configurando dpkg-dev (1.15.8.11) ... Configurando fakeroot (1.14.4-1) ... update-alternatives: a usar /usr/bin/fakeroot-sysv para disponibilizar /usr/bin/fakeroot (fakeroot) em modo automtico. Configurando libalgorithm-diff-perl (1.19.02-2) ... Configurando libalgorithm-diff-xs-perl (0.04-1) ... Configurando libalgorithm-merge-perl (0.08-2) ... Configurando libstdc++6-4.4-dev (4.4.5-8) ... Configurando g++-4.4 (4.4.5-8) ... Configurando g++ (4:4.4.5-1) ... update-alternatives: a usar /usr/bin/g++ para disponibilizar /usr/bin/c++ (c++) em modo automtico. Configurando build-essential (11.5) ... root@hotpc:/# urame bash: urame: comando no encontrado root@hotpc:/# uname Linux root@hotpc:/# u name bash: u: comando no encontrado (INSTALANDO HEADERS) root@hotpc:/# uname -r 2.6.32-5-686 (COPIAR ESTE NMERO E COLAR DEPOIS DE install linux-headers-) root@hotpc:/# uname -a Linux hotpc 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686 GNU/Linux root@hotpc:/# apt-get install linux-headers-2.6.32-5-686 Lendo listas de pacotes... Pronto Construindo rvore de dependncias Lendo informao de estado... Pronto linux-headers-2.6.32-5-686 j a verso mais nova. 0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 no atualizados. root@hotpc:/# cd /media/cdrom0 root@hotpc:/media/cdrom0# ls -l total 0 root@hotpc:/media/cdrom0# cd .. root@hotpc:/media# cd cdrom root@hotpc:/media/cdrom# ls root@hotpc:/media/cdrom# cd / root@hotpc:/# mount /dev/cdrom /media/cdrom0 mount: dispositivo de blocos /dev/sr0 protegido contra gravao; montando somente para leitura root@hotpc:/# cd /media/cdrom0 root@hotpc:/media/cdrom0# ls 32Bit runasroot.sh VBoxWindowsAdditions.exe

64Bit VBoxLinuxAdditions.run VBoxWindowsAdditions-x86.exe AUTORUN.INF VBoxSolarisAdditions.pkg autorun.sh VBoxWindowsAdditions-amd64.exe root@hotpc:/media/cdrom0# sh ./VBoxLinuxAdditions*.run Verifying archive integrity... All good. Uncompressing VirtualBox 4.1.6 Guest Additions for Linux......... VirtualBox Guest Additions installer Removing installed version 4.1.6 of VirtualBox Guest Additions... Removing existing VirtualBox DKMS kernel modules ...done. Removing existing VirtualBox non-DKMS kernel modules ...done. 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 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. root@hotpc:/media/cdrom0# (2-PREPARANDO VIRTUALBOX) brainiac@hotpc:~$ su Senha: root@hotpc:/home/brainiac# cd .. root@hotpc:/home# cd .. root@hotpc:/# cd media root@hotpc:/media# ls cdrom cdrom0 vortice2 root@hotpc:/media# cd crom0 bash: cd: crom0: Arquivo ou diretrio no encontrado root@hotpc:/media# cd cdrom0 root@hotpc:/media/cdrom0# ls root@hotpc:/media/cdrom0# sh ./VBoxLinuxAdditions*.run sh: Can't open ./VBoxLinuxAdditions*.run root@hotpc:/media/cdrom0# mount /dev/cdrom0 /media/cdrom0 mount: o dispositivo especial /dev/cdrom0 no existe root@hotpc:/media/cdrom0# ls root@hotpc:/media/cdrom0# cd .. root@hotpc:/media# cd .. root@hotpc:/# mount /dev/cdrom0 /media/cdrom0 mount: o dispositivo especial /dev/cdrom0 no existe root@hotpc:/# mount /dev/sda3 on / type ext4 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755)

tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) fusectl on /sys/fs/fuse/connections type fusectl (rw) /dev/sr0 on /media/cdrom0 type iso9660 (ro,noexec,nosuid,nodev,user=brainiac) root@hotpc:/# cd /media/cdrom0 root@hotpc:/media/cdrom0# ls 32Bit runasroot.sh VBoxWindowsAdditions.exe 64Bit VBoxLinuxAdditions.run VBoxWindowsAdditions-x86.exe AUTORUN.INF VBoxSolarisAdditions.pkg autorun.sh VBoxWindowsAdditions-amd64.exe root@hotpc:/media/cdrom0# sh ./VBoxLinuxAdditions*.run Verifying archive integrity... All good. Uncompressing VirtualBox 4.1.6 Guest Additions for Linux......... VirtualBox Guest Additions installer Removing existing VirtualBox DKMS kernel modules ...done. Removing existing VirtualBox non-DKMS kernel modules ...done. Building the VirtualBox Guest Additions kernel modules The make utility was not found. If the following module compilation fails then this could be the reason and you should try installing it. The gcc utility was not found. If the following module compilation fails then this could be the reason and you should try installing it. 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 ...fail! (Look at /var/log/vboxadd-install.log to find out what went wrong) Doing non-kernel setup of the Guest Additions ...done. Installing the Window System drivers Installing 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. root@hotpc:/media/cdrom0# reiniciar mquina virtual (3-ACESSANDO PASTA) /#mkdir /media/vortice2 /# mount -t vboxsf vortice2 /media/vortice2 estatizar no fstab /#nano /etc/fstab

You might also like