Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
On Thu, 2013-10-31 at 20:02 +, Ken Moffat wrote: There used to be some packages that gave problems if building in chroot. But I don't remember what they were. Basically, anything that cares about the running kernel, such as third-party driver packages - they usually try to find the source directory of the current kernel to build against, which obviously will break when that kernel is from the host distro. Such packages can usually be told to use a specific version instead. Apart from that, there used to be a few packages that broke if there wasn't a running dbus instance, since they were trying to use it to get introspection data. I've not seen one of those for a long time though, so probably not a concern. Simon. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
Le 01/11/2013 00:07, Dan McGhee a écrit : I forgot about wget, thanks for reminding me. gdm is a good idea too, if you want to copy-paste, as long as X is not installed. It builds fine in a chroot environment. Pierre -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
So that I can hit the deck running after I get my new system to boot, I want to add a few packages, and their associated boot scripts, from BLFS. These are dhcpd, wpa-supplicant, libxml, libn, open-ssl and d-bus. I seem to remember reading somewhere, and I thought it was in the LFS book, that it was OK to do what I'm thinking of. I don't see anything that will hinder my plan, but I thought I'd ask here where many people know a lot more about this than I do. Anything to be careful of? Thanks, Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
Em 31-10-2013 16:28, Dan McGhee escreveu: So that I can hit the deck running after I get my new system to boot, I want to add a few packages, and their associated boot scripts, from BLFS. These are dhcpd, wpa-supplicant, libxml, libn, open-ssl and d-bus. I seem to remember reading somewhere, and I thought it was in the LFS book, that it was OK to do what I'm thinking of. I don't see anything that will hinder my plan, but I thought I'd ask here where many people know a lot more about this than I do. Anything to be careful of? Thanks, Dan Congratulations! http://www.linuxfromscratch.org/blfs/view/svn/postlfs/config.html The list to discuss issues is blfs-support. -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
On Thu, Oct 31, 2013 at 02:28:27PM -0500, Dan McGhee wrote: So that I can hit the deck running after I get my new system to boot, I want to add a few packages, and their associated boot scripts, from BLFS. These are dhcpd, wpa-supplicant, libxml, libn, open-ssl and d-bus. I seem to remember reading somewhere, and I thought it was in the LFS book, that it was OK to do what I'm thinking of. I don't see anything that will hinder my plan, but I thought I'd ask here where many people know a lot more about this than I do. Anything to be careful of? Thanks, Dan There used to be some packages that gave problems if building in chroot. But I don't remember what they were. In the last couple of years I've done some complete builds in chroot while I sorted out changes to my build scripts, so I don't think you'll have any problems. You might want to add a text browser so that you can read the BLFS book. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
On 10/31/2013 03:02 PM, Ken Moffat wrote: There used to be some packages that gave problems if building in chroot. But I don't remember what they were. In the last couple of years I've done some complete builds in chroot while I sorted out changes to my build scripts, so I don't think you'll have any problems. You might want to add a text browser so that you can read the BLFS book. ĸen Thanks, Ken. My memory and experience say the same thing, I just wanted to check just in case some where deep in LFS things had changed. The first thing I usually do in BLFS is get a text browser. I just wanted things to be ready, so I can check them out with ping and iproute, before I start building. Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
Op Thu, 31 Oct 2013 21:02:22 +0100 schreef Ken Moffat zarniwh...@ntlworld.com: On Thu, Oct 31, 2013 at 02:28:27PM -0500, Dan McGhee wrote: So that I can hit the deck running after I get my new system to boot, I want to add a few packages, and their associated boot scripts, from BLFS. These are dhcpd, wpa-supplicant, libxml, libn, open-ssl and d-bus. I seem to remember reading somewhere, and I thought it was in the LFS book, that it was OK to do what I'm thinking of. I don't see anything that will hinder my plan, but I thought I'd ask here where many people know a lot more about this than I do. Anything to be careful of? Thanks, Dan There used to be some packages that gave problems if building in chroot. But I don't remember what they were. In the last couple of years I've done some complete builds in chroot while I sorted out changes to my build scripts, so I don't think you'll have any problems. You might want to add a text browser so that you can read the BLFS book. And Midnight Commander (MC) as a file-manager, which comes even with a small text-editor. I find it indispensable. MC ans its dependencies are easy to make and install. Links is very good to browse the BLFS book. After you have installed it, it even starts from inside MC, clicking on the index-file. Hans. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
Dan McGhee wrote: So that I can hit the deck running after I get my new system to boot, I want to add a few packages, and their associated boot scripts, from BLFS. These are dhcpd, wpa-supplicant, libxml, libn, open-ssl and d-bus. I seem to remember reading somewhere, and I thought it was in the LFS book, that it was OK to do what I'm thinking of. I don't see anything that will hinder my plan, but I thought I'd ask here where many people know a lot more about this than I do. Anything to be careful of? For the most part, you are OK as long as you maintain the virtual file systems that are mounted in Chapter 6. I usually build over ssh so I make sure that openssl and openssh are in place. Other things I build early are lsb-release (for my scripts), sudo, which, and wget. I also have my sources in /usr/src and that is a separate partition so I can use it from any build. I recommend the following as separate partitions: /boot, /home, and /usr/src. /opt is also a possibility. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
On 10/31/2013 03:51 PM, Bruce Dubbs wrote: Dan McGhee wrote: So that I can hit the deck running after I get my new system to boot, I want to add a few packages, and their associated boot scripts, from BLFS. These are dhcpd, wpa-supplicant, libxml, libn, open-ssl and d-bus. I seem to remember reading somewhere, and I thought it was in the LFS book, that it was OK to do what I'm thinking of. I don't see anything that will hinder my plan, but I thought I'd ask here where many people know a lot more about this than I do. Anything to be careful of? For the most part, you are OK as long as you maintain the virtual file systems that are mounted in Chapter 6. I usually build over ssh so I make sure that openssl and openssh are in place. Other things I build early are lsb-release (for my scripts), sudo, which, and wget. I also have my sources in /usr/src and that is a separate partition so I can use it from any build. I recommend the following as separate partitions: /boot, /home, and /usr/src. /opt is also a possibility. -- Bruce I have a script that gets me to chroot and it mounts those each time I go in. I forgot about wget, thanks for reminding me. A separate partition for /usr/src? Never occurred to me, but it's a good idea. Thanks, Bruce. Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Some BLFS Packages Before Making LFS-7.4 Bootable
On Thu, Oct 31, 2013 at 06:07:03PM -0500, Dan McGhee wrote: I also have my sources in /usr/src and that is a separate partition so I can use it from any build. I recommend the following as separate partitions: /boot, /home, and /usr/src. /opt is also a possibility. -- Bruce I have a script that gets me to chroot and it mounts those each time I go in. I forgot about wget, thanks for reminding me. A separate partition for /usr/src? Never occurred to me, but it's a good idea. Actually, you can build any package *anywhere*. For something like the kernel, keeping the source directories around if I haven't built that version before ( or if there have been major changes such as when I was upgrading only from a very old system that needed the old compatability sysfs options for less ancient kernels) is a good idea. If the kernel boots, I can get the config from /proc/config.gz - it's the ones that don't boot which are the problem ;) My scripts *used* to build (as root) in /usr/src because that was conventional and traditionally intended for root to build in, and kernels and anything else built manually as a regular user were in ~/. Nowadays I use a dedicated partition which doesn't get backed up, and which has _writable_ directories belonging to me and someone called lfs, and another directory that root uses in my scripts. So, you certainly want space to build things, and it needs to be writable by whoever does the building, but it doesn't matter where you put it. BTW, I mention not backed up because '/' '/boot' and '/home' get backed up regularly by fcron invoking an rsync-over-nfs script. That uses a *lot* of space on the server (typically 2.5 times the size of the data : the copy is then rsynced to a retention area using hardlinks for GDG-style backups) and my server disks aren't huge - main system now on a 1TB disk including the area the backups are first written to, and a pair of 1TB RAID-1 disks for inter-alia the backups themselves and also a lot of photos and media. There are probably an infinite number of sensible partitioning strategies, but knowing how you will recover if things go wrong (e.g. a dieing disk) should be a consideration. ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Help: making lfs-6.4 bootable on usb hard disk.
Hi ALL, I need some help to make my lfs-6.4 bootable on a usb hard disk. My lfs-6.4 works fine on my host and it boots ok . I have made a lfs-6.4.iso which is bootable on VirtualBox as disque optique and it works very fine, using of course only my lfs-6.4.iso and my initrd.img. But now, i want to make it bootable using my USB hard disk. that's my goal. I have already intstalled grub on my USB and used lfs-6.3-livecd.iso downloaded from the lfs site web page as test. it works very fine. I assume because it contains a good initramfs_data.cpio.gz build. My question now is : how can i make a good initramfs to have my lfs-6.4.iso works on my USB ? I already explored the init script on the initramfs_data.cpio.gz archive so i think it is the key for a good work but so complicated for me to understund his conatin -_- if some one did it yet, please mail me. thanks. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Help: making lfs-6.4 bootable on usb hard disk.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry new to lfs but look at these for inspiration: http://wiki.grml.org/doku.php?id=usbs=bootable+usb http://michael-prokop.at/blog/2007/04/22/booting-from-usb-pen-troubleshooting-and-pitfalls/ grml also has a script grml2usb http://grml.org Regards moss khaled gouaich wrote: Hi ALL, I need some help to make my lfs-6.4 bootable on a usb hard disk. My lfs-6.4 works fine on my host and it boots ok . I have made a lfs-6.4.iso which is bootable on VirtualBox as disque optique and it works very fine, using of course only my lfs-6.4.iso and my initrd.img. But now, i want to make it bootable using my USB hard disk. that's my goal. I have already intstalled grub on my USB and used lfs-6.3-livecd.iso downloaded from the lfs site web page as test. it works very fine. I assume because it contains a good initramfs_data.cpio.gz build. My question now is : how can i make a good initramfs to have my lfs-6.4.iso works on my USB ? I already explored the init script on the initramfs_data.cpio.gz archive so i think it is the key for a good work but so complicated for me to understund his conatin -_- if some one did it yet, please mail me. thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqEDhgACgkQFVFVMHdQpRWpCgCfeMSifcdjD0n8lyRWF39cZ3ZL JVIAoKK2/5yRlKzPC/MObrx6rhDbIdts =m2Lo -END PGP SIGNATURE- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
making LFS
hi.., i had studied the LFS book. And i started working on that. But, one thing i didn't get that, where shd we be while compiling and running the sources? I mean, what is the path shd be? one thing i knw that, packages shd be downloaded to /mnt/lfs/sources folder, and installations shd be done at /mnt/lfs/tools directory. But, as per the book, i didn't get that where shd we initially be...! either /mnt/lfs or /mnt/lfs/tools or /mnt/lfs/source??? please help me... thank you regards, mahesh kumar -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: making LFS
i completed lfs 6.2 some 3 yrs ago i think u need to be in the directory /mnt/lfsand set the packages to be installed into /mnt/lfs/tools. Sanjeet Kumar Trainee Engineer, Novell India Pvt. Ltd. From: mahesh kumar mahesh4...@gmail.com To: lfs-support@linuxfromscratch.org Sent: Sunday, 19 July, 2009 7:46:32 PM Subject: making LFS hi.., i had studied the LFS book. And i started working on that. But, one thing i didn't get that, where shd we be while compiling and running the sources? I mean, what is the path shd be? one thing i knw that, packages shd be downloaded to /mnt/lfs/sources folder, and installations shd be done at /mnt/lfs/tools directory. But, as per the book, i didn't get that where shd we initially be...! either /mnt/lfs or /mnt/lfs/tools or /mnt/lfs/source??? please help me... thank you regards, mahesh kumar Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads..yahoo.com/in/internetexplorer/-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: making LFS
the installation should be done in /mnt/lfs/tools. On Sun, Jul 19, 2009 at 4:48 PM, Sanjeet Kumar sanjeet_gu...@yahoo.comwrote: i completed lfs 6.2 some 3 yrs ago i think u need to be in the directory /mnt/lfsand set the packages to be installed into /mnt/lfs/tools. Sanjeet Kumar Trainee Engineer, Novell India Pvt. Ltd. -- *From:* mahesh kumar mahesh4...@gmail.com *To:* lfs-support@linuxfromscratch.org *Sent:* Sunday, 19 July, 2009 7:46:32 PM *Subject:* making LFS hi.., i had studied the LFS book. And i started working on that. But, one thing i didn't get that, where shd we be while compiling and running the sources? I mean, what is the path shd be? one thing i knw that, packages shd be downloaded to /mnt/lfs/sources folder, and installations shd be done at /mnt/lfs/tools directory. But, as per the book, i didn't get that where shd we initially be...! either /mnt/lfs or /mnt/lfs/tools or /mnt/lfs/source??? please help me... thank you regards, mahesh kumar -- Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8http://in.rd.yahoo.com/tagline_ie8_1/*http://downloads.yahoo.com/in/internetexplorer/ . -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- == The shortest way to do many things is to do only one thing at a time. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: making LFS
mahesh kumar wrote: hi.., i had studied the LFS book. And i started working on that. But, one thing i didn't get that, where shd we be while compiling and running the sources? I mean, what is the path shd be? one thing i knw that, packages shd be downloaded to /mnt/lfs/sources folder, and installations shd be done at /mnt/lfs/tools directory. But, as per the book, i didn't get that where shd we initially be...! either /mnt/lfs or /mnt/lfs/tools or /mnt/lfs/source??? Section 3.1, 3rd paragraph says where to store the tarballs, but it really can be anywhere. Section 5.3, the last note labeled 'Important' says 'a cd into the created directory should be performed.' -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: making LFS
Bruce Dubbs wrote: mahesh kumar wrote: hi.., i had studied the LFS book. And i started working on that. But, one thing i didn't get that, where shd we be while compiling and running the sources? I mean, what is the path shd be? one thing i knw that, packages shd be downloaded to /mnt/lfs/sources folder, and installations shd be done at /mnt/lfs/tools directory. But, as per the book, i didn't get that where shd we initially be...! either /mnt/lfs or /mnt/lfs/tools or /mnt/lfs/source??? Section 3.1, 3rd paragraph says where to store the tarballs, but it really can be anywhere. Section 5.3, the last note labeled 'Important' says 'a cd into the created directory should be performed.' -- Bruce I never really followed the book word by word, I ended up just making a /dir in my home directory and started to fill it up with what I wanted. Justin P. Mattock -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: making LFS
I wouldnt suggest to a newcomer to not follow the book but in general when it comes to directories it is true that is a matter of preference... now you cannot forget about it because when in the book says go to /mnt/lfs/tools you should go to the folder you created to replace that... and the cool thing comes with a long command that points to that folder somewhere and you are not able to figure out why it didnt work, well it can be that you forgot to replace the folder stated in the book by yours... Is just matter of being aware. On Sun, Jul 19, 2009 at 6:33 PM, Justin P. Mattock justinmatt...@gmail.comwrote: Bruce Dubbs wrote: mahesh kumar wrote: hi.., i had studied the LFS book. And i started working on that. But, one thing i didn't get that, where shd we be while compiling and running the sources? I mean, what is the path shd be? one thing i knw that, packages shd be downloaded to /mnt/lfs/sources folder, and installations shd be done at /mnt/lfs/tools directory. But, as per the book, i didn't get that where shd we initially be...! either /mnt/lfs or /mnt/lfs/tools or /mnt/lfs/source??? Section 3.1, 3rd paragraph says where to store the tarballs, but it really can be anywhere. Section 5.3, the last note labeled 'Important' says 'a cd into the created directory should be performed.' -- Bruce I never really followed the book word by word, I ended up just making a /dir in my home directory and started to fill it up with what I wanted. Justin P. Mattock -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- == The shortest way to do many things is to do only one thing at a time. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: making LFS
RaptorX schrieb: I wouldnt suggest to a newcomer to not follow the book but in general when it comes to directories it is true that is a matter of preference... now you cannot forget about it because when in the book says go to /mnt/lfs/tools you should go to the folder you created to replace that... and the cool thing comes with a long command that points to that folder somewhere and you are not able to figure out why it didnt work, well it can be that you forgot to replace the folder stated in the book by yours... ever had a look at http://www.linuxfromscratch.org/lfs/view/development/chapter04/aboutlfs.html the $LFS variable is used exactly to circumvent any problems with custom pathes for the tools directory. just the last branch tools is fixed. i myself never usede /mnt/lfs, but i can live with the tools in my prefered location. tobias -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: making LFS
Hehehe I forgot about that already. my brain is squeezed already, I guess i make a pause for today. :D ever had a look at http://www.linuxfromscratch.org/lfs/view/development/chapter04/aboutlfs.html the $LFS variable is used exactly to circumvent any problems with custom pathes for the tools directory. just the last branch tools is fixed. i myself never usede /mnt/lfs, but i can live with the tools in my prefered location. tobias -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- == The shortest way to do many things is to do only one thing at a time. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
RE: making LFS
Hi mahesh, LFS 6.4 book mentioned two folders, /mnt/lfs/sources /mnt/lfs/tools You have to work in /mnt/lfs/sources for all installation work. All installation scripts will install required files in /mnt/lfs/tools automatically when you execute proper commands according to the book (LFS 6.4). First consider page 37 of the book where you begin the LFS installation with binutils-2.18. You have to do fllowing: copy binutils- 2. 18. tar. bz2 and binutils-2.18-configure-1.patch file to /mnt/lfs/sources then uncompress it as tar -jxf binutils- 2. 18. tar. bz2 go into the directory binutils- 2. 18 (cd binutils- 2. 18) issue the command as book says: patch -Np1 -i ../binutils-2.18-configure-1.patch then issue following command to create a folder inside /mnt/lfs/sources mkdir -v ../binutils-build Please try to understand this. Your current location should be /mnt/lfs/source/binutils-2.18/ and when you issue the command mkdir -v ../binutils-build it will create the directory in /mnt/lfs/sources/ as /mnt/lfs/sources/binutils-build. this means LFS book does not explain everything (specially location to execute installation commands) you should have basic knowledge about unix system and its command (specially file system related command behaviour) Regards, Ajith Silva Date: Sun, 19 Jul 2009 19:46:32 +0530 Subject: making LFS From: mahesh4...@gmail.com To: lfs-support@linuxfromscratch.org hi.., i had studied the LFS book. And i started working on that. But, one thing i didn't get that, where shd we be while compiling and running the sources? I mean, what is the path shd be? one thing i knw that, packages shd be downloaded to /mnt/lfs/sources folder, and installations shd be done at /mnt/lfs/tools directory. But, as per the book, i didn't get that where shd we initially be...! either /mnt/lfs or /mnt/lfs/tools or /mnt/lfs/source??? please help me... thank you regards, mahesh kumar _ Share your memories online with anyone you want. http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
making LFS a livecd
Hello, I want to take my LFS 6.2 system and basically put it on a CD. I want it to be like a LiveCD, but without all the extra software and stuff. Any ideas/suggestions on how to do this? thanks Colin Kemp GreenBall Enterprises [EMAIL PROTECTED] Web Hosting www.greenballenterprises.net [EMAIL PROTECTED] -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page