Re: with new system, how to run a test boot?

2009-08-17 Thread Justin P. Mattock
Bruce Dubbs wrote: Justin P. Mattock wrote: I like that idea, so you would have let's say 3 or 4 100mb test runs setup for multi booting. I like to use 10GB for the systems. 100MB is way too small. USe the 100MB partition for /boot as you have below. so a simple scheme

RE: with new system, how to run a test boot?

2009-08-17 Thread Russell Stockhammer
You can't boot into a sub-directory of a file system but you could do the following 1) Configure grub to boot the kernel in the /mnt/lfs directory with the current root file system as a the root directory 2) Boot grub and pass the command init=/mnt/lfs/bin/sh this will run the LFS

Fail in compiling GCC

2009-08-17 Thread Amir Khezrian
Hi first of all, thank you for your helps. I did all according to the book but, during the compilation of gcc i encountered with some errors. these are the last lines that are shown during the compilation of gcc : # Now that we have built all the objects, we need to copy # them back to the GCC

Re: Fail in compiling GCC

2009-08-17 Thread Nicolas Richard
Amir Khezrian a écrit : Hi Hello, first of all, thank you for your helps. I did all according to the book but, during the compilation of gcc i encountered with some errors. these are the last lines that are shown during the compilation of gcc : Did you read them ? /usr/bin/install:

Re: Fail in compiling GCC

2009-08-17 Thread RaptorX
as Nicolas said you should read the errors outputs... I guess this line says it all: /usr/bin/install: writing `../../host-i686-pc-linux-gnu/gcc/libgcc.a': *No space left on device* check that you have enough space and then try again. -- [Temet Nosce] +++ The ideas-about-reality

Re: with new system, how to run a test boot?

2009-08-17 Thread Justin P. Mattock
Nice, so it is possible to do this. I'll give this a try. Russell Stockhammer wrote: You can't boot into a sub-directory of a file system but you could do the following 1) Configure grub to boot the kernel in the /mnt/lfs directory with the current root file system as a the root

Re: with new system, how to run a test boot?

2009-08-17 Thread Robert A. Lerche
There's an LFS hint describing how to boot LFS without requiring a separate partition (i.e., in the same file system as another operating system). The trick is a special pre-init program that does a chroot early in the boot process (automatically, rather than manually as Russell Stockhammer

Re: with new system, how to run a test boot?

2009-08-17 Thread Justin P. Mattock
cool, thanks for the info. I'll have a look and see if I can do this. Robert A. Lerche wrote: There's an LFS hint describing how to boot LFS without requiring a separate partition (i.e., in the same file system as another operating system). The trick is a special pre-init program that does

kernel_sendpage - kernel 2.6.30.5

2009-08-17 Thread Tobias Gasser
as the sendpage-problem seems to be a serious vulnerability in the kernel, i propose to add a paragraph in the errata-section and in the kernel chapters (5.6.1 / 8.3). in my opinion even an update to lfs 6.5.1 (or 6.6 is subnumbering is not acceptable) would be ok. i had no issues here building a

Re: kernel_sendpage - kernel 2.6.30.5

2009-08-17 Thread Bruce Dubbs
Tobias Gasser wrote: as the sendpage-problem seems to be a serious vulnerability in the kernel, i propose to add a paragraph in the errata-section and in the kernel chapters (5.6.1 / 8.3). in my opinion even an update to lfs 6.5.1 (or 6.6 is subnumbering is not acceptable) would be ok. i

Re: kernel_sendpage - kernel 2.6.30.5

2009-08-17 Thread Tobias Gasser
Bruce Dubbs schrieb: In the All Packages section is a note: The Linux kernel is updated relatively often, many times due to discoveries of security vulnerabilities. The latest available 2.6.30.x kernel version should be used, unless the errata page says otherwise. oops. i read the

Re: kernel_sendpage - kernel 2.6.30.5

2009-08-17 Thread RaptorX
So I think we're covered. yes. but maybe to copy this note to chapter 5.6 and 8.3 would be a help for people with limited brain capacity like me (grin). I agree here... I also missed it. But hey dont be too hard on yourself, you are not alone! People tend to read very quickly and

Re: with new system, how to run a test boot?

2009-08-17 Thread Michael Tsang
On Monday 17 August 2009 15:15:39 Russell Stockhammer wrote: You can't boot into a sub-directory of a file system but you could do the following 1) Configure grub to boot the kernel in the /mnt/lfs directory with the current root file system as a the root directory 2) Boot grub and

Re: with new system, how to run a test boot?

2009-08-17 Thread Justin P. Mattock
Michael Tsang wrote: On Monday 17 August 2009 15:15:39 Russell Stockhammer wrote: You can't boot into a sub-directory of a file system but you could do the following 1) Configure grub to boot the kernel in the /mnt/lfs directory with the current root file system as a the root