Re: [lfs-support] What Is "The" LFS Partition?

2012-11-07 Thread Feuerbacher, Alan
Bruce wrote: > > Can you suggest any technical resources where I might learn the gory > details of this? > > Read the source: Look in GRUB ./grub-core/boot/i386/pc/boot.S Ok. > Every directory is written in the inode structure of it's parent. This > is implemented using hard links. To learn

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Feuerbacher, Alan
> > Specifically, if you want to do "mount /dev/sda5 /mnt/lfs", but you > have to create the directory "/mnt/lfs" BEFORE you do the mount, then > where does the inode information about "/mnt/lfs" get written? I'm sure > I'm missing some details. > > > In the beginning, you just have the root filesy

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Feuerbacher, Alan
Bruce wrote: > >> From other recent reading I now understand that this whole scheme is > >> a kludge, and that's why it's not straightforward to understand. > >> I always wondered why there was a limit of four primary partitions, > >> and why there was even the notion of primary partitions, as opp

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Feuerbacher, Alan
Hi Henrik, > For your grandmother (-: I'll be sure to forward your email to her. ;-) Seriously, this is among the most useful articles -- and I do mean "article" -- that I've read about this topic. Thank you! > Suggestion: Stick to MBR for now! > When you have learned how it works, you may try

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Feuerbacher, Alan
Bruce wrote: > > sda2 is not really a partition. It contains the extended partitions. > > In your case, sda5 and sda6. > > Actually an extended partition is a partition, but it has sub- > partitions. All this stuff is avoided with a GUID Partition Table > (GPT) which is a lot more sane in the wo

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Philippe Delavalade wrote: > > Set up the partitions like this, using an ext4 filesystem: > > > > /dev/sda1 /boot 100M > > /dev/sda2 Extended Linux partition ~100G > > /dev/sda5 Linux swap 2G > > /dev/sda6 / ~98G > This see

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
dennisjperk...@comcast.net wrote: > ... > sda refers to the drive, not to the partitions that you have on the drive.  > You can make a partition the same size as the drive, but it is the partition > that contains the filesystem, not the drive. Thank you! That clears up a lot. Alan -- http://l

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Thank you all very much for your advice! Here's what I propose to do now, given your inputs: Don't put LFS on the SSD -- use a regular hard drive. Set up the partitions like this, using an ext4 filesystem: /dev/sda1 /boot 100M /dev/sda2 Extended Linux partition ~1

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Bruce wrote: > > One of the problems with learning the nuts and bolts of Linux is, as > > Richard Stallman wrote back in the 1990s, that the documentation is > > sparse at best. > > That's not true today. Ok, then, in addition to beating myself up with LFS, can you suggest any reading material

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Philippe Delavalade wrote: > > I read the man page for mke2fs and it's as clear as mud. And the LFS > > book is completely unclear about exactly what is going on. > > The book suppose that you have some knowledge about linux and > partitions > :-) Well I do have *some* knowledge. It's just a mat

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Bruce wrote: > For an SSD drive, I suggest getting gptdisk (fdisk syntax) or gparted > (challenging syntax) and partitioning the drive as a gpt drive. The > first partition should be at sector 2048 or 1 MB. Make /boot 1 M, swap > 2G, / 20G, and /home as desired. I like to leave some space. I a

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Bruce wrote: > > But I still don't understand what I'm doing. > > I get the feeling that you are not ready for LFS. Use a standard > distro for a while. Perhaps you don't know how persistent I am. :-) Seriously, I've used Unix and Linux as a plain user for 33 years. Now I want to learn the nu

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Philippe Delavalade wrote: > > When I go to section 2.3 to create a file system "on the partition", > > the book says: > > > > > > To create an ext3 file system on the LFS partition, run the > following: > > > > mke2fs -jv /dev/ > > > > Replace with the name of the LFS partition

Re: [blfs-support] How Do I Know When to Recompile the Kernel?

2012-10-24 Thread Feuerbacher, Alan
Henrik wrote: > > > > Kernel Configuration > > > > Enable the following options in the kernel configuration and > recompile the kernel if necessary: > > > > > > How do I know if recompiling the kernel is necessary? > A few replies have already been given, but I am wondering what

[lfs-support] LFS Boot Process Details

2012-10-19 Thread Feuerbacher, Alan
I'd like some clarification of the boot process after installing LFS. My Intel machine has 3 disks: /dev/sda (1TB) has WindowsXP on it, and the Master Boot Record. fdisk indicates that its only partition is marked boot. /dev/sdb (500GB) has a Debian installation with 3 partitions, including Lin

[lfs-support] glib-2.34.0 failed to load external entity I/O Error

2012-10-12 Thread Feuerbacher, Alan
Howdy, Following BLFS Version 2012-10-10; Chapter 9. General Libraries, I'm trying to compile glib-2.34.0 on my Redhat 5 system (not as root but a regular user), along with a lot of other stuff. The required dependencies are met. I got the following error: ### Making all in

Re: [blfs-support] MesaLib-8.0.4: fatal error: nouveau_device.h: No such file or directory

2012-10-10 Thread Feuerbacher, Alan
Bruce Dubbs wrote: > When I run into a problem like yours, finding a header in this case, I > like to paste the long instruction into vi and edit it so I can see > what is going on. Very helpful, thanks! > In this case, you are missing a header so I looked > at the -I parameters. In my build,

Re: [lfs-support] Best Linux Version for LFS?

2012-10-10 Thread Feuerbacher, Alan
Bruce Dubbs wrote: > > What do you and other LFS developers tend to use? > > LFS :) LOL! Now that you've bootstrapped yourselves, you stick with it. :-) Thanks for your help. Alan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Uns

