dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.55k stars 1.24k forks source link

complete Ubuntu install? #824

Closed micber closed 10 years ago

micber commented 10 years ago

I am a newbie to Linux but I wanted to know if there was a install switch to install the full complete version of UBUNTU when creating the chroot? I am having issues running VMware player on it as it is having issues with headers (3.8.11) and I cant seem to update the headers properly. I have a co-worker who also is running trusty on a regular machine and having no issues with VMWare Player. its got to be my install. any way to install it all space be damned?

landcruiser1975 commented 10 years ago

what error do you get when you try to install vmware? You could try: sudo apt-get install linux-headers-generic

DennisLfromGA commented 10 years ago

There is actually a 'desktops branch' in crouton but it hasn't been brought up-to-date since last December I believe. It was for doing just what you're requesting, installing the full meta package for various targets. It's still in the testing stage and there is an Issue#61 that discusses it that might be helpful to you. You can try downloading the zipped branch and installing the 'unity-desktop' target or you can just try to install the 'ubuntu-desktop' via apt-get or the softare center if you want a quicker test. I would first backup my chroot to be safe though.

-DennisL

On Sat, May 17, 2014 at 11:54 PM, landcruiser1975 notifications@github.comwrote:

what error do you get when you try to install vmware? You could try: sudo apt-get install linux-headers-generic

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/824#issuecomment-43430757 .

DennyL@GMail

divx118 commented 10 years ago

@micber For the linux headers you need the one created against the source of the chrome kernel. You cannot use the linux headers from the ubuntu repos. You can use https://github.com/dnschneid/crouton/issues/772#issuecomment-40894248 to install them. However you also need to be sure /lib/modules/3.8.11 is unmounted when entering the chroot and if vmware wants to load modules. You have to enable loading modules. See the rc.local script I use for virtualbox https://github.com/dnschneid/crouton/wiki/Build-kernel-headers-and-install-Virtualbox-(x86)#installing-kernel-headersimage to do both of these things.

micber commented 10 years ago

Thanks All!!

On Sun, May 18, 2014 at 2:06 AM, divx118 notifications@github.com wrote:

@micber https://github.com/micber For the linux headers you need the one created against the source of the chrome kernel. You cannot use the linux headers from the ubuntu repos. You can use #772 (comment)https://github.com/dnschneid/crouton/issues/772#issuecomment-40894248to install them. However you also need to be sure /lib/modules/3.8.11 is unmounted when entering the chroot and if vmware wants to load modules. You have to enable loading modules. See the rc.local script I use for virtualbox https://github.com/dnschneid/crouton/wiki/Build-kernel-headers-and-install-Virtualbox-(x86)#installing-kernel-headersimageto do both of these things.

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/824#issuecomment-43434919 .

micber commented 10 years ago

just letting you know that this did not solve my VM issue. No difference and still wants the 3.8.11 headers and doesn't accept when I point it to them. issues with both VMWare Player and VirtualBox.

On Sun, May 18, 2014 at 11:25 PM, David Schneider notifications@github.comwrote:

Closed #824 https://github.com/dnschneid/crouton/issues/824.

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/824#event-122313402 .

divx118 commented 10 years ago

@micber Which chromebook(s) do you have? Did you follow my steps? Encountered any problems? Detailed info is welcome also please describe what steps you already did take. VirtualBox works for me on HP chromebook 14 and Acer C720 on saucy ubuntu. Never tried VMWare player.

micber commented 10 years ago

I have a toshiba CB30-A3120 and am using the 14.04. Bit of a newbie with Ubuntu. I followed 772 and created the rc.local you spoke of.

On Thu, May 22, 2014 at 2:37 PM, divx118 notifications@github.com wrote:

@micber https://github.com/micber Which chromebook(s) do you have? Did you follow my steps? Encountered any problems? Detailed info is welcome also please describe what steps you already did take. VirtualBox works for me on HP chromebook 14 and Acer C720 on saucy ubuntu. Never tried VMWare player.

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/824#issuecomment-43926898 .

divx118 commented 10 years ago

Ok, toshiba chromebook should also work with the kernel-headers I built. Did they (the kernel headers) install with no errors? Did you also change the permissions on rc.local so it is executable?

