[lfs-support] Why are binutils and gcc compiled twice(pass1pass2) ?

2012-07-19 Thread gmspro
Hi, In chapter to make the toolchain, binutils and gcc are compiled twice. Why? If i don't follow that, or if i don't compiled twice, would there be any problem? Any answer will be highly appreciated? Thanks in advance. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ:

Re: [lfs-support] Can't change root password

2012-07-14 Thread gmspro
@james, I logged in as: chroot $BDUX /usr/bin/env -i HOME=/root TERM=$TERM PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login Then i tried to change password. It doesn't give me the prompt to type password. It directly ends. I didn't/can't type any password. It doesn't take

Re: [lfs-support] Can't do df -h, but coreutils is installed successfully

2012-07-14 Thread gmspro
Yes, it's chroot. I did this to login from other distro. chroot $BDUX /usr/bin/env -i HOME=/root TERM=$TERM PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /bin/bash --login From chroot, there is no file named /proc/mounts What should i do then? Thanks --

[lfs-support] Kernel is not booting

2012-07-14 Thread gmspro
Hi, I have install linux kernel-3.2.6 from inside chroot to lfs system. During boot, it displays /etc/fstab /etc/mtab not found or something. This is the /etc/fstab: /dev/sdb8  /    ext4    defaults    1 1 /dev/sdb6  swap swap defaults   0 0

Re: [lfs-support] Can't do df -h, but coreutils is installed successfully

2012-07-14 Thread gmspro
No problem with exporting varialbes. export LFS=/mnt/lfs was done before. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: [lfs-support] Can't change root password

