LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 02-15-2007, 06:56 AM   #16
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15

Hello !

Mhhh ... Are you sure you are root while trying to do that ?
 
Old 02-15-2007, 08:57 PM   #17
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Actually this command is runing as a LFS user.
But when i am run this command as a new shell terminal as a root then it is going allright but next step when i am Entering the Chroot Environment then it has gave an error message that is: -
Quote:
lfslivecd:root | Fri Feb 16 08:19:18 2007 | /mnt/lfs
# chroot "$LFS" /tools/bin/env -i \
> HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
> PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
> /tools/bin/bash --login +h
chroot: cannot change root directory to : No such file or directory
lfslivecd:root | Fri Feb 16 08:19:21 2007 | /mnt/lfs
#
Its tell No such file or directory what do u mean by this ...
Please solve this problem....
 
Old 02-19-2007, 02:48 AM   #18
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
Did you double check that $LFS was correctly set ?
 
Old 02-19-2007, 08:22 AM   #19
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
hello biniou
Now i am correct this problem...
Thanx...
 
Old 02-19-2007, 10:42 AM   #20
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Biniou
Now i am compile successfully Glibc in chapter "6.9. Glibc-2.3.6". and Re-adjusting the Toolchain.
But after that in chapter "6.11. Binutils-2.16.1" when run this command for check ptys [expect -c "spawn ls"] then i have faced an message that : -

Quote:
root:/sources/glibc# expect -c "spawn ls"
spawn ls
The system has no more ptys. Ask your system administrator to create more.
while executing
"spawn ls"
Tell me is it any problem or i should go further.
Thanx
 
Old 02-20-2007, 02:55 AM   #21
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
Hello,

Maybe you should try this : http://www.linuxfromscratch.org//lfs/faq.html#no-ptys

Good luck
 
Old 02-21-2007, 12:28 AM   #22
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Biniou
Now when i am run this"make -k check" command in chapter 6 ( 6.12. GCC-4.0.3) then i have faced this error message..

Quote:
make[3]: Leaving directory `/sources/gcc/i686-pc-linux-gnu/libmudflap'
make[2]: Leaving directory `/sources/gcc/i686-pc-linux-gnu/libmudflap'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/gcc/i686-pc-linux-gnu/libmudflap'
make: *** [check-target-libmudflap] Error 2
make[1]: Entering directory `/sources/gcc/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/sources/gcc/i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/sources/gcc/i686-pc-linux-gnu/libiberty/testsuite'
make[1]: Leaving directory `/sources/gcc/i686-pc-linux-gnu/libiberty'
make: Target `check' not remade because of errors.
root:/sources/gcc-build#
Now tell me what can i do next...
Should i countinu or not....
Thanx
 
Old 02-21-2007, 02:13 AM   #23
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
Hello !

libmudflap is known not to pass checks ... You should try to read the summary by issuing this :
../gcc-4.0.3/contrib/test_summary

Then check if there are errors on other stuffs than for libmudflap ...

At first sight, it seems OK to go on, but check the summary to be sure ...
 
Old 02-21-2007, 08:23 AM   #24
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Thanx biniou
You are right,I am read text summary and now i am going to rightway..>>>>
Thanx buddy...
I am enjoying to play with L.F.S.

Last edited by calling_u3; 02-21-2007 at 08:24 AM.
 
Old 02-23-2007, 12:12 AM   #25
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Biniou
How are u?
Buddy at last stage i have some boot problem.When i config Grub then i have faced this messages.
Quote:
grub> root (hd0,3)
Error 21: Selected disk does not exist
grub>
And when i am pass this string
Quote:
grub> root (hda,10)
Error 23: Error while parsing number
grub>
Now i have give some description on my partition.
{
I have two hard disk (hda) and (hdb)
I have two Operating system (RedHat-9) and (Window-XP) running on first hard disk (hda).
I have 11 partition of disk1(hda)
hda1 and hda5 are fat32
hda6 and hda7 are ntfs
hda8 is logical linux ext3 [/boot] for Redhat
hda9, hda10, hda11, hda12 are linux
hda3 is primary linux ext3 [/boot]
hda4 is primary linux ext3 [/]
}
Now i am using hda10 for build my LFS and hda9 for swap.
I know this is litle bit confusing but i have helpless so,
Please give me some ides to solve this problem..

here the partition map table of my hard disk (hda)
Quote:
cfdisk 2.12r

Disk Drive: /dev/hda
Size: 80026361856 bytes, 80.0 GB
Heads: 255 Sectors per Track: 63 Cylinders: 9729

Name Flags Part Type FS Type [Label] Size (MB)
-------------------------------------------------------------------------------
hda1 Boot Primary W95 FAT32 (LBA) 10495.46
hda5 Logical W95 FAT32 15734.97
hda6 Logical NTFS [^A] 15734.97
hda7 Logical NTFS 6588.45
hda8 Logical Linux ext3 [/boot] 5025.65
hda9 Logical Linux 1019.94
hda10 Logical Linux ext3 3026.91
hda11 Logical Linux ext3 3331.24
hda12 Logical Linux 7024.39
hda3 Primary Linux ext3 [/boot1] 526.42
hda4 Primary Linux ext3 [/] 5264.18
Unusable 6251.22

[Bootable] [ Delete ] [ Help ] [Maximize] [ Print ]
[ Quit ] [ Type ] [ Units ] [ Write ]

Toggle bootable flag of the current partition


Thanx

Last edited by calling_u3; 02-26-2007 at 09:08 AM.
 
Old 02-26-2007, 03:52 AM   #26
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Biniou
Where are U?
I hope u r allright..
Hey buddy I think u don’t go away from me?
 
Old 02-27-2007, 05:42 AM   #27
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
Hello !

Don't worry, I'm here ! I had stuff to do for my work this weekend (huge network maintenance), so I had few time to come on the forum ...

If you want to boot on hda3, grub wants to be installed on (hd0,2), with root=(hd0,3) ... If it's for your LFS, root=(hd0,9)

(I also answered on another thread that you hijacked )
 
Old 02-27-2007, 06:10 AM   #28
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi Biniou
Thanx buddy...I am hijacking other thread becouse u don't reply me..
Ok forgote it....

Now i am using this string "root (hd0,9)" but after that i have faced error messages that is :-
Quote:
grub> root (hd0,9)
Error 21: Selected disk does not exist
grub>
And when i have passed "root=(hd0,9)" then againg faced same error
So please tell me what can i do next becouse...
At last stages if i will be missed it, then i feel very bad.
Ok Thanx buddy i hope u will be reply as soon as possible.
 
Old 03-01-2007, 11:44 AM   #29
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
Did you build your kernel with proper support for your ext3 filesystems ?
 
Old 03-02-2007, 09:13 PM   #30
calling_u3
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Hi biniou

Yes buddy i am build my kernel proper support with ext3 file system.
 
  


Reply



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
Configure: error: cannot compute sizeof (long double) in glibc pass 2 irfanali Linux From Scratch 29 02-03-2010 06:48 AM
Double size option on XMMS problem using edgy impeteperry Ubuntu 6 03-28-2007 08:51 AM
XMMS Double size problem impeteperry Ubuntu 0 11-15-2006 02:38 PM
long double problem Xentar Linux From Scratch 1 05-22-2006 01:07 PM
Help! 2.4.29 + nptl = glibc error: cannot compute (long double), 77 Yerp Linux From Scratch 3 03-25-2005 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:36 AM.

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