Re: [lfs-support] Best Linux Version for LFS?

2012-10-10 Thread Feuerbacher, Alan
Bruce Dubbs wrote: > >> A waste of HW. > . . . > I was referring to Windows. Oh. :-) > My experience with Ubuntu is mixed. The earlier versions, 8.04, etc > were OK, but the latest ones with Unity were slow and had too much eye > candy. I've not looked at any recently. What do you and other L

Re: [lfs-support] Best Linux Version for LFS?

2012-10-10 Thread Feuerbacher, Alan
Bruce Dubbs wrote: > > Currently I have Windows7 installed on a 180G SSD, as well as several > > 1-3TB hard drives. > > A waste of HW. Why? I use one big drive for audio and video stuff, another for general backups, and want yet another to put the Linuxes on. The separate one for Linux is for

[lfs-support] Best Linux Version for LFS?

2012-10-10 Thread Feuerbacher, Alan
I recently put together my personal computer for general purposes, but also to play around with various Linux versions and LFS. It's a fairly high end machine with a near-top Intel Core7 processor, 32G of memory and plenty of space in the case for extra hard drives. Currently I have Windows7 ins

Re: [blfs-support] MesaLib-8.0.4: fatal error: nouveau_device.h: No such file or directory

2012-10-05 Thread Feuerbacher, Alan
Following up here on my first email: So, has anyone on this list successfully build MesaLib-8.0.4? Alan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page

Re: [lfs-support] GCC-4.7.1-Pass 2 MPC configure fails

2012-09-19 Thread Feuerbacher, Alan
William Harrington wrote: > Sometimes you can't build mpfr mpc and gmp within the gcc source tree > for some targets. We found that out in CLFS. That's we we don't build > gmp mpc and mpfr within the tree. Works okay for x86 and x86_64, > however, when you start building for other targets, it beco

Re: [lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
Bruce wrote: > Linux looks in /lib and /usr/lib by default. LD_LIBRARY_PATH just says > to add that to the search path. /etc/ld.so.conf can also add > directories to be searched. So looking in /lib and /usr/lib is hardwired? I take it that in normal circumstances, /etc/ld.so.conf is sort of a

Re: [lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
Elly wrote: > Then my first suggestion would be to ask the sysadmin about testing the > latest version of the software you're using, > or test it yourself. If it works as good or better, then see about convincing > them to upgrade everything to its latest > version. You could also make the case

Re: [lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
Bruce wrote: > > ... So I have to install everything in my own directories. I've > > succeeded in doing this, and am now tying up a lot of loose ends. > > You could have told us that at the beginning! Sorry, I didn't think it was relevant. > Use: > > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ho

Re: [lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
Elly wrote: > > I suspect that something to do with ldconfig is my problem, but I > don't understand how that plays into the complete Linux system. > > > > Alan > > > This might be completely off-topic, but have you tried using a VM to > build LFS? I have seen some portable versions of VirtualBox

Re: [lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
Bruce Dubbs wrote: > > My ldconfig doesn't have a -a option. > > Sorry. Without the link and as root: > > # ldconfig -v | less What does running this as root get you as opposed to running it as a regular user? I don't have root access. So I ran this as a regular user. I'm doing all this in un

Re: [lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
Bruce Dubbs wrote: > Try: > $ ldconfig -a My ldconfig doesn't have a -a option. > $ ldd /bin/bzip2 Here you go. Remember that the link in question was removed. $ ldd /bin/bzip2 linux-vdso.so.1 (0x7fffa6cb6000) libbz2.so.1.0 => not found libc.so.6 => /usr/lib/libc.so

Re: [lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
> -Original Message- > From: lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support- > boun...@linuxfromscratch.org] On Behalf Of Bruce Dubbs > Sent: Friday, August 24, 2012 1:24 PM > To: LFS Support List > Subject: Re: [lfs-support] Link to libbz2.so > >

Re: [lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
> -Original Message- > From: lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support- > boun...@linuxfromscratch.org] On Behalf Of Bruce Dubbs > Sent: Friday, August 24, 2012 12:34 PM > To: LFS Support List > Subject: Re: [lfs-support] Link to libbz2.so > >

[lfs-support] Link to libbz2.so

2012-08-24 Thread Feuerbacher, Alan
Hi, In the LFS book, version SVN-20120824, section 6.19.Bzip2-1.0.6, there is a line near the end: ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so The problem I've experienced is that when bzip2 fires up after this compilation step, it can't find the library libbz2.so.1.0 . When I make anoth