sudo chmod +x /etc/rc.local

Do you get an error message when trying to start virtualbox?

Coming weekend I will have some time to try vmware player myself.

divx118 commented 10 years ago

Ok, I noticed one 'bug' when installing the kernel headers. In the howto I first let you install linux-image-3.8.11, however then it will complain about the symbolic link "build" to /usr/src/linux-headers-3.8.11 .The directory however doesn't exists yet so it deletes the link. (never noticed this on ubuntu release < trusty). I updated the howto https://github.com/dnschneid/crouton/issues/772#issuecomment-40894248 to install first the headers. Then virtualbox works with no problems for me on trusty. However VMware player needs some work. It doesn't want to build the vmci module. vmmon and vmnet are build with no problems. In a quick google search I noticed there are some patch files floating around that should solve the issue. If I find some time I will try them. More info https://communities.vmware.com/thread/474178 I got the exact same error.

micber commented 10 years ago

Thanks ! Sorry busy with other stuff this weekend. But appreciate On May 24, 2014 10:07 AM, "divx118" notifications@github.com wrote:

Ok, I noticed one 'bug' when installing the kernel headers. In the howto I first let you install linux-image-3.8.11, however then it will complain about the symbolic link "build" to /usr/src/linux-headers-3.8.11 .The directory however doesn't exists yet so it deletes the link. (never noticed this on ubuntu release < trusty). I updated the howto #772 (comment)https://github.com/dnschneid/crouton/issues/772#issuecomment-40894248to install first the headers. Then virtualbox works with no problems for me on trusty. However VMware player needs some work. It doesn't want to build the vmci module. vmmon and vmnet are build with no problems. In a quick google search I noticed there are some patch files floating around that should solve the issue. If I find some time I will try them. More info https://communities.vmware.com/thread/474178 I got the exact same error.

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/824#issuecomment-44088244 .

micber commented 10 years ago

I had time and did the headers first then got this after trying to install the image E: Failed to fetch https://raw.github.com/divx118/crouton-packages/master/pool/main/l/linux-source-3.8.11/linux-image-3.8.11_3.8.11-10.00.Custom_amd64.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

On Sat, May 24, 2014 at 12:27 PM, Michael B micber@gmail.com wrote:

Thanks ! Sorry busy with other stuff this weekend. But appreciate On May 24, 2014 10:07 AM, "divx118" notifications@github.com wrote:

Ok, I noticed one 'bug' when installing the kernel headers. In the howto I first let you install linux-image-3.8.11, however then it will complain about the symbolic link "build" to /usr/src/linux-headers-3.8.11 .The directory however doesn't exists yet so it deletes the link. (never noticed this on ubuntu release < trusty). I updated the howto #772 (comment)https://github.com/dnschneid/crouton/issues/772#issuecomment-40894248to install first the headers. Then virtualbox works with no problems for me on trusty. However VMware player needs some work. It doesn't want to build the vmci module. vmmon and vmnet are build with no problems. In a quick google search I noticed there are some patch files floating around that should solve the issue. If I find some time I will try them. More info https://communities.vmware.com/thread/474178 I got the exact same error.

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/824#issuecomment-44088244 .

micber commented 10 years ago

when I try Virtual box to start my VM I get the following:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

On Sat, May 24, 2014 at 9:39 PM, Michael B micber@gmail.com wrote:

I had time and did the headers first then got this after trying to install the image E: Failed to fetch https://raw.github.com/divx118/crouton-packages/master/pool/main/l/linux-source-3.8.11/linux-image-3.8.11_3.8.11-10.00.Custom_amd64.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

On Sat, May 24, 2014 at 12:27 PM, Michael B micber@gmail.com wrote:

Thanks ! Sorry busy with other stuff this weekend. But appreciate On May 24, 2014 10:07 AM, "divx118" notifications@github.com wrote:

