LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 10-20-2012, 12:30 AM   #1
xinglp
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 2
Share my lfs system.


http://sourceforge.net/projects/smar...les/lfs_linux/

This is a lfs system with some blfs packages.
It can be "live boot", or manually install to local disk.

More infomation in the readme file.
 
Old 11-05-2012, 08:59 AM   #2
xinglp
LQ Newbie
 
Registered: May 2009
Posts: 18

Original Poster
Rep: Reputation: 2
Nobody interesting ?
 
Old 11-12-2012, 01:43 PM   #3
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo-2.2 ~amd64, CentOS-6.5, Slackware64-current, FreeBSD-9.2-STABLE
Posts: 170

Rep: Reputation: Disabled
Quote:
Originally Posted by xinglp View Post
Nobody interesting?
I'm not at my system console right now (so I can't yet provide the precise error message) but I did want to note that I did try the images provided. As best I recall, the initial ramdisk did decompress and the rootfs evidently did, as indicated by the sequence of dots. But then, the root filesystem failed to mount. Until I get access to the system, here's my GRUB2 entry and some additional background information:

Code:
menuentry '18: lfs-xinglp' {
    set root='(hd0,msdos3)'
    linux   /boot/2012-10-13-3.6.2-x86_64/vmlinuz-3.6.2 root=/dev/sda3:/boot/2012-10-13-3.6.2-x86_64/root.squashfs
    initrd  /boot/2012-10-13-3.6.2-x86_64/initrd.img-3.6.2.xz
}
Note that used the 2012-10-13-3.6.2-x86_64.tar tarball which was the current version from a few weeks back. All of the contents were untarred into the /boot directory on the third partition of a 500 GB SATA drive, thus /dev/sda3 and (hd0,msdos3). In the absence of a full error message, that probably gives you little to go on but I did want you to know that I did give it a try. There were no errors at all in the early userspace environment until the procedure to mount the root filesystem occurred. The host platform is a 64-bit unit equipped with an Intel(R) Core(TM) i5-2380P processor.

Later tonight, when I have access to the computer, I'll post a complete error report. And, I'll also use the more recent tarball of 2012-11-05.
 
Old 11-12-2012, 10:04 PM   #4
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo-2.2 ~amd64, CentOS-6.5, Slackware64-current, FreeBSD-9.2-STABLE
Posts: 170

Rep: Reputation: Disabled
Here's the followup I promised concerning the failure to mount the root filesystem. This error occurs with 2012-11-05-3.6.6-x86_64.tar. The kernel loads and the processing of /init is faultless until do_mount_root is called. Here's where things go wrong:

Code:
crypto_algapi: Unknown symbol: crypto_alg_sem
[...]
Unknown filesystem type: ext4
Since ext4 is dependent upon the crypto modules shown here, the mounting of root fails:

Code:
kernel/fs/ext4/ext4.ko: kernel/lib/crc16.ko 
                        kernel/fs/jbd2/jbd2.ko 
                        kernel/crypto/crypto_hash.ko 
                        kernel/crypto/crypto_algapi.ko 
                        kernel/fs/mbcache.ko
 
Old 11-13-2012, 12:35 AM   #5
xinglp
LQ Newbie
 
Registered: May 2009
Posts: 18

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by re_nelson View Post
Here's the followup I promised concerning the failure to mount the root filesystem. This error occurs with 2012-11-05-3.6.6-x86_64.tar. The kernel loads and the processing of /init is faultless until do_mount_root is called. Here's where things go wrong:

Code:
crypto_algapi: Unknown symbol: crypto_alg_sem
[...]
Unknown filesystem type: ext4
Since ext4 is dependent upon the crypto modules shown here, the mounting of root fails:

Code:
kernel/fs/ext4/ext4.ko: kernel/lib/crc16.ko 
                        kernel/fs/jbd2/jbd2.ko 
                        kernel/crypto/crypto_hash.ko 
                        kernel/crypto/crypto_algapi.ko 
                        kernel/fs/mbcache.ko
Thanks for report. try the below fix . (replace the original initrd)
http://sf.net/projects/smartutils/fi...d.img-3.6.6.xz
 
1 members found this post helpful.
Old 11-13-2012, 01:17 AM   #6
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo-2.2 ~amd64, CentOS-6.5, Slackware64-current, FreeBSD-9.2-STABLE
Posts: 170

Rep: Reputation: Disabled
Quote:
Originally Posted by xinglp View Post
Thanks for report. try the below fix . (replace the original initrd)
http://sf.net/projects/smartutils/fi...d.img-3.6.6.xz
That modification was effective and I appreciate the rapid turnaround on this. Due to time constraints, I didn't explore your shared system as much as I would have liked. That will be done later this week. I did see that the software was based on the 2012-11-03 SVN version with many of the newest applications, notably GCC-4.7.2 and other up-to-date apps.

Through the years, LFS still remains my favorite of the Linux platforms because of its infinite customization possibilities. It's probably the most personal of the Linux systems which is why your shared system fascinated me so much.

Again, thanks not only for the fix but for making your LFS system available for all of us.
 
Old 12-27-2012, 08:10 AM   #7
xinglp
LQ Newbie
 
Registered: May 2009
Posts: 18

Original Poster
Rep: Reputation: 2
update to glibc-2.17 and update some other packages.

