Diskless with Ubuntu 12.04How can I update diskless installation 11.04 to 11.10Problem PXE bootinggrub error: out of disk when booting 12.04 server with hardware RAID5 and gptDiskless Boot with IPv6target filesystem doesn't have requested /sbin/init. /bin/sh: 0 : Can't open splash - Ubuntu 15.04Diskless Problem NetworkUbuntu 16.04 LTS kickstart not working with nfs option in ks fileMajor re-boot problemUbuntu Diskless 16.04.3 LTS (Xenial Xerus)PXE boot fails with IP-Config: no response - giving up

Would it be unbalanced to increase a druid's number of uses of Wild Shape based on level?

In what sequence should an advanced civilization teach technology to medieval society to maximize rate of adoption?

Insight into cavity resonators

What is the mathematical notation for rounding a given number to the nearest integer?

Where is it? - The Google Earth Challenge Ep. 3

How To Make Earth's Oceans as Brackish as Lyr's

Is it appropriate to CC a lot of people on an email

If I want an interpretable model, are there methods other than Linear Regression?

Is there a tool to measure the "maturity" of a code in Git?

What was the ultimate objective of The Party in 1984?

Read string of any length in C

Is "you will become a subject matter expert" code for "you'll be working on your own 100% of the time"?

Are there objective criteria for classifying consonance v. dissonance?

Examples of proofs by making reduction to a finite set

Shouldn't countries like Russia and Canada support global warming?

Planar regular languages

What is the meaning of 「ぞんぞん」?

Are there any “Third Order” acronyms used in space exploration?

Is there any reason to concentrate on the Thunderous Smite spell after using its effects?

Ambiguity in notation resolved by +

What is the Radroute bicycle path?

What would happen if Protagoras v Euathlus were heard in court today?

Why is it called a stateful and a stateless firewall?

International Orange?



Diskless with Ubuntu 12.04


How can I update diskless installation 11.04 to 11.10Problem PXE bootinggrub error: out of disk when booting 12.04 server with hardware RAID5 and gptDiskless Boot with IPv6target filesystem doesn't have requested /sbin/init. /bin/sh: 0 : Can't open splash - Ubuntu 15.04Diskless Problem NetworkUbuntu 16.04 LTS kickstart not working with nfs option in ks fileMajor re-boot problemUbuntu Diskless 16.04.3 LTS (Xenial Xerus)PXE boot fails with IP-Config: no response - giving up






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I'm trying to setup a new diskless solution with ubuntu 12.04 without any success. I followed this Diskless Ubuntu HowTo



But the initramfs seems not to be able to mount my nfs share.



On my server side:



My /etc/exports




/srv/nfs4 192.168.0.0/24(fsid=0,rw,no_subtree_check)

/srv/nfs4/nfsroot 192.168.0.0/24(rw,no_root_squash,no_subtree_check,fsid=1,nohide,insecure,sync)


I'm able to mount my nfs share on standard Ubuntu installation without any problem.



I can mount my nfs on any client with those commands:



mount 192.168.0.3:/nfsroot /mnt


or



mount 192.168.0.3:/srv/nfs4/nfsroot /mnt


My /tftpboot/pxelinux.cfg/default config file is



DEFAULT vmlinuz-3.5.0-25-generic root=/dev/nfs initrd=initrd.img-3.5.0-25-generic nfsroot=192.168.0.3:/nfsroot ip=dhcp rw


I also tried



DEFAULT vmlinuz-3.5.0-25-generic root=/dev/nfs initrd=initrd.img-3.5.0-25-generic nfsroot=192.168.0.3:/srv/nfs4/nfsroot ip=dhcp rw.


What I got in initramfs:



With the setting [nfsroot=192.168.0.3:/nfsroot]



Diskless output:



mount call failed - server replied: Permission denied


On Syslog of my nfs server:



rpc.mountd[1266]: refused mount request from 192.168.0.10 for /nfsroot (/): not exported


With the setting [nfsroot=192.168.0.3:/srv/nfs4/nfsroot]



Diskless output:



mount: the kernel lacks NFS v3 support


On Syslog of my nfs server I got:




Mar 11 14:03:06 BootFromLan rpc.mountd[1266]: authenticated mount request from 192.168.0.10:834 for /srv/nfs4/nfsroot (/srv/nfs4/nfsroot)
Mar 11 14:03:06 BootFromLan rpc.mountd[1266]: refused unmount request from 192.168.0.10 for /root (/): not exported









share|improve this question
































    1















    I'm trying to setup a new diskless solution with ubuntu 12.04 without any success. I followed this Diskless Ubuntu HowTo



    But the initramfs seems not to be able to mount my nfs share.



    On my server side:



    My /etc/exports




    /srv/nfs4 192.168.0.0/24(fsid=0,rw,no_subtree_check)

    /srv/nfs4/nfsroot 192.168.0.0/24(rw,no_root_squash,no_subtree_check,fsid=1,nohide,insecure,sync)


    I'm able to mount my nfs share on standard Ubuntu installation without any problem.



    I can mount my nfs on any client with those commands:



    mount 192.168.0.3:/nfsroot /mnt


    or



    mount 192.168.0.3:/srv/nfs4/nfsroot /mnt


    My /tftpboot/pxelinux.cfg/default config file is



    DEFAULT vmlinuz-3.5.0-25-generic root=/dev/nfs initrd=initrd.img-3.5.0-25-generic nfsroot=192.168.0.3:/nfsroot ip=dhcp rw


    I also tried



    DEFAULT vmlinuz-3.5.0-25-generic root=/dev/nfs initrd=initrd.img-3.5.0-25-generic nfsroot=192.168.0.3:/srv/nfs4/nfsroot ip=dhcp rw.


    What I got in initramfs:



    With the setting [nfsroot=192.168.0.3:/nfsroot]



    Diskless output:



    mount call failed - server replied: Permission denied


    On Syslog of my nfs server:



    rpc.mountd[1266]: refused mount request from 192.168.0.10 for /nfsroot (/): not exported


    With the setting [nfsroot=192.168.0.3:/srv/nfs4/nfsroot]



    Diskless output:



    mount: the kernel lacks NFS v3 support


    On Syslog of my nfs server I got:




    Mar 11 14:03:06 BootFromLan rpc.mountd[1266]: authenticated mount request from 192.168.0.10:834 for /srv/nfs4/nfsroot (/srv/nfs4/nfsroot)
    Mar 11 14:03:06 BootFromLan rpc.mountd[1266]: refused unmount request from 192.168.0.10 for /root (/): not exported









    share|improve this question




























      1












      1








      1


      1






      I'm trying to setup a new diskless solution with ubuntu 12.04 without any success. I followed this Diskless Ubuntu HowTo



      But the initramfs seems not to be able to mount my nfs share.



      On my server side:



      My /etc/exports




      /srv/nfs4 192.168.0.0/24(fsid=0,rw,no_subtree_check)

      /srv/nfs4/nfsroot 192.168.0.0/24(rw,no_root_squash,no_subtree_check,fsid=1,nohide,insecure,sync)


      I'm able to mount my nfs share on standard Ubuntu installation without any problem.



      I can mount my nfs on any client with those commands:



      mount 192.168.0.3:/nfsroot /mnt


      or



      mount 192.168.0.3:/srv/nfs4/nfsroot /mnt


      My /tftpboot/pxelinux.cfg/default config file is



      DEFAULT vmlinuz-3.5.0-25-generic root=/dev/nfs initrd=initrd.img-3.5.0-25-generic nfsroot=192.168.0.3:/nfsroot ip=dhcp rw


      I also tried



      DEFAULT vmlinuz-3.5.0-25-generic root=/dev/nfs initrd=initrd.img-3.5.0-25-generic nfsroot=192.168.0.3:/srv/nfs4/nfsroot ip=dhcp rw.


      What I got in initramfs:



      With the setting [nfsroot=192.168.0.3:/nfsroot]



      Diskless output:



      mount call failed - server replied: Permission denied


      On Syslog of my nfs server:



      rpc.mountd[1266]: refused mount request from 192.168.0.10 for /nfsroot (/): not exported


      With the setting [nfsroot=192.168.0.3:/srv/nfs4/nfsroot]



      Diskless output:



      mount: the kernel lacks NFS v3 support


      On Syslog of my nfs server I got:




      Mar 11 14:03:06 BootFromLan rpc.mountd[1266]: authenticated mount request from 192.168.0.10:834 for /srv/nfs4/nfsroot (/srv/nfs4/nfsroot)
      Mar 11 14:03:06 BootFromLan rpc.mountd[1266]: refused unmount request from 192.168.0.10 for /root (/): not exported









      share|improve this question
















      I'm trying to setup a new diskless solution with ubuntu 12.04 without any success. I followed this Diskless Ubuntu HowTo



      But the initramfs seems not to be able to mount my nfs share.



      On my server side:



      My /etc/exports




      /srv/nfs4 192.168.0.0/24(fsid=0,rw,no_subtree_check)

      /srv/nfs4/nfsroot 192.168.0.0/24(rw,no_root_squash,no_subtree_check,fsid=1,nohide,insecure,sync)


      I'm able to mount my nfs share on standard Ubuntu installation without any problem.



      I can mount my nfs on any client with those commands:



      mount 192.168.0.3:/nfsroot /mnt


      or



      mount 192.168.0.3:/srv/nfs4/nfsroot /mnt


      My /tftpboot/pxelinux.cfg/default config file is



      DEFAULT vmlinuz-3.5.0-25-generic root=/dev/nfs initrd=initrd.img-3.5.0-25-generic nfsroot=192.168.0.3:/nfsroot ip=dhcp rw


      I also tried



      DEFAULT vmlinuz-3.5.0-25-generic root=/dev/nfs initrd=initrd.img-3.5.0-25-generic nfsroot=192.168.0.3:/srv/nfs4/nfsroot ip=dhcp rw.


      What I got in initramfs:



      With the setting [nfsroot=192.168.0.3:/nfsroot]



      Diskless output:



      mount call failed - server replied: Permission denied


      On Syslog of my nfs server:



      rpc.mountd[1266]: refused mount request from 192.168.0.10 for /nfsroot (/): not exported


      With the setting [nfsroot=192.168.0.3:/srv/nfs4/nfsroot]



      Diskless output:



      mount: the kernel lacks NFS v3 support


      On Syslog of my nfs server I got:




      Mar 11 14:03:06 BootFromLan rpc.mountd[1266]: authenticated mount request from 192.168.0.10:834 for /srv/nfs4/nfsroot (/srv/nfs4/nfsroot)
      Mar 11 14:03:06 BootFromLan rpc.mountd[1266]: refused unmount request from 192.168.0.10 for /root (/): not exported






      12.04 boot nfs initramfs pxe






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 26 '15 at 18:10









      bcbc

      5,8694 gold badges30 silver badges67 bronze badges




      5,8694 gold badges30 silver badges67 bronze badges










      asked Mar 11 '13 at 18:15









      user139462user139462

      61 silver badge2 bronze badges




      61 silver badge2 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          0
















          Your first attempt seems to be wrong because the full path is not specified.



          Your second attempt seems to be that there is a mismatch in nfs versions: The initramfs loads version 4 but the server only serves version 3.



          Probably this might help:



          https://help.ubuntu.com/community/SettingUpNFSHowTo



          You might try to compile the TFTP-Served kernel with nfs-3-support, see lsinitramfs initrd.img-3.5.0-25-generic to check what's inside.






          share|improve this answer

























          • But when I try to mount my nfs share remotely I can mount with nfs V4: mount -t nfs4 192.168.0.3:/nfsroot /mnt.

            – user139462
            Mar 11 '13 at 19:09












          • And when I list my mount, I can see: 192.168.0.3:/nfsroot on /mnt type nfs4 (rw,addr=192.168.0.3,clientaddr=192.168.0.2)

            – user139462
            Mar 11 '13 at 19:11






          • 1





            Yes, since the module is not present in the initramfs. Perhapse replace root=/dev/nfs with rootfstype=nfs4 root=/dev/nfs4

            – aquaherd
            Mar 11 '13 at 21:33


















          0
















          Maybe issue with the files, did you use cp -ax to copy the files from the DVD/image to NFS. See http://ubuntuforums.org/archive/index.php/t-921313.html



          Or, it will automatically unmount the given NFS share when it doesn't find the kernel stuff it is looking for.



          You might need the boot=casper or similiar. Check your NFS directory structure. dirname find /nfs -type f -name "*linuz*"






          share|improve this answer





























            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            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%2f266642%2fdiskless-with-ubuntu-12-04%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0
















            Your first attempt seems to be wrong because the full path is not specified.



            Your second attempt seems to be that there is a mismatch in nfs versions: The initramfs loads version 4 but the server only serves version 3.



            Probably this might help:



            https://help.ubuntu.com/community/SettingUpNFSHowTo



            You might try to compile the TFTP-Served kernel with nfs-3-support, see lsinitramfs initrd.img-3.5.0-25-generic to check what's inside.






            share|improve this answer

























            • But when I try to mount my nfs share remotely I can mount with nfs V4: mount -t nfs4 192.168.0.3:/nfsroot /mnt.

              – user139462
              Mar 11 '13 at 19:09












            • And when I list my mount, I can see: 192.168.0.3:/nfsroot on /mnt type nfs4 (rw,addr=192.168.0.3,clientaddr=192.168.0.2)

              – user139462
              Mar 11 '13 at 19:11






            • 1





              Yes, since the module is not present in the initramfs. Perhapse replace root=/dev/nfs with rootfstype=nfs4 root=/dev/nfs4

              – aquaherd
              Mar 11 '13 at 21:33















            0
















            Your first attempt seems to be wrong because the full path is not specified.



            Your second attempt seems to be that there is a mismatch in nfs versions: The initramfs loads version 4 but the server only serves version 3.



            Probably this might help:



            https://help.ubuntu.com/community/SettingUpNFSHowTo



            You might try to compile the TFTP-Served kernel with nfs-3-support, see lsinitramfs initrd.img-3.5.0-25-generic to check what's inside.






            share|improve this answer

























            • But when I try to mount my nfs share remotely I can mount with nfs V4: mount -t nfs4 192.168.0.3:/nfsroot /mnt.

              – user139462
              Mar 11 '13 at 19:09












            • And when I list my mount, I can see: 192.168.0.3:/nfsroot on /mnt type nfs4 (rw,addr=192.168.0.3,clientaddr=192.168.0.2)

              – user139462
              Mar 11 '13 at 19:11






            • 1





              Yes, since the module is not present in the initramfs. Perhapse replace root=/dev/nfs with rootfstype=nfs4 root=/dev/nfs4

              – aquaherd
              Mar 11 '13 at 21:33













            0














            0










            0









            Your first attempt seems to be wrong because the full path is not specified.



            Your second attempt seems to be that there is a mismatch in nfs versions: The initramfs loads version 4 but the server only serves version 3.



            Probably this might help:



            https://help.ubuntu.com/community/SettingUpNFSHowTo



            You might try to compile the TFTP-Served kernel with nfs-3-support, see lsinitramfs initrd.img-3.5.0-25-generic to check what's inside.






            share|improve this answer













            Your first attempt seems to be wrong because the full path is not specified.



            Your second attempt seems to be that there is a mismatch in nfs versions: The initramfs loads version 4 but the server only serves version 3.



            Probably this might help:



            https://help.ubuntu.com/community/SettingUpNFSHowTo



            You might try to compile the TFTP-Served kernel with nfs-3-support, see lsinitramfs initrd.img-3.5.0-25-generic to check what's inside.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 11 '13 at 19:00









            aquaherdaquaherd

            5,40924 silver badges36 bronze badges




            5,40924 silver badges36 bronze badges















            • But when I try to mount my nfs share remotely I can mount with nfs V4: mount -t nfs4 192.168.0.3:/nfsroot /mnt.

              – user139462
              Mar 11 '13 at 19:09












            • And when I list my mount, I can see: 192.168.0.3:/nfsroot on /mnt type nfs4 (rw,addr=192.168.0.3,clientaddr=192.168.0.2)

              – user139462
              Mar 11 '13 at 19:11






            • 1





              Yes, since the module is not present in the initramfs. Perhapse replace root=/dev/nfs with rootfstype=nfs4 root=/dev/nfs4

              – aquaherd
              Mar 11 '13 at 21:33

















            • But when I try to mount my nfs share remotely I can mount with nfs V4: mount -t nfs4 192.168.0.3:/nfsroot /mnt.

              – user139462
              Mar 11 '13 at 19:09












            • And when I list my mount, I can see: 192.168.0.3:/nfsroot on /mnt type nfs4 (rw,addr=192.168.0.3,clientaddr=192.168.0.2)

              – user139462
              Mar 11 '13 at 19:11






            • 1





              Yes, since the module is not present in the initramfs. Perhapse replace root=/dev/nfs with rootfstype=nfs4 root=/dev/nfs4

              – aquaherd
              Mar 11 '13 at 21:33
















            But when I try to mount my nfs share remotely I can mount with nfs V4: mount -t nfs4 192.168.0.3:/nfsroot /mnt.

            – user139462
            Mar 11 '13 at 19:09






            But when I try to mount my nfs share remotely I can mount with nfs V4: mount -t nfs4 192.168.0.3:/nfsroot /mnt.

            – user139462
            Mar 11 '13 at 19:09














            And when I list my mount, I can see: 192.168.0.3:/nfsroot on /mnt type nfs4 (rw,addr=192.168.0.3,clientaddr=192.168.0.2)

            – user139462
            Mar 11 '13 at 19:11





            And when I list my mount, I can see: 192.168.0.3:/nfsroot on /mnt type nfs4 (rw,addr=192.168.0.3,clientaddr=192.168.0.2)

            – user139462
            Mar 11 '13 at 19:11




            1




            1





            Yes, since the module is not present in the initramfs. Perhapse replace root=/dev/nfs with rootfstype=nfs4 root=/dev/nfs4

            – aquaherd
            Mar 11 '13 at 21:33





            Yes, since the module is not present in the initramfs. Perhapse replace root=/dev/nfs with rootfstype=nfs4 root=/dev/nfs4

            – aquaherd
            Mar 11 '13 at 21:33













            0
















            Maybe issue with the files, did you use cp -ax to copy the files from the DVD/image to NFS. See http://ubuntuforums.org/archive/index.php/t-921313.html



            Or, it will automatically unmount the given NFS share when it doesn't find the kernel stuff it is looking for.



            You might need the boot=casper or similiar. Check your NFS directory structure. dirname find /nfs -type f -name "*linuz*"






            share|improve this answer































              0
















              Maybe issue with the files, did you use cp -ax to copy the files from the DVD/image to NFS. See http://ubuntuforums.org/archive/index.php/t-921313.html



              Or, it will automatically unmount the given NFS share when it doesn't find the kernel stuff it is looking for.



              You might need the boot=casper or similiar. Check your NFS directory structure. dirname find /nfs -type f -name "*linuz*"






              share|improve this answer





























                0














                0










                0









                Maybe issue with the files, did you use cp -ax to copy the files from the DVD/image to NFS. See http://ubuntuforums.org/archive/index.php/t-921313.html



                Or, it will automatically unmount the given NFS share when it doesn't find the kernel stuff it is looking for.



                You might need the boot=casper or similiar. Check your NFS directory structure. dirname find /nfs -type f -name "*linuz*"






                share|improve this answer















                Maybe issue with the files, did you use cp -ax to copy the files from the DVD/image to NFS. See http://ubuntuforums.org/archive/index.php/t-921313.html



                Or, it will automatically unmount the given NFS share when it doesn't find the kernel stuff it is looking for.



                You might need the boot=casper or similiar. Check your NFS directory structure. dirname find /nfs -type f -name "*linuz*"







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 12 '13 at 15:05









                Masroor

                1,7234 gold badges22 silver badges44 bronze badges




                1,7234 gold badges22 silver badges44 bronze badges










                answered Nov 12 '13 at 7:21









                Matti A. PenttiMatti A. Pentti

                1




                1































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f266642%2fdiskless-with-ubuntu-12-04%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?