Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230728 - sys-kernel/genkernel: booting over NFS - missing route support
Summary: sys-kernel/genkernel: booting over NFS - missing route support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-07-04 12:35 UTC by Tomas Zvala
Modified: 2010-12-10 08:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add support for default route and dns servers/domain (genkernel_udhcpc_script.patch,640 bytes, patch)
2008-07-29 12:32 UTC, Andrew Gaffney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zvala 2008-07-04 12:35:42 UTC
The idea is to put contents of LiveCD/DVD on a NFS and then use the nfs share instead of CD. Makes working gentoo livecd easier since you dont have to find cdrom drive and burn cds to install.
Gentoo even seems to have a support for this in initrd, but there is no support for default route. So if the NFS server is on different subnet I get destination unreachable. Can this be fixed please?
Comment 1 Eric Thibodeau 2008-07-07 18:20:26 UTC
The techniques I am developing for this year's SoC could actually be applied to build a "Gentoo Install Server" which could serve up stage4 images.

http://git.overlays.gentoo.org/gitweb/?p=proj/clustering-livecd.git;a=tree

...or some morphing of this idea...
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-12 16:38:02 UTC
Shouldn't a DHCP server provide you with a proper default route?
Comment 3 Tomas Zvala 2008-07-13 16:17:53 UTC
DHCP does provide you a default route, but udhcpc.script is set to ignore that.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-29 12:25:04 UTC
Do we even need the custom udhcpc.scripts? Won't udhcpd "Do The Right Thing" all by itself? Do we only have it for the purposes of creating /rootpath?
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-29 12:32:09 UTC
Created attachment 161616 [details, diff]
Add support for default route and dns servers/domain

I've just committed this patch in git. Please test and make sure it works for you.
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-29 12:33:59 UTC
I'm abusing the InSVN keyword, since InGIT doesn't exist :P
Comment 7 Sebastian Pipping gentoo-dev 2010-12-10 08:05:11 UTC
(In reply to comment #5)
> I've just committed this patch in git.

Due to the date of the last comment on this bug I assume that feature to be included in 3.4.10.907 or an earlier release of genkernel.

Closing, please re-open as needed.