Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 07-30-2003, 01:38 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0

t:/static/src/linux-2.4.19# chown -R root /bin
root:/static/src/linux-2.4.19# ln -s /static/bin/pwd /bin/pwd && make mrproper && make include/linux/version.h && make symlinks && cp -HR include/asm /usr/include && cp -R include/asm-generic /usr/include && cp -R include/linux /usr/include && touch /usr/include/linux/autoconf.h && rm /bin/pwd
ln: `/bin/pwd': File exists
Old 07-30-2003, 02:04 PM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475

What are you trying to do, how are you trying to do it and what is it doing that you don't like?

Collectively we are all helpful and able to help, but until Linus Torvalds codes a telepathy module for the kernel you have to give a lot more information.
Old 07-30-2003, 02:32 PM   #3
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
#1) I'm not sure why you "chown -R root /bin"; Root can read/write anything it wants at anytime, and I don't remember that being a part of the LFS book. It doesn't affect your problem, but it's an unnecessary step.

#2) The error is saying you alrady have a /bin/pwd (I know: "No $@&! Sherlock!"), so you need to do some research. Find out if the /bin/pwd is a legitimate executable. If it is, then you can skip that part of the command (and you'll want to take off the rm at the end too). That's doubtful because you should have chroot'ed into your LFS system at this point, and /bin/pwd should not exist at that point.

If /bin/pwd is a symlink, that suggests you tried the command earlier and it failed before it got to "rm /bin/pwd". So, you can either "rm /bin/pwd" and issue the command again, change "ln -s" to "ln -sf", or skip that portion of the command entirely.

P.S. I would also be helpful to mention you're using a previous version of the LFS book and, like XavierP mentioned, to clarify what the problem is, even if it might seem obvious. I couldn't tell at first until I squinted to see the "ln: `/bin/pwd': File exists" in that long glob of a command (a couple newlines wouldn't hurt either... )


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 network hlep caulfiek Slackware 6 08-04-2005 02:06 AM
Hlep installing gtk-gnutella mike8994 Linux - Newbie 8 05-25-2004 01:58 PM
apache hlep Lawful Linux - Networking 4 05-08-2004 01:09 PM
hlep with samba monkeymartin Linux - Networking 1 04-03-2003 05:12 AM
3com 3cr990 and Redhat 8 - need hlep installing FiniteState Linux - Networking 5 02-03-2003 10:05 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration