Kernel options to boot root over NFS

Nestor Waldyd nwaldyd at yahoo.co.uk
Tue Aug 11 18:54:58 EDT 2015


Hello,



Thanks for your answer.
I already tried including the following kernel options:
“ Device Drivers ---> Network device support---> “[*]Ethernet (1000 Mbit) <*>Broadcom Tigon3 support-- Under “ Networking --> Networking options :”
[*] TCP/IP networking[*] IP: kernel level autoconfiguration[*] IP: DHCP support[*] IP: BOOTP support-- Under “ File systems --> Network File Systems :”<*> NFS file system support[*] Provide NFSv3 client support[*] Root file system on NFS
And configured the PXELINUX with the following APPEND options:
append nfsroot=192.168.0.2:/srv/netboot/ rw  ip=dhcp 
but all this *withouth* success.
Are there other kernel options needed for this specific kernel version (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64)?
Best Regards,
Nestor Waldyd
 


     On Friday, 7 August 2015, 11:00, "kernelnewbies-request at kernelnewbies.org" <kernelnewbies-request at kernelnewbies.org> wrote:
   

 Send Kernelnewbies mailing list submissions to
    kernelnewbies at kernelnewbies.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
or, via email, send a message with subject or body 'help' to
    kernelnewbies-request at kernelnewbies.org

You can reach the person managing the list at
    kernelnewbies-owner at kernelnewbies.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Kernelnewbies digest..."


Today's Topics:

  1. Kernel options to boot root over NFS
      (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64) (Nestor Waldyd)
  2. Re: Kernel options to boot root over NFS
      (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64) (Chetan Nanda)


----------------------------------------------------------------------

Message: 1
Date: Fri, 7 Aug 2015 00:40:16 +0000 (UTC)
From: Nestor Waldyd <nwaldyd at yahoo.co.uk>
Subject: Kernel options to boot root over NFS
    (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64)
To: "kernelnewbies at kernelnewbies.org"
    <kernelnewbies at kernelnewbies.org>
Message-ID:
    <1729297289.502759.1438908016626.JavaMail.yahoo at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hello,
I would like to compile a kernel bzImage in order to boot root over NFS. I am using the fedora kernel source package (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64). What kernel options should i modify in Kernel Configuration in order to do so? (I have already configured both tftp and dhcp server, and PXELINUX)
Best Regards,
Nestor Waldyd?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150807/e36bc8be/attachment-0001.html 

------------------------------

Message: 2
Date: Fri, 7 Aug 2015 09:58:40 +0530
From: Chetan Nanda <chetannanda at gmail.com>
Subject: Re: Kernel options to boot root over NFS
    (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64)
To: Nestor Waldyd <nwaldyd at yahoo.co.uk>
Cc: "kernelnewbies at kernelnewbies.org"
    <kernelnewbies at kernelnewbies.org>
Message-ID:
    <CAPrYoTFWA1tiD6sih7wC+9Droe_yYW1h=8wZZHdAtuhkgObA-A at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Fri, Aug 7, 2015 at 6:10 AM, Nestor Waldyd <nwaldyd at yahoo.co.uk> wrote:

> Hello,
>
> I would like to compile a kernel bzImage in order to boot root over NFS. I
> am using the fedora kernel source package
> (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64). What kernel options should i
> modify in Kernel Configuration in order to do so? (I have already
> configured both tftp and dhcp server, and PXELINUX)
>
> Best Regards,
>
> Nestor Waldyd
>

AFAIK, NFS client support needs to be selected as built-in during
configuration.
Rest is through kernel command line parameters.

There is a good description in 'Documentation/filesystems/nfs/nfsroot.txt'

_______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
> ~Chetan Nanda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150807/1982ba21/attachment-0001.html 

------------------------------

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


End of Kernelnewbies Digest, Vol 57, Issue 11
*********************************************


   

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150811/f3bd706c/attachment-0001.html 


More information about the Kernelnewbies mailing list