Ok, I noticed one 'bug' when installing the kernel headers. In the howto I first let you install linux-image-3.8.11, however then it will complain about the symbolic link "build" to /usr/src/linux-headers-3.8.11 .The directory however doesn't exists yet so it deletes the link. (never noticed this on ubuntu release < trusty). I updated the howto #772 (comment)https://github.com/dnschneid/crouton/issues/772#issuecomment-40894248to install first the headers. Then virtualbox works with no problems for me on trusty. However VMware player needs some work. It doesn't want to build the vmci module. vmmon and vmnet are build with no problems. In a quick google search I noticed there are some patch files floating around that should solve the issue. If I find some time I will try them. More info https://communities.vmware.com/thread/474178 I got the exact same error.

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/824#issuecomment-44088244 .

divx118 commented 10 years ago

@micber You first need to install the linux-headers-3.8.11 and linux-image-3.8.11. You need those to build the modules. Did you succeed with that? Then to load the external modules chromeos has a module locking turned on to prevent that. The rc.local I mentioned should handle that, however you can also do it manually. Execute the following commands then start virtualbox:

$ sudo umount /lib/modules/3.8.11
$ sudo chmod 0666 /sys/module/lsm/parameters/module_locking
$ echo 0 > /sys/module/lsm/parameters/module_locking
$ sudo /etc/init.d/vboxdrv setup

This is actually what I do in the rc.local I mentioned before. 1) unmount /lib/modules 2) disable locking modules 3) load the modules 4) enable locking modules Disabling module locking is only needed to load modules. Unloading modules can be done with locking enabled.

BTW you don't need to install DKMS package it is not needed.

micber commented 10 years ago

when I do sudo apt-get update sudo umount /lib/modules/3.8.11 sudo apt-get install linux-headers-3.8.11 sudo apt-get install linux-image-3.8.11

I get linux-headers-3.8.11 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

then i get

Suggested packages: fdutils linux-doc-3.8.11 linux-source-3.8.11 ksymoops linux-image-3.8.11-dbg The following NEW packages will be installed: linux-image-3.8.11 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 7,864 kB of archives. After this operation, 19.3 MB of additional disk space will be used. Fetched 7,864 kB in 8s (958 kB/s) Preconfiguring packages ... Selecting previously unselected package linux-image-3.8.11. (Reading database ... 90331 files and directories currently installed.) Preparing to unpack .../linux-image-3.8.11_3.8.11-10.00.Custom_amd64.deb ... Done. Unpacking linux-image-3.8.11 (3.8.11-10.00.Custom) ... Setting up linux-image-3.8.11 (3.8.11-10.00.Custom) ...

Hmm. There is a symbolic link /lib/modules/3.8.11/build However, I can not read it: No such file or directory Therefore, I am deleting /lib/modules/3.8.11/build

Hmm. The package shipped with a symbolic link /lib/modules/3.8.11/source However, I can not read the target: No such file or directory Therefore, I am deleting /lib/modules/3.8.11/source

Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.11 /boot/vmlinuz-3.8.11 run-parts: executing /etc/kernel/postinst.d/dkms 3.8.11 /boot/vmlinuz-3.8.11 run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.11 /boot/vmlinuz-3.8.11 run-parts: executing /etc/kernel/postinst.d/update-notifier 3.8.11 /boot/vmlinuz-3.8.11

I have the rc.local in the place you told us to put it.. I am about to restart and try $ sudo umount /lib/modules/3.8.11 $ sudo chmod 0666 /sys/module/lsm/parameters/module_locking $ echo 0 > /sys/module/lsm/parameters/module_locking $ sudo /etc/init.d/vboxdrv setup and will post those.

micber commented 10 years ago

now it doesnt give the same error but tries to open an xp image i have then Failed to open a session for the virtual machine xp. VT-x is disabled in the BIOS. (VERR_VMX_MSR_VMXON_DISABLED).

micber commented 10 years ago

