How to skip two settings

2010-06-16 Thread Parmenides
Hi,
   When system starting, there are two settings, namely 'regional
settings' and 'edit settings',
at which the process of starting will pause and I have to press enter
key twice to finish them.
Is there any configurations by which I can skip them automatically every time.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: priority in install of packages

2010-06-16 Thread Simon Geard
On Tue, 2010-06-15 at 12:23 -0400, Neal Murphy wrote:
 To be absolutely clear, and to directly answer the question, yes, it is a 
 problem because Expect will fail to compile if the TCL programs and libraries 
 are not found.

Or worse, will find the chapter 5 versions of those programs  libraries
in /tools, hardcode references to them, and break one /tools is deleted
in the future.

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: priority in install of packages

2010-06-16 Thread Simon Geard
On Tue, 2010-06-15 at 21:45 +0430, Mohsen Pahlevanzadeh wrote:
 In appendex (Dependency section), we have 2 part for each package:

The appendix is for information only. When it comes to installing
packages, follow the *exact* instructions in the main book, in the
*exact* order they're in.

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: How to skip two settings

2010-06-16 Thread Aleksandar Kuktin
On Wed, 16 Jun 2010 17:34:34 +0800
Parmenides mobile.parmeni...@gmail.com wrote:

 Hi,
When system starting, there are two settings, namely 'regional
 settings' and 'edit settings',
 at which the process of starting will pause and I have to press enter
 key twice to finish them.
 Is there any configurations by which I can skip them automatically
 every time.

This is in which part of the boot??

BIOS, Grub, Linux? Virtual machine? Other OS-es bootloader? Something
else?

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


Cannot execute grub-install

2010-06-16 Thread Michael Vahl
Hey y'all,

i've recently passed all prior steps of chapter 8.4.2 (LFS 6.6). But now,
without any error messages, I'm not able to execute grub-install
--grub-setup=/bin/true /dev/sda. grub-install can be found and sda is the
system's hdd but the system doesn't confirm the command. Nothing happens.
The only thing I can do is Ctrl+C. Does someone else have the same problem
or can give me a hint? 

Many Thanks,

Michael

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


Re: priority in install of packages

2010-06-16 Thread Paul Rogers
  I'm in top of Chapter 5. Constructing a Temporary System.At this
  chapter some package is introduced that we must compile them.My
  question is: Do they have Chapter priority in compile same listed in
  chapter?For example if i compile package 5.12.expet before 5.11.tcl,
  is it problem?
 

 It's possible, but without trying it it's hard to know for sure. The
 simplest, safest way to proceed is to simply follow the book,
 compiling the packages in the order the book gives you.

 Andy

 The order of the packages is carefully crafted to make sure
 prerequisites are built in the correct order.  See the appendix for
 each packages dependencies.  For instance, expect requires tcl.  When
 we had a choice for the next package, it is added alphabetically, but
 there is really no reason to deviate from the order given in the book.

 You may, of course, do what pleases you, but be prepared to start over
 if it doesn't work.

   -- Bruce

I think there is an assumption being made that everybody around the
world would automagically relate to books the way we native English
speakers do.  There are people who read books back to front.
moh...@pahlevanzadeh.org  It's clear Mohsen is not a native English
speaker, and a minimal knowledge of world history suggests (without
doing a host lookup) that pahlevanzadeh.org is a Persian/Iranian
site.  Obviously, because he asked the question, the book isn't clear
enough to non-English speakers about the sequence of building.  Saying
Follow book, book good isn't helpful when one doesn't grasp, for
cultural or linguistic reasons, what you mean by follow.
-- 
Paul Rogers
paulgrog...@fastmail.fm
http://www.xprt.net/~pgrogers/
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.fm - Access all of your messages and folders
  wherever you are

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


Re: How to skip two settings

2010-06-16 Thread Chris Staub
On 06/16/2010 05:34 AM, Parmenides wrote:
 Hi,
 When system starting, there are two settings, namely 'regional
 settings' and 'edit settings',
 at which the process of starting will pause and I have to press enter
 key twice to finish them.
 Is there any configurations by which I can skip them automatically every time.

