Skip to contentSkip to conversation

Kernel options to boot root over NFS

DISCUSSION Nestor Waldyd 2 participants 3 messages Aug 7, 2015 – Aug 11, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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" <[email protected]> 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 <[email protected]>
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"
??? <[email protected]>
Message-ID:
??? <[email protected]>
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 <[email protected]>
Subject: Re: Kernel options to boot root over NFS
??? (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64)
To: Nestor Waldyd <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org"
??? <[email protected]>
Message-ID:
??? <CAPrYoTFWA1tiD6sih7wC+9Droe_yYW1h=8wZZHdAtuhkgObA-A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Quoted 8 lines · Nestor Waldyd

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)

Quoted 4 lines

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'

_______________________________________________

Quoted 5 lines

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/20150807/1163d17e/attachment.html

#2 lore raw
Quoted 1 line · Nestor Waldyd

but all this *withouth* success.

You really need to be more specific regarding its failure to succeed.

Did you run a tcpdump to see the traffic?

How far did it get? Did it pxeboot? Did it successfully DHCP itself an address, or did it fail? Was an NFS mount packet received? Did it get a ways through there, and then die for some other reason?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150807/2053397e/attachment.bin

#3 lore raw
In reply to Nestor Waldyd

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" <[email protected]> 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 <[email protected]>
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"
??? <[email protected]>
Message-ID:
??? <[email protected]>
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 <[email protected]>
Subject: Re: Kernel options to boot root over NFS
??? (kernel-4.1.fc22/linux-4.1.3-200.fc22.x86_64)
To: Nestor Waldyd <[email protected]>
Cc: "kernelnewbies at kernelnewbies.org"
??? <[email protected]>
Message-ID:
??? <CAPrYoTFWA1tiD6sih7wC+9Droe_yYW1h=8wZZHdAtuhkgObA-A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Quoted 8 lines · Nestor Waldyd

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)

Quoted 4 lines

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'

_______________________________________________

Quoted 5 lines

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