2012-07-14 Thread gmspro
I had to do this to change password: export LFS=/mnt/lfs mount /dev/sdb8 /mnt/lfs mount -t proc proc /mnt/lfs/proc mount --rbind /dev /mnt/lfs/dev chroot $LFS /usr/bin/env -i HOME=/root TERM=$TERM PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /bin/bash --login --

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread gmspro
Failure message during booting: /proc/sys /devmount: Can'f find /dev in /etc/fstab or /etc/mtab In: failed to create symbolic link '/dev/shm' : Read only file system cp: can not remove '/dev/null': Read only file system FAILURE: You should not be reading this error. It means that an unforseen

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread gmspro
#grub.cfg menuentry 'Custom' {     insmod part_msdos     insmod ext2     set root='(hd1,msdos8)'     search --no-floppy --fs-uuid --set 2d1bcc50-c7f9-4d2a-8ab4-dba8795b78e9     linux    /boot/vmlinuz root=/dev/sdb8 rootfstype=ext4 ro quiet } What's wrong here? --

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread gmspro
@martynvidler, No, it's not usb device. It's the sata 2nd hard disk(sdb). partition = 8 , so /dev/sdb8 Then first hard disk is a ATA(sda). -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread gmspro
After doing make install for kernel i get this, is there any problem with it?   BUILD   arch/x86/boot/bzImage Setup is 14956 bytes (padded to 15360 bytes). System is 5159 kB CRC ec6a6f92 Kernel: arch/x86/boot/bzImage is ready  (#1) real    12m17.850s user    22m31.904s sys    1m31.042s

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread gmspro
, otherwise i get some un-readable texts/characters. Thank you all. --- On Sat, 7/14/12, Ken Moffat zarniwh...@ntlworld.com wrote: From: Ken Moffat zarniwh...@ntlworld.com Subject: Re: [lfs-support] Kernel is not booting To: gmspro gms...@yahoo.com Cc: lfs-support@linuxfromscratch.org Date

[lfs-support] Why am i getting error during make/compile for glibc in chapter 5?

2012-07-13 Thread gmspro
Hi, I'm getting error for make glibc-2.14.1.tar.bz2 /bin/sh scripts/move-if-change /mnt/lfs/sources/glibc-build/bits/stdio_lim.h.new /mnt/lfs/sources/glibc-build/bits/stdio_lim.h rm -f /mnt/lfs/sources/glibc-build/bits/stdio_lim.hT /mnt/lfs/sources/glibc-build/bits/stdio_lim.dT

[lfs-support] Can't do df -h, but coreutils is installed successfully

2012-07-13 Thread gmspro
Hi, I have a problem running df command. df -h df: cannot read table of mounted file systems man df , displays/shows the manual. Where is the problem? What should i do? Any answer will be highly appreciated. Thanks in advance -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ:

[lfs-support] Can't change root password

2012-07-13 Thread gmspro
Hi, I completed chapter 6. During installation of chapter 6 i didn't set root password. After completing and doing a chroot, i tried to chage root password and get this error message every time. root:/etc# passwd root Changing password for root Enter the new password (minimum of 5 characters)

Re: [lfs-support] Do lfs devs write patches?

2012-04-10 Thread gmspro
@bruce, I meant, do the lfs devs write patches? Or, do they just get the patches from somewhere else and store/mirror there http://www.linuxfromscratch.org/patches/lfs/7.1/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html

[lfs-support] Do lfs devs write patches?

2012-04-09 Thread gmspro
Do some particular lfs devs write these patches? http://www.linuxfromscratch.org/patches/lfs/7.1/ Or do they copy patches somewhere and store there in that mirror? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the

Re: [lfs-support] Do lfs devs write patches?

2012-04-09 Thread gmspro
@bruce, Yes.   -- Bruce Yes for what? Yes for 'Or do they copy patches somewhere and store there in that mirror?' or Yes for 'Do some particular lfs devs write these patches? http://www.linuxfromscratch.org/patches/lfs/7.1/ ' -- http://linuxfromscratch.org/mailman/listinfo/lfs-support

[lfs-support] Can i install the original package without patching?

2012-04-07 Thread gmspro
Usually the install process of a package is: ./configure --prefix=/usr make make install Normally the patches are not available with the original package. All user download the source code configure/compile/install it. Where can i get the patches of the original package? Do the lfs devs write

[lfs-support] Can i write my own init scripts skiping linuxfromscratch boot scripts? Can i skip patching?

2012-04-06 Thread gmspro
http://www.linuxfromscratch.org/lfs/view/stable/chapter07/bootscripts.html Here there are bootscripts. I want to make my own linux. That's why i don't want to use others' script. If i don't install those scripts will the lfs work or will it be bootable? If i don't install those scripts do i

Re: [lfs-support] Can't login after kernel loading, some configuration problem with kernel loading

2012-04-04 Thread gmspro
Done, Thanks. From: Andrew Benton a...@benton.eu.com To: lfs-support@linuxfromscratch.org Cc: gmspro gms...@yahoo.com; LFS Support List lfs-support@linuxfromscratch.org Sent: Wednesday, April 4, 2012 12:43 AM Subject: Re: [lfs-support] Can't login after

[lfs-support] Can't install glib

2012-04-04 Thread gmspro
cd glib-2.32.0 ./configure --prefix=/usr --sysconfdir=/etc checking for zlib.h... yes checking for LIBFFI... no configure: error: in `/sources/glib-2.32.0': configure: error: The pkg-config script could not be found or is too old.  Make sure it is in your PATH or set the PKG_CONFIG environment

[lfs-support] Can't install irssi

2012-04-04 Thread gmspro
I have install glib and pkg-config following th blfs doc cd irssi-0.8.15 ./configure checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.7... yes checking for GLIB - version = 2.6.0... Package libpcre was not found in the pkg-config search path. Perhaps you

[lfs-support] Kernel is not loading successfully

2012-04-03 Thread gmspro
During kernel boot i get some errors/failure. Here is the logs Apr 03 20:08:42 +07:00 (none)  Mounting virtual file systems: /run /proc /sys /devFAIL Apr 03 20:08:42 +07:00 (none)   FAIL Apr 03 20:08:42 +07:00 (none)  FAILURE: You should not be reading this error message. It means that an

[lfs-support] Can't login after kernel loading, some configuration problem with kernel loading

2012-04-03 Thread gmspro
cat /var/log/boot.log Apr 04 02:00:55 +07:00 (none)  Mounting virtual file systems: /run /proc /sys OK Apr 04 02:00:55 +07:00 (none)  Bringing up the loopback interface... OK Apr 04 02:00:55 +07:00 (none)  Setting hostname to lfs... OK Apr 04 02:00:55 +07:00 lfs  Populating /dev with device

Re: [lfs-support] Can't login after kernel loading, some configuration problem with kernel loading

2012-04-03 Thread gmspro
punctuations What should i do? From: Bruce Dubbs bruce.du...@gmail.com To: gmspro gms...@yahoo.com; LFS Support List lfs-support@linuxfromscratch.org Sent: Tuesday, April 3, 2012 6:22 PM Subject: Re: [lfs-support] Can't login after kernel loading, some

Re: [lfs-support] Can't login after kernel loading, some configuration problem with kernel loading

2012-04-03 Thread gmspro
and lower case letters and numbers. Bad password: too short.  Warning: weak password (enter it again to use it anyway). passwd: password changed. root:/# Can't change root password. What should i do? From: Bruce Dubbs bruce.du...@gmail.com To: gmspro gms

[lfs-support] How can i set up pppoe internet connection?

2012-04-03 Thread gmspro
Here it's for static ip address http://www.linuxfromscratch.org/lfs/view/stable/chapter07/network.html I need to install rp-pppoe, the pppoe-setup and pppoe-start, how can i install it? After chroot if i type ifconfig 'bash: ifconfig: command not found' What should i do? I don't need