An LFS system does not ask you anything (except to login) when you boot. 
This sounds like you're using the livecd, in which case you cannot 
change the startup procedure without rebuilding a new CD.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: priority in install of packages

2010-06-16 Thread Mohsen Pahlevanzadeh
On Wed, 2010-06-16 at 22:54 +1200, Simon Geard wrote:
 On Tue, 2010-06-15 at 21:45 +0430, Mohsen Pahlevanzadeh wrote:
  In appendex (Dependency section), we have 2 part for each package:
 
 The appendix is for information only. When it comes to installing
 packages, follow the *exact* instructions in the main book, in the
 *exact* order they're in.
 
 Simon.
Dear Simon,
Do you mean i follow exact same book 5-1 5-2 and 5-end ?
--Mohsen

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


Re: How to skip two settings

2010-06-16 Thread Parmenides
2010/6/16 Chris Staub ch...@beaker67.com:
 On 06/16/2010 05:34 AM, Parmenides wrote:
 Hi,
     When system starting, there are two settings, namely 'regional
 settings' and 'edit settings',
 at which the process of starting will pause and I have to press enter
 key twice to finish them.
 Is there any configurations by which I can skip them automatically every 
 time.

 An LFS system does not ask you anything (except to login) when you boot.
 This sounds like you're using the livecd, in which case you cannot
 change the startup procedure without rebuilding a new CD.
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page



Yes, this is the effect of a live CD indeed. But, I have clone the
live CD onto a partition of hard disk, and tried to altenate some
default settings of it.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: priority in install of packages

2010-06-16 Thread Mike McCarty
Paul Rogers wrote:
 I think there is an assumption being made that everybody around the
 world would automagically relate to books the way we native English
 speakers do.  There are people who read books back to front.

Not by me. My presumption was that he did have a problem knowing
what the different entries in the appendix exactly meant. That's
why I provided an explanation for one of them. I speak three languages
tolerably, myself, and English is not my first language (though my
first language is a european one, so left-to-right). At one time
I could somewhat get by in Arabic.

In any case, everyone who reads English has access to a dictionary,
and so can look up the word appendix. Be that as it may, he's
specifically mentioned that he knows he's deviating from the established
order.

 moh...@pahlevanzadeh.org  It's clear Mohsen is not a native English
 speaker, and a minimal knowledge of world history suggests (without

Yes.

 doing a host lookup) that pahlevanzadeh.org is a Persian/Iranian
 site.  Obviously, because he asked the question, the book isn't clear
 enough to non-English speakers about the sequence of building.  Saying

That I don't grasp. Anyone who reads English knows what direction
to read a book.

 Follow book, book good isn't helpful when one doesn't grasp, for
 cultural or linguistic reasons, what you mean by follow.

Agreed. That's why I presented an analysis of one of the appendix
entries.

Mike
-- 
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: How to skip two settings

2010-06-16 Thread Chris Staub
On 06/16/2010 01:11 PM, Parmenides wrote:
 2010/6/16 Chris Staubch...@beaker67.com:
 On 06/16/2010 05:34 AM, Parmenides wrote:


 Yes, this is the effect of a live CD indeed. But, I have clone the
 live CD onto a partition of hard disk, and tried to altenate some
 default settings of it.

Well, the LiveCD simply isn't made for the purpose of being installed to 
a hard drive. If you want a Linux system on your hard drive you should 
just use it to build an LFS system. On the other hand, if you were 
installing the LiveCD to the hard drive in order to get around the 
time-consuming task of building LFS, you're much better off simply 
downloading and installing Ubuntu, Fedora, or some other distro.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: priority in install of packages

2010-06-16 Thread Mike McCarty
Mohsen Pahlevanzadeh wrote:
 On Wed, 2010-06-16 at 22:54 +1200, Simon Geard wrote:
 On Tue, 2010-06-15 at 21:45 +0430, Mohsen Pahlevanzadeh wrote:
 In appendex (Dependency section), we have 2 part for each package:
 The appendix is for information only. When it comes to installing
 packages, follow the *exact* instructions in the main book, in the
 *exact* order they're in.

 Simon.
 Dear Simon,
 Do you mean i follow exact same book 5-1 5-2 and 5-end ?