found a fix for that (http://blindcoder.wordpress.com/2013/12/10/virtualbox-error-vt-x-is-disabled-in-the-bios-verr_vmx_msr_vmxon_disabled/) but now I get VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer.

so darn close!

divx118 commented 10 years ago

You will have to built and replace the kernel which has VT-x enabled. IIRC there was some issue here, about how to replace the kernel and enable VT-x. Try using 32bit xp.

AdrielSanchez commented 10 years ago

need help?

micber commented 10 years ago

I am thinking I can load xp 32 and it won't need it? On May 26, 2014 3:46 AM, "AdrielSanchez" notifications@github.com wrote:

need help?

— Reply to this email directly or view it on GitHubhttps://github.com/dnschneid/crouton/issues/824#issuecomment-44165097 .

divx118 commented 10 years ago

@micber Yes I think that can be done. However I never tried it. I only did run some android images in virtualbox. Let us know if xp 32 bit works.

micber commented 10 years ago

I am able to get the 32 bit to run consistently IF I do the following before I start it up sudo umount /lib/modules/3.8.11[sudo] umount: /lib/modules/3.8.11: not mounted (trusty)micber@localhost:~$ sudo chmod 0666 /sys/module/lsm/parameters/module_locking (trusty)micber@localhost:~$ echo 0 > /sys/module/lsm/parameters/module_locking(trusty)micber@localhost:~$ sudo /etc/init.d/vboxdrv setupsudo: /etc/init.d/vboxdrv: command not found (trusty)micber@localhost:~$ sudo modprobe vboxdrv then it will start...any way I can build this in? do I have to add to that rs script?

divx118 commented 10 years ago

@micber If you didn't create the /etc/rc.local then yes you need that script it will execute those commands when you enter the chroot. If you already created /etc/rc.local and you are inside the chroot can you post the output of the following commands so we can see why it is not working.

ls -al /etc/rc.local

and

cat /etc/rc.local

Nice that windows XP 32bit is working.

micber commented 10 years ago

-rwxr-xr-x 1 root root 1050 May 27 20:35 /etc/rc.local

!/bin/sh -e

#

rc.local

#

This script is executed at the end of each multiuser runlevel.

Make sure that the script will "exit 0" on success or any other

value on error.

#

In order to enable or disable this script just change the execution

bits.

#

By default this script does nothing.

umount bindmounts /lib/modules from enter-chroot

for m in cat /proc/mounts | /usr/bin/cut -d ' ' -f2 | grep /lib/modules| grep -v "^/$"; do umount "$m" done

disable module locking and try to load vboxdrv

if [ -f /etc/init.d/vboxdrv ]; then chmod 0666 /sys/module/lsm/parameters/module_locking echo 0 > /sys/module/lsm/parameters/module_locking

/etc/init.d/vboxdrv start

i="0"
while [ $i -lt 5 ]; do
    loaded=$( cat /proc/modules|grep -o vboxdrv ) || loaded="empty"
    if [ "$loaded" = "vboxdrv" ]; then
        break
    fi
    sleep 1
    i=$((i+1))
done
echo 1 > /sys/module/lsm/parameters/module_locking
chmod 0400 /sys/module/lsm/parameters/module_locking

fi

exit 0

On Thu, May 29, 2014 at 2:27 AM, divx118 notifications@github.com wrote:

@micber https://github.com/micber If you didn't create the /etc/rc.local then yes you need that script it will execute those commands when you enter the chroot. If you already created /etc/rc.local and you are inside the chroot can you post the output of the following commands so we can see why it is not working.

ls -al /etc/rc.local

and

cat /etc/rc.local

— Reply to this email directly or view it on GitHub https://github.com/dnschneid/crouton/issues/824#issuecomment-44498557.

divx118 commented 10 years ago

That should be ok. Does it work now without executing the commands manually?

micber commented 10 years ago

no.. every time I shut down the chromebook and restart it requires me to enter those commands

On Thu, May 29, 2014 at 12:33 PM, divx118 notifications@github.com wrote:

That should be ok. Does it work now without executing the commands manually?

— Reply to this email directly or view it on GitHub https://github.com/dnschneid/crouton/issues/824#issuecomment-44552737.

divx118 commented 10 years ago

Oops sorry overlooked

(trusty)micber@localhost:~$ sudo /etc/init.d/vboxdrv setupsudo: /etc/init.d/vboxdrv: command not found

It seems you don't have the vboxdrv script in /etc/init.d it should be installed when installing virtualbox.

$ ls -al /etc/init.d/vboxdrv

Should give you something like

-rwxr-xr-x 1 root root 12629 Sep  6  2013 /etc/init.d/vboxdrv

If it is there and has not the execute bits set. Note if the x's are there or not.

then

$ sudo chmod +x /etc/init.d/vboxdrv

If it isn't there then create it and copy the contents from http://pastebin.com/raw.php?i=YdpdYKbi in the file.

After that you need to set the execution bit with

$ sudo chmod +x /etc/init.d/vboxdrv
AdrielSanchez commented 10 years ago

(trusty)alexander@localhost:~$ sudo '/etc/init.d/vboxdrv setup' sudo: /etc/init.d/vboxdrv setup: command not found

micber commented 10 years ago

after reboot I still get

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

for $ sudo ls -al /etc/init.d/vboxdrv

i get

-rwxr-xr-x 1 root root 12629 May 30 10:03 /etc/init.d/vboxdrv

from your script I put in as requested...:) now what?:)

