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 instead of LFS if ur using BDUX ) sudo mount -v -t ext3 /dev/sda7 $LFS sudo mount -v --bind /dev $LFS/dev sudo mount -vt devpts devpts $LFS/dev/pts sudo mount -vt tmpfs shm $LFS/dev/shm sudo mount -vt proc proc $LFS/proc sudo mount -vt sysfs sysfs $LFS/sys new command to be run from chapter 7 onwards sudo chroot "$LFS" /usr/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$' PATH=/bin:/usr/bin:/sbin:/usr/sbin /bin/bash --login Now finally try to change ur passwd, If u have done everything right as above it will work. Regards James On Sat, Jul 14, 2012 at 2:12 PM, gmspro <[email protected]> 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. It directly ends. > I didn't/can't type any password. It doesn't take any password from me. > > > > <lfs-support%40linuxfromscratch.org?Subject=%5Blfs-support%5D%20Can%27t%20change%20root%20password&In-Reply-To=1342239911.1364.YahooMailClassic%40web164603.mail.gq1.yahoo.com> > @bl8r1ner, > No, it didn't change root password. > > > NOTE: Probably entering as chroot it doesn't support to change password, > Then what should i do? > > Thanks. > > > > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > > -- James Earnest Pinto Director/CEO *Phoenix Fusion* www.phoenixfusion.in D-4, Krist Jyoti, Pushpanjali Enclave, Pitampura, Delhi - 110034 Mobile: +91 8595053531 Facebook: http://www.facebook.com/pages/Phoenix-Fusion/286108164758740
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
