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

2012-07-14 Thread Эмиль Кранц
the line "passwd: password changed" says otherwise you have changed your password. there will be no visible indications of changing password. try to log in 2012/7/14 gmspro > Hi, > > I completed chapter 6. > During installation of chapter 6 i didn't set root password. > After completing and doi

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

2012-07-14 Thread Эмиль Кранц
you are doing df -h from chroot. at this stage you cannot read the partition table. df (and everything else) will work once you logged into lfs as your primary system. EK 2012/7/14 gmspro > > Hi, > > I have a problem running df command. > > df -h > df: cannot read table of mounted file systems >

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 -- http://linuxfromscratch.o

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

2012-07-14 Thread Эмиль Кранц
This is what you have posted: root:/etc# passwd root Changing password for root Enter the new password (minimum of 5 characters) Please use a combination of upper and lower case letters and numbers. Bad password: too short. Warning: weak password (enter it again to use it anyway). passwd: passwor

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

2012-07-14 Thread Andrew Benton
On Sat, 14 Jul 2012 09:42:21 +0100 gmspro wrote: > @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

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

2012-07-14 Thread James Pinto
I think I know what the problem is when it asks u for a password u think it is not typing anything beacuse it doesnt show on the screen (dont worry it is getting typed its just a security feature of unix and linux systems not to show the password or * sign on the screen u can still type the passwor

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

2012-07-14 Thread James Pinto
You used $BDUX ? If ur using the instructions given in the book u should be using sudo chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$' PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login the $LFS variable instead. Anyhow if u used $BDUX instead try this command echo $BDUX and t

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

2012-07-14 Thread James Pinto
If your using $BDUX replace $LFS with $BDUX Check if the lfs variable is set always echo $LFS replace with BDUX instead of LFS if ur using BDUX export LFS=/mnt/lfs Check if the lfs variable is set always echo $LFS Replace sda7 with whatever your lfs partition is (here also replace with BDUX ins

[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 -- http://linuxfromscra

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread Wayne Sallee
I'm new to LFS, but did you check /var/log ? Wayne Sallee wa...@waynesallee.com gmspro wrote: > 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 /

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread Ken Moffat
On Sat, Jul 14, 2012 at 03:45:48AM -0700, gmspro wrote: > 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

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

2012-07-14 Thread James Pinto
Hey glad to see that worked! u need to run those commands everytime u reboot ur host system. this changes the root to the root of lfs. good luck! glad that worked out... On Sat, Jul 14, 2012 at 4:22 PM, gmspro wrote: > I had to do this to change password: > > export LFS=/mnt/lfs > mount /dev/sdb

Re: [lfs-support] pstree show wrong info

2012-07-14 Thread xinglp
This is just a workaround patch to disable the support of "hidepid". When applied the patch and turned on hidepid, pstree not work any more. Not work is better than wrong work, :-) psmisc-22.19-pstree-disable-hidepid.patch Description: Binary data -- http://linuxfromscratch.org/mailman/listinfo/

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 unforse

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread Эмиль Кранц
post your grub.cfg, for a time only the part concerning the available kernels Also, state, if you have separate /boot partition 2012/7/14 gmspro > > Failure message during booting: > > " > /proc/sys /devmount: Can'f find /dev in /etc/fstab or /etc/mtab > In: failed to create symbolic link '/d

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? -- http://linuxfromscratch.org/mai

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread spiky
On 14/07/12 16:14, gmspro wrote: #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 Ken Moffat
On Sat, Jul 14, 2012 at 09:06:13AM -0700, gmspro wrote: > @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). > I think you had errors between starting to boot, and the part that you showed us, which

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread Ken Moffat
On Sat, Jul 14, 2012 at 07:32:16AM -0700, gmspro wrote: > Failure message during booting: > Sorry, only just found this - because you copied me, it fell into my default mailbox, which I only look at infrequently. For the LFS lists, it is usually better to just reply to the list. Please try thi

[lfs-support] Forgot to patch the patch

2012-07-14 Thread Wayne Sallee
In 6.54. Patch-2.6.1 I ran: ./configure --prefix=/usr make make install Then I realized that I forgot to run: patch -Np1 -i ../patch-2.6.1-test_fix-1.patch Is this not a problem since I did not run "make check", or should I go back and redo it, and if so, what method should I use to uninsta

Re: [lfs-support] Forgot to patch the patch

2012-07-14 Thread Ken Moffat
On Sat, Jul 14, 2012 at 03:32:40PM -0400, Wayne Sallee wrote: > > Then I realized that I forgot to run: > patch -Np1 -i ../patch-2.6.1-test_fix-1.patch > > Is this not a problem since I did not run "make check", or should I go > back and redo it, and if so, what method should I use to uninstall

Re: [lfs-support] Forgot to patch the patch

2012-07-14 Thread Wayne Sallee
Ken Moffat wrote: > On Sat, Jul 14, 2012 at 03:32:40PM -0400, Wayne Sallee wrote: >> Then I realized that I forgot to run: >> patch -Np1 -i ../patch-2.6.1-test_fix-1.patch >> >> Is this not a problem since I did not run "make check", or should I go >> back and redo it, and if so, what method should

Re: [lfs-support] Forgot to patch the patch

2012-07-14 Thread Wayne Sallee
LOL now I reailze that I did not forget to patch it. That's not until 6.54. and I'm still in 5.28. I normally don't get lost that easily. :-) I'll be ok ,, really :-) Wayne Sallee wa...@waynesallee.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.

Re: [lfs-support] Forgot to patch the patch

2012-07-14 Thread William Harrington
On Jul 14, 2012, at 15:06 PM, Wayne Sallee wrote: > LOL now I reailze that I did not forget to patch it. That's not until > 6.54. and I'm still in 5.28. > I normally don't get lost that easily. :-) > > I'll be ok ,, really :-) > > Wayne Sallee > wa...@waynesallee.com > -- > http://linuxfromscra

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

2012-07-14 Thread Bruce Dubbs
Rick Shelton wrote: > On Fri, Jul 13, 2012 at 9:57 PM, gmspro wrote: >> 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? > I think the error message was mis

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

2012-07-14 Thread Bruce Dubbs
Эмиль Кранц wrote: > the line "passwd: password changed" says otherwise > you have changed your password. > there will be no visible indications of changing password. > try to log in Better, look at /etc/passwd and /etc/shadow. You should see something like: /etc/passwd: root:x:0:0:root:/root:/b

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread Bruce Dubbs
gmspro wrote: > 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 /ext4defaults1 1 > /dev/sdb6 swap swap defa

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 root:/sou

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread gmspro
I re-compiled linux kernel with devtmpfs and other related to tmpfs and sysfs and procfs. Now it's booting well. It's mounting the root filesystem as well as the swap and the /dev and /sys and /proc. Everything looks ok now for lfs. I can login now. I had to remove /etc/systconfig/console though,

Re: [lfs-support] Kernel is not booting

2012-07-14 Thread Marco Kluth
On 14.07.2012 18:06, wrote gmspro: > 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). Are this ATA-HDD and this SATA-HDD connected to the same controller on the motherboard? If not, it's possible that the assignation o