On Thu, May 29, 2014 at 2:36 PM, divx118 notifications@github.com wrote:

Oops sorry overlooked

(trusty)micber@localhost:~$ sudo /etc/init.d/vboxdrv setupsudo: /etc/init.d/vboxdrv: command not found

It seems you don't have the vboxdrv script in /etc/init.d it should be installed when installing virtualbox.

$ ls -al /etc/init.d/vboxdrv

Should give you something like

-rwxr-xr-x 1 root root 12629 Sep 6 2013 /etc/init.d/vboxdrv

If it is there and has not the execute bits set. Note if the x's are there or not.

then

$ sudo chmod +x /etc/init.d/vboxdrv

If it isn't there then create it and copy the contents from http://pastebin.com/raw.php?i=YdpdYKbi in the file.

After that you need to set the execution bit with

$ sudo chmod +x /etc/init.d/vboxdrv

— Reply to this email directly or view it on GitHub https://github.com/dnschneid/crouton/issues/824#issuecomment-44567625.

micber commented 10 years ago

I also ran sudo /etc/init.d/vboxdrv setup and reboot.. the setup seems to have completed fine..(next line prompt) and reboot.. still error above.

On Fri, May 30, 2014 at 2:21 AM, AdrielSanchez notifications@github.com wrote:

(trusty)alexander@localhost:~$ sudo '/etc/init.d/vboxdrv setup' sudo: /etc/init.d/vboxdrv setup: command not found

— Reply to this email directly or view it on GitHub https://github.com/dnschneid/crouton/issues/824#issuecomment-44618724.

micber commented 10 years ago

I got it now!

I added one line to your rs.local file if [ -f /etc/init.d/vboxdrv ]; then chmod 0666 /sys/module/lsm/parameters/module_locking echo 0 > /sys/module/lsm/parameters/module_locking modprobe vboxdrv <-----ADDED THIS! now it works!

divx118 commented 10 years ago

@micber Can you give me the output when you run the following commands in the chroot. Just want to be sure you now have the right vboxdrv script in the right place.

$ ls -al /etc/init.d/vboxdrv

and the following please post this on pastebin.com or gist.github.com and give the link. It is quite long to post it in this thread.

$ cat /etc/init.d/vboxdrv

@AdrielSanchez Can you give me the output when you run the following commands in the chroot. This way I can see if you have the right kernel headers installed.

$ ls -al /usr/src

then

$ sudo umount /lib/modules/3.8.11
$ ls -al /lib/modules/3.8.11

@micber @AdrielSanchez You can also join #crouton on irc.freenode.net . My client is 24/7 online. If you are lucky I am behind the keyboard and can give some live feedback, else it can take some time.

divx118 commented 10 years ago

@micber Of course adding modprove vboxdrv works, but what you are really missing is /etc/init.d/vboxdrv script, somehow you deleted it. I suggest adding it like I mentioned https://github.com/dnschneid/crouton/issues/824#issuecomment-44567625 Then you can also easily unload the drivers with

$ sudo /etc/init.d/vboxdrv stop

Of course you don't have to do what I mentioned above and leave modprobe vboxdrv in there, but please don't promote it as a solution.

micber commented 10 years ago

yes I took your script and it is now there:

(trusty)micber@localhost:~$ sudo ls -al /etc/init.d/vboxdrv -rwxr-xr-x 1 root root 12629 May 30 10:03 /etc/init.d/vboxdrv

I also set the biuts you said to do...

it still didnt work.... so I added that line.

On Fri, May 30, 2014 at 11:51 AM, divx118 notifications@github.com wrote:

@micber https://github.com/micber Of course adding modprove vboxdrv works, but what you are really missing is /etc/init.d/vboxdrv script, somehow you deleted it. I suggest adding it like I mentioned #824 (comment) https://github.com/dnschneid/crouton/issues/824#issuecomment-44567625 Then you can also easily unload the drivers with

$ sudo /etc/init.d/vboxdrv stop

— Reply to this email directly or view it on GitHub https://github.com/dnschneid/crouton/issues/824#issuecomment-44666560.

divx118 commented 10 years ago

@micber so you pasted the content of http://pastebin.com/raw.php?i=YdpdYKbi in /etc/init.d/vboxdrv and it still doesn't work? If you run

$ /etc/init.d/vboxdrv

You should get something like the following then you have done it right.

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
Usage: /etc/init.d/vboxdrv {start|stop|stop_vms|restart|force-reload|status|setup}
micber commented 10 years ago

I have that file. I created it from that link.. it is called /etc/init.d/vboxdrv ... here is a nice dump of the commands you asked me to run (trusty)micber@localhost:/etc/init.d$ ls -al /lib/modules/3.8.11 total 788 drwxr-xr-x 4 root root 4096 May 28 20:00 . drwxr-xr-x 3 root root 4096 May 27 19:35 .. lrwxrwxrwx 1 root root 29 May 27 20:42 build -> /usr/src/linux-headers-3.8.11 drwxr-xr-x 10 root root 4096 May 27 20:42 kernel -rw-r--r-- 1 root root 204913 May 28 20:00 modules.alias -rw-r--r-- 1 root root 196620 May 28 20:00 modules.alias.bin -rw-r--r-- 1 root root 6570 Apr 20 04:44 modules.builtin -rw-r--r-- 1 root root 7930 May 28 20:00 modules.builtin.bin -rw-r--r-- 1 root root 69 Apr 20 04:45 modules.ccwmap -rw-r--r-- 1 root root 18767 May 28 20:00 modules.dep -rw-r--r-- 1 root root 29837 May 28 20:00 modules.dep.bin -rw-r--r-- 1 root root 208 May 28 20:00 modules.devname -rw-r--r-- 1 root root 73 Apr 20 04:45 modules.ieee1394map -rw-r--r-- 1 root root 218 Apr 20 04:45 modules.inputmap -rw-r--r-- 1 root root 81 Apr 20 04:45 modules.isapnpmap -rw-r--r-- 1 root root 151 Apr 20 04:45 modules.ofmap -rw-r--r-- 1 root root 9019 Apr 20 04:44 modules.order -rw-r--r-- 1 root root 52788 Apr 20 04:45 modules.pcimap -rw-r--r-- 1 root root 43 Apr 20 04:45 modules.seriomap -rw-r--r-- 1 root root 131 May 28 20:00 modules.softdep -rw-r--r-- 1 root root 91875 May 28 20:00 modules.symbols -rw-r--r-- 1 root root 105314 May 28 20:00 modules.symbols.bin -rw-r--r-- 1 root root 11411 Apr 20 04:45 modules.usbmap drwxr-xr-x 3 root root 4096 May 28 20:00 updates (trusty)micber@localhost:/etc/init.d$ ls -al /usr/src total 16 drwxr-xr-x 4 root root 4096 May 27 20:23 . drwxr-xr-x 12 root root 4096 May 27 19:41 .. drwxr-xr-x 23 root root 4096 May 27 20:23 linux-headers-3.8.11 drwxr-xr-x 12 root root 4096 May 27 20:10 virtualbox-4.3.10 (trusty)micber@localhost:/etc/init.d$ sudo umount /lib/modules/3.8.11 umount: /lib/modules/3.8.11: not mounted (trusty)micber@localhost:/etc/init.d$ ls -al /lib/modules/3.8.11 total 788 drwxr-xr-x 4 root root 4096 May 28 20:00 . drwxr-xr-x 3 root root 4096 May 27 19:35 .. lrwxrwxrwx 1 root root 29 May 27 20:42 build -> /usr/src/linux-headers-3.8.11 drwxr-xr-x 10 root root 4096 May 27 20:42 kernel -rw-r--r-- 1 root root 204913 May 28 20:00 modules.alias -rw-r--r-- 1 root root 196620 May 28 20:00 modules.alias.bin -rw-r--r-- 1 root root 6570 Apr 20 04:44 modules.builtin -rw-r--r-- 1 root root 7930 May 28 20:00 modules.builtin.bin -rw-r--r-- 1 root root 69 Apr 20 04:45 modules.ccwmap -rw-r--r-- 1 root root 18767 May 28 20:00 modules.dep -rw-r--r-- 1 root root 29837 May 28 20:00 modules.dep.bin -rw-r--r-- 1 root root 208 May 28 20:00 modules.devname -rw-r--r-- 1 root root 73 Apr 20 04:45 modules.ieee1394map -rw-r--r-- 1 root root 218 Apr 20 04:45 modules.inputmap -rw-r--r-- 1 root root 81 Apr 20 04:45 modules.isapnpmap -rw-r--r-- 1 root root 151 Apr 20 04:45 modules.ofmap -rw-r--r-- 1 root root 9019 Apr 20 04:44 modules.order -rw-r--r-- 1 root root 52788 Apr 20 04:45 modules.pcimap -rw-r--r-- 1 root root 43 Apr 20 04:45 modules.seriomap -rw-r--r-- 1 root root 131 May 28 20:00 modules.softdep -rw-r--r-- 1 root root 91875 May 28 20:00 modules.symbols -rw-r--r-- 1 root root 105314 May 28 20:00 modules.symbols.bin -rw-r--r-- 1 root root 11411 Apr 20 04:45 modules.usbmap drwxr-xr-x 3 root root 4096 May 28 20:00 updates (trusty)micber@localhost:/etc/init.d$ /etc/init.d/vboxdrv (trusty)micber@localhost:/etc/init.d$