Last edited by xinglp; 12-27-2012 at 09:24 AM.
 
Old 12-27-2012, 01:08 PM   #8
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo-2.2 ~amd64, CentOS-6.5, Slackware64-current, FreeBSD-9.2-STABLE
Posts: 170

Rep: Reputation: Disabled
Quote:
Originally Posted by xinglp View Post
update to glibc-2.17...
Did you use the glibc-2.16.0 LFS instructions unchanged for the just-released glibc-2.17 library or were some customizations required? I'm about to pull the trigger and replace my 2.16 library over the weekend and was hoping to get any "gotchas" before I make that move.
 
Old 12-27-2012, 03:38 PM   #9
xinglp
LQ Newbie
 
Registered: May 2009
Posts: 18

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by re_nelson View Post
Did you use the glibc-2.16.0 LFS instructions unchanged for the just-released glibc-2.17 library or were some customizations required? I'm about to pull the trigger and replace my 2.16 library over the weekend and was hoping to get any "gotchas" before I make that move.
Disable the two patches of glibc-2.16.

Use the below command after "tar -xvf ../udev-lfs-196-3.tar.bz2" for udev build.

Code:
sed -i -e 's/HAVE___SECURE_GETENV/HAVE_SECURE_GETENV/' udev-lfs-196-3/cfg.h
Because glibc-2.17 use secure_getenv() instead of __secure_getenv() by now.

And finally, the official lfs book will be updated in the near future.
Many packages update were assgined , including glibc-2.17.
See here http://wiki.linuxfromscratch.org/lfs/timeline

Last edited by xinglp; 12-27-2012 at 03:45 PM.
 
Old 01-14-2013, 10:07 AM   #10
dpak.verma.maa@gmail.com
LQ Newbie
 
Registered: Jan 2013
Posts: 27

Rep: Reputation: Disabled
@xinglp hi,
"http://sourceforge.net/projects/smar...les/lfs_linux/"
what is the version on lfs and is it a GUI system, coz i wanna try a lfs without GUI
 
Old 01-15-2013, 05:26 AM   #11
xinglp
LQ Newbie
 
Registered: May 2009
Posts: 18

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by dpak.verma.maa@gmail.com View Post
@xinglp hi,
"http://sourceforge.net/projects/smar...les/lfs_linux/"
what is the version on lfs and is it a GUI system, coz i wanna try a lfs without GUI
The "2013-01-12" version is based on lfs-book SVN-20130111 (r10094) with the kernel updated to 3.7.2, (You can get these informations from Changelog.)

It is a NO GUI system.
 
Old 01-15-2013, 09:11 AM   #12
dpak.verma.maa@gmail.com
LQ Newbie
 
Registered: Jan 2013
Posts: 27

Rep: Reputation: Disabled
@xinglp
i have downloaded it. there are 3 files
BOOT
I386
X86_64
can you help me on installing in my local drive, i don't know how to install the already built LFS on system. I'll be thank full to you.
 
Old 01-15-2013, 06:29 PM   #13
xinglp
LQ Newbie
 
Registered: May 2009
Posts: 18

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by dpak.verma.maa@gmail.com View Post
@xinglp
i have downloaded it. there are 3 files
BOOT
I386
X86_64
can you help me on installing in my local drive, i don't know how to install the already built LFS on system. I'll be thank full to you.
This is the very old version you download. And I don't remember the layout of it.

First you should find the loader config file, and then you will know where it the kernel image, initrd, and root image.

Prepare a free partion, (reiserfs or ext3, or maybe only reiserfs, I can't remember), extract the root image' files into it.

Intall grub (or some else boot loader). configure it to load the kernel and initrd, also the root=xxx.

And I suggest you to use the latest .tar version. It can be install on usb drive with fat, ntfs, ext2/3/4, reiserfs formated.
 
Old 01-16-2013, 08:26 AM   #14
dpak.verma.maa@gmail.com
LQ Newbie
 
Registered: Jan 2013
Posts: 27

Rep: Reputation: Disabled
@xinglp HI,
Very happy that you replied, actually i downloaded your image file which contains all three and i directly used on VMware ,it was running , i actually wanted to build BLFS. is it possible to extend it further? i mean i want your lfs to be built BLFS with GUI.
please reply .
 
Old 01-16-2013, 09:37 AM   #15
xinglp
LQ Newbie
 
Registered: May 2009
Posts: 18

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by dpak.verma.maa@gmail.com View Post
@xinglp HI,
Very happy that you replied, actually i downloaded your image file which contains all three and i directly used on VMware ,it was running , i actually wanted to build BLFS. is it possible to extend it further? i mean i want your lfs to be built BLFS with GUI.
please reply .
Yes u can.

But just make sure you are running the extracted files from the image, not the image when you build BLFS on it. The later one will lost everythings after reboot.

And , welcome to the lfs bllfs mailist.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
How to share files from a windows system to linux system vijaya_svk Linux - Software 3 02-10-2008 02:16 AM
Building an LFS system from another system z3r0star21 Linux From Scratch 6 11-08-2005 03:13 AM
First LFS system Tez218 Linux From Scratch 1 10-25-2003 12:07 AM
Your LFS system mediab0x Linux From Scratch 3 07-14-2003 05:20 AM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration