Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to deploy ubuntuer-10.04 server with a pxe server. Now the problem i've encountered is that the netboot initrd/kernel image wants to load ubuntu through a mirror and not through my nfs server. How can i change that to make the installer get the distro through nfs or tftp or whatever from my local server? And i'm using preseed which i've put in my initrd.

Now it is important to note that i want to install ubuntu server, not to boot it or something similar, and i use a preseeding file. I'm currently using a modified netboot initrd where i've put my preseeding file in.

I've tried the method with netboot=nfs and nfsroot=IPOFMYSERVER:/location/of/my/image/unpacked and this didn't work (worked with ubuntu desktop and it booted but i want to install ubuntu server here).

The problem i have is that the installer keeps aksing for a mirror site and doesn't get the files from my local server

share|improve this question
Can you add to your question if you're using preseed? – Jorge Castro Dec 22 '11 at 0:19

The documentation I can find seems to be out of date but it seems setting netboot and nfsroot should do the trick, modify to your needs:

netboot=nfs nfsroot=

Instructions are here:

I have no way to test if this work, so if you cold leave a comment if it worked or not we could keep trying different things.

share|improve this answer
this worked when i used ubuntu desktop but i have ubuntu server here and this didn't work actually (i'll give it a second try anyway) – Jay Dec 22 '11 at 0:36
@Jay can you keep your question updated with what you're trying? Just put your notes right in your question. – Jorge Castro Dec 22 '11 at 0:41
now i've tried this, again, and still doesn't work asks for an ubuntu mirror, (is it important which initrd i use?, cause this was the netboot initrd?) – Jay Dec 22 '11 at 0:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.