PDA

View Full Version : Ubuntu / Linux Problem.. GURU PLEASE!



Luke122
04-19-2007, 04:49 PM
Ok, so I'm building a PXE image from a finished (and working) Edgy install, and I'm at this step:

"Finally create a PXE configuration file, (Ctrl+D) terminates cat. "
---------------

$ cat > /tmp/tftpboot/pxelinux.cfg/default
LABEL ubuntu-edgy
kernel ubuntu-edgy/vmlinuz-2.6.17.10-generic
append root=/dev/nfs nfsroot=10.30.2.10:/mnt/nfsroot/ubuntu-edgy ip=dhcp initrd=ubuntu-edgy/initrd.img-2.6.17-10-generic rw --

PROMPT 1
TIMEOUT 0

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

Everytime I run the cat command (first line), I get the error "Permission Denied". It doesnt matter if I run with/without gksudo or sudo, always comes back with this:

/tmp/tftpboot/pxelinux.cfg/default: Permission Denied

So I checked the permissions on the tftpboot folder, and saw that it's got the lock icon on it, meaning I cant modify the permissions. (Not the owner)

So, I'm at the point now where I'm stumped, and could use some help.

Do I need to take ownership of this folder, or change permissions, or what?

Help!!!

xmastree
04-19-2007, 04:59 PM
what are the folder permissions? root should be able to modify them. sudo chmod 777 /path/to/folder

Luke122
04-19-2007, 05:06 PM
OK, that works. Thanks! +rep

Now for my next problem.. I'm having trouble mounting the network share where I want to upload the completed image to. I'll post more details in a few mins.

Luke122
04-19-2007, 05:50 PM
*edit*

I'm dumb... working on a solution now, and I think the problem was my own stupidity.

*edit*

Luke122
04-19-2007, 09:03 PM
Still no luck with this.
I have to quit for tonight, I'm going to kick something soon.