error: Failed to copy resolv.conf to image directory

Asked by alexei24

Sorry my English
Every things runs OK until this (build.log)
I'm was creating an ISO of Ubuntu 8.04 Hardy (Spanish and English)
Everything was working OK until appears this message:

"Failed to copy resolv.conf to image directory"

in the location that must have this file I found a folder with this name (resolvconf)
but I'm not sure

and all finish but it still downloading files in the background
I'm new in free software but I have a lot of experience in Windows and seems to be easy to
work in Linux (Ubuntu) I'm trying to make a custom Ubuntu(8.04) CD with full Spanish support.

Starting CD remastering on vie jun 20 08:45:23 CDT 2008
Customization dir=/home/alexei/tmp/customization-scripts
Mounting ISO image...
Unpacking ISO image...
Unmounting ISO image...
Mounting SquashFS image...
Unpacking SquashFS image...
Unmounting SquashFS image...
Copying customization scripts...
Copying resolv.conf...
cp: cannot stat `/etc/resolv.conf': No such file or directory
Unmounting directory /home/alexei/tmp/remaster-root/proc...
Unmounting directory /home/alexei/tmp/remaster-root/sys...
Unmounting directory /home/alexei/tmp/remaster-root/dev/pts...
Failed to copy resolv.conf to image directory, error=1

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Solved by:
alexei24
Solved:
Last query:
Last reply:
Revision history for this message
Fabrizio Balliano (fabrizio-balliano) said :
#1

AFAIK the resolv.conf file is mandatory for the system to work, I don't know how you can browse the internet without it

Revision history for this message
alexei24 (alexeiaguero1) said :
#2

Well i tell that I have a clean install and I don't found this file, and my system work Ok, Internet , Apt, Programs, etc...

Wat can i do

Revision history for this message
alexei24 (alexeiaguero1) said :
#3

I again I think find the file resolv.conf but it is in other location (not in /etc/resolv.conf)
in fact it is in /usr/share/gnome/ubuntu/sample
I don't really know wat is he doing there, it seams to be locked them it must to be in use.
Well using root privilege I copy this to /etc/resolv.conf well let me see if it work...

Thanks a lot, and if any other think I let you know.

Revision history for this message
alexei24 (alexeiaguero1) said :
#4

Hi again,

Using root privilege I copy this to /etc/resolv.conf and it finish well the job.

Now I have a precious ISO file, I hope it work. Thanks a lot, and continue doing this amazing work are you doing. If something else happen the I let's you know.

thanks again