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. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-22-2004, 06:32 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 2
Rep:
|
cannot login root
Hi,
I have just installed LFS.
When i try to login as root I have an error :
Cannot execute /bin/bash : No such File or Directory.
Please help me
Thanks
Alex
|
|
|
04-22-2004, 08:28 AM
|
#2
|
Member
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: Fedora Core 5
Posts: 76
Rep:
|
That's very odd -- bash is used in all system maintenance scripts, so it's very weird installation process allowed you to skip its installation. This suggest you might have screwed up something.
I have never used LFS, so I cannot help much here. If you can install specific packages from installation cds, you could try to install bash... anyway, you might get more useful help from LFS mailing lists and forums (check LFS manpage).
HTH
Andre
|
|
|
04-22-2004, 08:36 AM
|
#3
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
check your /etc/passwd file to see what root's password is if you can. i guess not now.
make a symlink to whatever shell you can use to /bin/bash like
ln -s /bin/bash2 /bin/bash
or
ln -s /bin/csh /bin/bash
then you can change what you need.
|
|
|
All times are GMT -5. The time now is 11:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|