How to get the quota kernel modules on the AWS kernel?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite
1












I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a from Ubuntu's Cloud Images site). Checking for the kernel modules shows that they're not installed:



ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws


The normal trick to get the quota modules is to install the linux-image-extra package for your kernel, but that doesn't exist for this one:



ubuntu@ip-10-0-0-78:~$ sudo apt-get update
...
ubuntu@ip-10-0-0-78:~$ sudo apt-get -y install linux-image-extra-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-extra-4.4.0-1060-aws
E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1060-aws'
E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1060-aws'


Installing the linux-image-extra-virtual doesn't help, of course, because everything it installs is for the wrong kernel version:



ubuntu@ip-10-0-0-78:~$ sudo apt-get install linux-image-extra-virtual
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-generic thermald wireless-regdb
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools linux-headers-4.4.0-127-generic
The following NEW packages will be installed:
amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
linux-image-extra-4.4.0-127-generic linux-image-extra-virtual linux-image-generic thermald wireless-regdb
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 456 MB of additional disk space will be used.
Do you want to continue? [Y/n] yes
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
...
ubuntu@ip-10-0-0-78:~$ sudo reboot
...
ubuntu@ip-10-0-0-78:~$ uname -a
Linux ip-10-0-0-78 4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws


Is there a package I can install to get the quota kernel modules? Or do I have to build them myself if I want disk quotas on an AWS machine?







share|improve this question
























    up vote
    1
    down vote

    favorite
    1












    I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a from Ubuntu's Cloud Images site). Checking for the kernel modules shows that they're not installed:



    ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
    modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
    ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
    modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws


    The normal trick to get the quota modules is to install the linux-image-extra package for your kernel, but that doesn't exist for this one:



    ubuntu@ip-10-0-0-78:~$ sudo apt-get update
    ...
    ubuntu@ip-10-0-0-78:~$ sudo apt-get -y install linux-image-extra-`uname -r`
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-image-extra-4.4.0-1060-aws
    E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1060-aws'
    E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1060-aws'


    Installing the linux-image-extra-virtual doesn't help, of course, because everything it installs is for the wrong kernel version:



    ubuntu@ip-10-0-0-78:~$ sudo apt-get install linux-image-extra-virtual
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
    linux-image-extra-4.4.0-127-generic linux-image-generic thermald wireless-regdb
    Suggested packages:
    fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools linux-headers-4.4.0-127-generic
    The following NEW packages will be installed:
    amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
    linux-image-extra-4.4.0-127-generic linux-image-extra-virtual linux-image-generic thermald wireless-regdb
    0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
    Need to get 110 MB of archives.
    After this operation, 456 MB of additional disk space will be used.
    Do you want to continue? [Y/n] yes
    Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
    ...
    ubuntu@ip-10-0-0-78:~$ sudo reboot
    ...
    ubuntu@ip-10-0-0-78:~$ uname -a
    Linux ip-10-0-0-78 4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
    modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
    ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
    modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws


    Is there a package I can install to get the quota kernel modules? Or do I have to build them myself if I want disk quotas on an AWS machine?







    share|improve this question






















      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a from Ubuntu's Cloud Images site). Checking for the kernel modules shows that they're not installed:



      ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
      modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
      ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
      modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws


      The normal trick to get the quota modules is to install the linux-image-extra package for your kernel, but that doesn't exist for this one:



      ubuntu@ip-10-0-0-78:~$ sudo apt-get update
      ...
      ubuntu@ip-10-0-0-78:~$ sudo apt-get -y install linux-image-extra-`uname -r`
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package linux-image-extra-4.4.0-1060-aws
      E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1060-aws'
      E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1060-aws'


      Installing the linux-image-extra-virtual doesn't help, of course, because everything it installs is for the wrong kernel version:



      ubuntu@ip-10-0-0-78:~$ sudo apt-get install linux-image-extra-virtual
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following additional packages will be installed:
      amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
      linux-image-extra-4.4.0-127-generic linux-image-generic thermald wireless-regdb
      Suggested packages:
      fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools linux-headers-4.4.0-127-generic
      The following NEW packages will be installed:
      amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
      linux-image-extra-4.4.0-127-generic linux-image-extra-virtual linux-image-generic thermald wireless-regdb
      0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
      Need to get 110 MB of archives.
      After this operation, 456 MB of additional disk space will be used.
      Do you want to continue? [Y/n] yes
      Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
      ...
      ubuntu@ip-10-0-0-78:~$ sudo reboot
      ...
      ubuntu@ip-10-0-0-78:~$ uname -a
      Linux ip-10-0-0-78 4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
      modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
      ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
      modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws


      Is there a package I can install to get the quota kernel modules? Or do I have to build them myself if I want disk quotas on an AWS machine?







      share|improve this question












      I can't seem to be able to install the quota modules for the Ubuntu 16.04 AWS kernel. I've started the official cloud image (ami-e5d9439a from Ubuntu's Cloud Images site). Checking for the kernel modules shows that they're not installed:



      ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
      modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
      ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
      modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws


      The normal trick to get the quota modules is to install the linux-image-extra package for your kernel, but that doesn't exist for this one:



      ubuntu@ip-10-0-0-78:~$ sudo apt-get update
      ...
      ubuntu@ip-10-0-0-78:~$ sudo apt-get -y install linux-image-extra-`uname -r`
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package linux-image-extra-4.4.0-1060-aws
      E: Couldn't find any package by glob 'linux-image-extra-4.4.0-1060-aws'
      E: Couldn't find any package by regex 'linux-image-extra-4.4.0-1060-aws'


      Installing the linux-image-extra-virtual doesn't help, of course, because everything it installs is for the wrong kernel version:



      ubuntu@ip-10-0-0-78:~$ sudo apt-get install linux-image-extra-virtual
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following additional packages will be installed:
      amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
      linux-image-extra-4.4.0-127-generic linux-image-generic thermald wireless-regdb
      Suggested packages:
      fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools linux-headers-4.4.0-127-generic
      The following NEW packages will be installed:
      amd64-microcode crda intel-microcode iucode-tool iw libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.4.0-127-generic
      linux-image-extra-4.4.0-127-generic linux-image-extra-virtual linux-image-generic thermald wireless-regdb
      0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
      Need to get 110 MB of archives.
      After this operation, 456 MB of additional disk space will be used.
      Do you want to continue? [Y/n] yes
      Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnl-3-200 amd64 3.2.27-1ubuntu0.16.04.1 [52.2 kB]
      ...
      ubuntu@ip-10-0-0-78:~$ sudo reboot
      ...
      ubuntu@ip-10-0-0-78:~$ uname -a
      Linux ip-10-0-0-78 4.4.0-1060-aws #69-Ubuntu SMP Sun May 20 13:42:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      ubuntu@ip-10-0-0-78:~$ modprobe quota_v1
      modprobe: FATAL: Module quota_v1 not found in directory /lib/modules/4.4.0-1060-aws
      ubuntu@ip-10-0-0-78:~$ modprobe quota_v2
      modprobe: FATAL: Module quota_v2 not found in directory /lib/modules/4.4.0-1060-aws


      Is there a package I can install to get the quota kernel modules? Or do I have to build them myself if I want disk quotas on an AWS machine?









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 23 at 17:39









      Giles Thomas

      1215




      1215

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039509%2fhow-to-get-the-quota-kernel-modules-on-the-aws-kernel%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039509%2fhow-to-get-the-quota-kernel-modules-on-the-aws-kernel%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error