You need to download a copy of the book from the web site,
so it doesn't change as you read it. You need to start at
the beginning of the book, and follow each instruction as
you encounter it. I'm reluctant to say follow it exactly
since some of them are not exact instructions. For example,
the instruction to partition the disc drive. No one can
put _exact_ instructions on how to partition your disc,
and different people have different ideas about how exactly
a disc should be set up.

That said, you need to start at the beginning, and perform
each step in the order you encounter it as you read,
and conform as closely as possible to the literal content
you read.

You need to do this each time you build, until you become
familiar enough with the process to know where, and by
how much, it is safe to deviate from the instructions
as they are written.

If you don't do that, then you are almost surely going to
encounter a problem somewhere along the way, likely requiring
you to start over from the beginning.

Mike
-- 
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: priority in install of packages

2010-06-16 Thread Ken Moffat
On 16 June 2010 17:43, Mohsen Pahlevanzadeh moh...@pahlevanzadeh.org wrote:
 Dear Simon,
 Do you mean i follow exact same book 5-1 5-2 and 5-end ?
 --Mohsen

 I'm not Simon, but I'll answer anyway (even though Mike has probably
answered most of the points while I was thinking about it).

 Begin at chapter 1 (section 1.1 - How To Build An LFS System).

 First, *read* each page in your browser, then click on the next
link.  Do this until you get to section 9 (The End).  By doing this,
you have read everything in the book before you start, so you'll have
some idea how you are going to build the new system,.

 Then if you haven't already done so, download *all* the packages and patches,

 Then start again, but this time follow all the instructions, for each
package in the book's order.
If this goes well, you will end up with a minimal LFS system.

 You need to understand how the book is going to tell you build this