On Fri, May 30, 2014 at 12:59 PM, divx118 notifications@github.com wrote:

@micber https://github.com/micber so you pasted the content of http://pastebin.com/raw.php?i=YdpdYKbi in /etc/init.d/vboxdrv and it still doesn't work? If you run

$ /etc/init.d/vboxdrv

You should get something like the following then you have done it right.

WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. Usage: /etc/init.d/vboxdrv {start|stop|stop_vms|restart|force-reload|status|setup}

— Reply to this email directly or view it on GitHub https://github.com/dnschneid/crouton/issues/824#issuecomment-44673881.

AdrielSanchez commented 10 years ago

umm this i found screenshot - 05302014 - 06 18 23 pm

AdrielSanchez commented 10 years ago

exit 0(trusty)root@localhost:~# $ ls -al /usr/src bash: $: command not found (trusty)root@localhost:~# ls -al /usr/src total 28 drwxr-xr-x 7 root root 4096 May 30 18:11 . drwxr-xr-x 12 root root 4096 May 25 08:20 .. drwxr-xr-x 24 root root 4096 May 30 18:11 linux-headers-3.13.0-24 drwxr-xr-x 7 root root 4096 May 30 18:11 linux-headers-3.13.0-24-lowlatency drwxr-xr-x 24 root root 4096 May 29 02:01 linux-headers-3.13.0-27 drwxr-xr-x 7 root root 4096 May 29 02:01 linux-headers-3.13.0-27-generic drwxr-xr-x 12 root root 4096 May 29 21:42 virtualbox-4.3.10 (trusty)root@localhost:~# sudo umount /lib/modules/3.8.11 (trusty)root@localhost:~# $ ls -al /lib/modules/3.8.11 bash: $: command not found (trusty)root@localhost:~# ls -al /lib/modules/3.8.11 total 8 drwxr-xr-x 2 root root 4096 May 25 08:12 . drwxr-xr-x 6 root root 4096 May 30 18:11 .. (trusty)root@localhost:~#

Help plz