Re: no swapon boot, no root, and no console

2011-11-06 Thread Oz Nahum Tiram
Hi Ken,
Thanks for the answer.

Well, I am using LFS 6.7 because I started building the sysyem long time
ago, and only got to finish it now.

Anyways, here are a few answer:

1. I am using Debian Squeeze as the to build LFS system. The root file
system of debian is on /dev/sda5.

2. To my best uderstanding /dev/console is there.

root@yenideb:/~# mount -t ext4 /dev/sda9 /mnt/lfs/
root@yenideb:~# cd /mnt/lfs/dev/
root@yenideb:~#/mnt/lfs/dev# ls
console  null

3. It seems that nothing under dev is recognized. Could it be that I built
udev with the wrong kernel ???
I built udev-161 as in the instructions, and after the second boot I
rebuilt it.

Thanks again,
Oz
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: no swapon boot, no root, and no console

2011-11-06 Thread Oz Nahum Tiram
Hi Everyone,

I managed to boot into my new LFS thanks to the hint regrading DEVTMPS:

CONFIG_DEVTMPFS=y and
CONFIG_DEVTMPFS_MOUNT=y

I found quick access to these options in the useful Gentoo wiki [1].

Regarding the error with console, I looked again into
/etc/sysconfing/console and found
out I had a typo there, which caused the failure.

Now, the only thing is bringing up networking, but that can wait for
another
day.

Thanks again,
Oz


[1] http://en.gentoo-wiki.com/wiki/Initramfs#devtmpfs
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Perl Problem

2011-11-06 Thread Luke Ceddia
Hi all,
I just started building the packages in chapter 6 when I discovered and
interesting problem. The perl binary exists in the /tools/bin directory,
I can view it with 'ls' and print it with 'cat'. Outside the chroot
environment, it runs fine. Inside the chroot environment, however, bash
refuses to execute it with the messsage 'bash: /tools/bin/perl: No such
file or directory' but it is clearly there. I'm using Version 7 of the
book on Debian Squeeze.
-Luke

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


stable in xml format

2011-11-06 Thread Tomasz Sekściński
Thanks, it is enough for me. i think that it was good idea to put
tarball with source of the book at
http://lfs.linuxfromscratch.pl/lfs/downloads/stable/
If it no possible any more maybe put short info on download site how to
obtain it (stable, or other regular release) from svn?
When i started translating i went wrong way and i  worked with html
files instead of xml.
Presence xml tarball simply suggests to use this files.  I  think it is
also interesting thing for new users, how the book is constructed. 

-- 
Tomasz Sekściński

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Perl Problem

2011-11-06 Thread Aleksandar Kuktin
On Mon, 07 Nov 2011 07:26:03 +1100
Luke Ceddia flukil...@gmail.com wrote:

 Hi all,
 I just started building the packages in chapter 6 when I discovered
 and interesting problem. The perl binary exists in the /tools/bin
 directory, I can view it with 'ls' and print it with 'cat'. Outside
 the chroot environment, it runs fine. Inside the chroot environment,
 however, bash refuses to execute it with the messsage
 'bash: /tools/bin/perl: No such file or directory' but it is clearly
 there. I'm using Version 7 of the book on Debian Squeeze.
 -Luke
 

Do:
$ readelf -a /tools/bin/perl | grep interpreter

You should get this (on 64bit):
[Requesting program interpreter: /tools/lib/ld-linux-x86-64.so.2]

If you get this, however:
[Requesting program interpreter: /lib/ld-linux-x86-64.so.2]

Then that means you did not properly reconfigure the linker and
compiler. Redo Chapter 5.8.

-- 
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: stable in xml format

2011-11-06 Thread Bruce Dubbs
Tomasz Sekściński wrote:
 Thanks, it is enough for me. i think that it was good idea to put
 tarball with source of the book at
 http://lfs.linuxfromscratch.pl/lfs/downloads/stable/
 If it no possible any more maybe put short info on download site how to
 obtain it (stable, or other regular release) from svn?
 When i started translating i went wrong way and i  worked with html
 files instead of xml.

OK, I updated the page, but you may just want to get everything:

svn co svn://svn.linuxfromscratch.org/LFS/

That has all the tags and branches.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page