system (for example, there is important information such as delete
the source (and -build) directories after you have installed the
package.

 The versions of the packages in a released version of the book are
believed to work well together, and all of them are required.  For
your first build you should use the LFS-6.6 book.

ĸen
-- 
After tragedy, and farce, OMG poneys!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: How to skip two settings

2010-06-16 Thread Parmenides
2010/6/17 Chris Staub ch...@beaker67.com:
 On 06/16/2010 01:11 PM, Parmenides wrote:
 2010/6/16 Chris Staubch...@beaker67.com:
 On 06/16/2010 05:34 AM, Parmenides wrote:


 Yes, this is the effect of a live CD indeed. But, I have clone the
 live CD onto a partition of hard disk, and tried to altenate some
 default settings of it.

 Well, the LiveCD simply isn't made for the purpose of being installed to
 a hard drive. If you want a Linux system on your hard drive you should
 just use it to build an LFS system. On the other hand, if you were
 installing the LiveCD to the hard drive in order to get around the
 time-consuming task of building LFS, you're much better off simply
 downloading and installing Ubuntu, Fedora, or some other distro.
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


There are some excellent distro actually, but not my favourite. They
will install many packages I do not need. What's more, I very like a
clean and fast linux and the console mode is enough. So, I choose the
LFS. Additionally, the LFS give me a chance to get familiar with Linux
more and more. Actually, I want to configure a virtual Linux running
on VMWare and play a server's role. But, the default settings make
automatical boot  impossible.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: How to skip two settings

2010-06-16 Thread Neal Murphy
On Wednesday 16 June 2010 16:23:09 Parmenides wrote:
 There are some excellent distro actually, but not my favourite. They
 will install many packages I do not need. What's more, I very like a
 clean and fast linux and the console mode is enough. So, I choose the
 LFS. Additionally, the LFS give me a chance to get familiar with Linux
 more and more. Actually, I want to configure a virtual Linux running
 on VMWare and play a server's role. But, the default settings make
 automatical boot  impossible.

What you are looking to change is 'hidden' inside the initramfs/initrd.
For the purpose of learning, you can unpack the LiveCD, disassemble it, unpack 
the initramfs (or initrd, whichever it uses), adjust it as you desire, repack 
it and repack the CD (or pack it into a hard drive partition or image file 
for VMware/QEMU/etc.)

I've done this many times while tweaking Smoothwall until I finally got udev 
and the initramfs archive to work as I wanted them to (read: learned how udev 
and initramfs really work). I did this with both the ISO image and tweaking 
the early boot stuff on the hard drive.

Only unfamiliarity prevents you from unpacking the live CD and fiddling with 
it until it does what you want. Using the live CD is not optimal, but it 
can't be beat for hands-on learning. Once you dive into that, though, you are 
kind-of on your own; not many people grok isolinux, initramfs/initrd, and the 
early boot environment, and it's way outside of building Linux from scratch.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: How to skip two settings

2010-06-16 Thread Parmenides
Thanks for your clue to learn. It seems be necessary to modify ramdisk
and they deserve more efforts.

2010/6/17 Neal Murphy neal.p.mur...@alum.wpi.edu:
 On Wednesday 16 June 2010 16:23:09 Parmenides wrote:
 There are some excellent distro actually, but not my favourite. They
 will install many packages I do not need. What's more, I very like a
 clean and fast linux and the console mode is enough. So, I choose the
 LFS. Additionally, the LFS give me a chance to get familiar with Linux
 more and more. Actually, I want to configure a virtual Linux running
 on VMWare and play a server's role. But, the default settings make
 automatical boot  impossible.

 What you are looking to change is 'hidden' inside the initramfs/initrd.
 For the purpose of learning, you can unpack the LiveCD, disassemble it, unpack
 the initramfs (or initrd, whichever it uses), adjust it as you desire, repack
 it and repack the CD (or pack it into a hard drive partition or image file
 for VMware/QEMU/etc.)

 I've done this many times while tweaking Smoothwall until I finally got udev
 and the initramfs archive to work as I wanted them to (read: learned how udev
 and initramfs really work). I did this with both the ISO image and tweaking
 the early boot stuff on the hard drive.

 Only unfamiliarity prevents you from unpacking the live CD and fiddling with
 it until it does what you want. Using the live CD is not optimal, but it
 can't be beat for hands-on learning. Once you dive into that, though, you are
 kind-of on your own; not many people grok isolinux, initramfs/initrd, and the
 early boot environment, and it's way outside of building Linux from scratch.
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

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


Re: Cannot execute grub-install

2010-06-16 Thread Bruce Dubbs
Michael Vahl wrote:
 Hey y'all,
 
 i've recently passed all prior steps of chapter 8.4.2 (LFS 6.6). But now,
 without any error messages, I'm not able to execute grub-install
 --grub-setup=/bin/true /dev/sda. grub-install can be found and sda is the
 system's hdd but the system doesn't confirm the command. Nothing happens.
 The only thing I can do is Ctrl+C. Does someone else have the same problem
 or can give me a hint? 

Do you have /dev poopulated according to section 6.2.2?

What grub-install does though is copy files to /boot/grub.  Is that 
happening?

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


LVM2

2010-06-16 Thread Glendon Blount
I am looking for help installing lfs on logical volumes. The only  
information I could find was from 2009 and used a version of lvm2 that  
is no longer available also the only patch is for this version  
LVM2.2.02.53 I made an attempt to install lfs and got to the kernel  
were I not able to compile the kernel sources. A little background I  
have been using linux since about 1997 and I now use gentoo on all my  
machines I was looking at lfs to install on my hp mini 311 with an  
atom processor I have gentoo booting from an external usb hard drive  
and was hoping to do a lfs installation in the same manner also do I  
need a 2 to 3 g partition for the / directory or a 10 g partition the  
reason I ask is my gentoo / partition is 750 m and my partition layout  
for lfs on lvm would be. I thank you for your time
/
/usr
/usr/local
/usr/src
/var
/var/tmp
/tmp
/opt
/opt/playground (For applications like arduino eclipse and others)
/home 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page