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 gms...@yahoo.com
Hi,
I completed chapter 6.
During installation of chapter 6 i didn't set root password.
After
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 gms...@yahoo.com
Hi,
I have a problem running df command.
df -h
df: cannot read table of mounted file
@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
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
--
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
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
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
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
--
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 /
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
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 gms...@yahoo.com wrote:
I had to do this to change password:
export LFS=/mnt/lfs
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
--
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
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 gms...@yahoo.com
Failure message during booting:
/proc/sys /devmount: Can'f find /dev in /etc/fstab or /etc/mtab
In: failed to create symbolic
#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?
--
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
@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
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 I've
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 this
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
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 or
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 I use to
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:
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
--
Rick Shelton wrote:
On Fri, Jul 13, 2012 at 9:57 PM, gmspro gms...@yahoo.com 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
Эмиль Кранц 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:
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 defaults
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
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
29 matches
Mail list logo