lfs-support Digest, Vol 2234, Issue 1

Anand Arumugam anand.arumug at gmail.com
Thu Feb 17 06:00:23 PST 2011


On Thu, Feb 17, 2011 at 2:00 AM,
<lfs-support-request at linuxfromscratch.org>wrote:

>
> Message: 2
> Date: Wed, 16 Feb 2011 07:17:45 -0800
> From: bsquared <bwcode4u at gmail.com>
> Subject: Re: changing the host distro
> To: LFS Support List <lfs-support at linuxfromscratch.org>
> Message-ID:
>        <AANLkTik+Bm0HiYtPiuj161e2T_-in2_aaOefDcm5RhO1 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Wed, Feb 16, 2011 at 6:56 AM, Anand Arumugam <anand.arumug at gmail.com>
> wrote:
> > Hello all,
> > The machine in which I am trying to get LFS built was running the latest
> > version of debian. But I changed the distro to Xubuntu 10.10 while
> retaining
> > the /mnt/lfs partition. I was not able to login to /mnt/lfs since the lfs
> > user profile was lost. So I went through the steps in chapter-4 on adding
> > the LFS user. Then I was able to login to /mnt/lfs and also able to su -
> > lfs. But I am having problems in chapter-6 when I tried to do make
> mrproper.
> > I am getting the following error:
> > root:/sources/linux-2.6.35.4# make mrproper
> > make: /bin/sh: Command not found
> > make: /bin/sh: Command not found
> > Makefile:538: /sources/linux-2.6.35.4/arch//Makefile: No such file or
> > directory
> > make: /bin/sh: Command not found
> > make: /bin/sh: Command not found
> > make: /bin/sh: Command not found
> > make: /bin/sh: Command not found
> > make: /bin/sh: Command not found
> > make: /bin/sh: Command not found
> > make: *** No rule to make target
> '/sources/linux-2.6.35.4/arch//Makefile'.
> > Stop.
> > Does switching the host distro got anything to do with this problem?
> > Any help is greatly appreciated.
> > Thanks,
> > Anand.
> >
> > --
> > http://linuxfromscratch.org/mailman/listinfo/lfs-support
> > FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> > Unsubscribe: See the above information page
> >
> >
>
> I am not sure where in chapter 6 you are, but the message indicates
> that '/bin/sh' can't be found.  As I recall that should be a symlink
> to /tools/bin/{sh,bash}?.
> Review 6.2 - 6.6 and see if maybe a step was forgotten.
>
>
> -Brian
>


The mistake was in ln -sv bash /bin/sh. I have typed dash instead of bash :)

Thanks for your reply.

cheers,
-anand.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20110217/4150f2db/attachment.html>


More information about the lfs-support mailing list