2012-02-16T04:24:20ZFluxBBhttps://bbs.archlinux.org/viewtopic.php?id=130453With LFS, you will learn what the core packages do, and what they contain. You will learn about how to build a tool chain, how to build things with autoconf and automake, about how to chroot, and how to tweak the configuration files. They have their own set of initscripts which are not Archy.

LFS will take you about a week to build. It is a little on the fragile side. Pacman will likely break it -- if you can get pacman to run. Pacman will not like finding all the various files throughout the file system without their existing in the pacman database.

You might want to experiment with LFS as a learning exercise. Then try a Gentoo installation to gain a real appreciation of the myriad of build options for the various packages; and how those options have to be crafted to make the packages all work together. On Arch, like many distributions, decisions as to how things fit together are made for you -- should things use avahi? should things support png? mpeg? oog? etc... On Gentoo, you get to encounter the joy of managing that yourself. The penalty for changing your mind is hours of recompiling.

]]>https://bbs.archlinux.org/profile.php?id=272892012-02-16T04:24:20Zhttps://bbs.archlinux.org/viewtopic.php?pid=1058530#p1058530If I'm completely honest - and as someone who built LFS, and went far beyond BLFS (to a completely fully functional system with many packages built from source despite LFS veterans advising against it) my instinct is, it's possible, but honestly not worth the headache. You would have to ensure that your base system matched the Arch base system, and make sure that you built various other packages (PAM etc) before trying the mirgration. Then you would have to re-arrange your LFS filesystem (which tries, but doesn't entirely conform to FHS - but then, neither does Arch) to match an Arch system. Finally, when you make your pacman managed upgrades, there's a good chance that you will lose pretty much all the work you put in to LFS since it will be replaced by Arch.

Don't take this as talking you out of LFS - It's a massively useful experience for anyone wanting to learn the more fundamental operations of your Linux system (I learned more in 3 builds over a 6 week period than in 12 years of "Distro based" Linux usage) And I would encourage the experience all the way. i would, however, advise against trying to migrate a home grown system to a fully developed distro. What you can take from it, however, is that after building LFS (and going past the basics) you will be far better equipped to build your own custom Arch.

]]>https://bbs.archlinux.org/profile.php?id=561122012-02-16T00:44:19Zhttps://bbs.archlinux.org/viewtopic.php?pid=1058466#p1058466I find this is an interesting thing to try and to document. I you made any progress, please post!]]>https://bbs.archlinux.org/profile.php?id=559352012-02-15T23:57:37Zhttps://bbs.archlinux.org/viewtopic.php?pid=1058456#p1058456replacing a distro by another one should be much more simple than making two distros co-exist anyway.a base LFS with arch packages --> wreckturn your LFS into arch and use arch packages --> well, use arch. not very useful except the educational bits.use the benefits of arch package management and build system on a LFS install --> useful and educational.]]>https://bbs.archlinux.org/profile.php?id=29712011-11-18T01:29:34Zhttps://bbs.archlinux.org/viewtopic.php?pid=1018131#p1018131how abt doing this?

]]>https://bbs.archlinux.org/profile.php?id=530132011-11-18T01:16:25Zhttps://bbs.archlinux.org/viewtopic.php?pid=1018127#p1018127I guess my question is what is the effect you are trying to go for by starting with LFS and going to Arch?If you are looking to custom build linux to your system it'd be much easier to install a minimum Arch install then drop the ABS system on it and start compiling packages. If the point is to experiment then clear out the calendar and try it. If the point is to learn about the different linuxes my input is to try them. Currently I am running Slack and Arch on my laptop but in the past I have tried out Android X86, Mint (ugh), More Slack (once before) and maybe a couple others. At work I play with Debian and Ubuntu. Before all that I used to play with MacOS and BeOS. Just play. Have fun.]]>https://bbs.archlinux.org/profile.php?id=531932011-11-17T23:58:16Zhttps://bbs.archlinux.org/viewtopic.php?pid=1018097#p1018097gazj wrote:

Any Linux distribution can be turned into any other Linux distribution, given sufficient effort.

oh really??!! you mean like... exactly what I'm saying in my first post?

Lol, well, yeah, but your message seems to change to, "no that's impossible and you're stupid to try it", which I disagree with. If people want to do stupid things on their computers, I'd rather just let them get on with it, not try to discourage them.

]]>https://bbs.archlinux.org/profile.php?id=94932011-11-17T22:23:07Zhttps://bbs.archlinux.org/viewtopic.php?pid=1018060#p1018060You should consume three rather big portions of information:- LSF documentation- ABS article on the Arch Wiki (and most of the follow-ups)- The pacman man file.]]>https://bbs.archlinux.org/profile.php?id=367412011-11-17T20:59:18Zhttps://bbs.archlinux.org/viewtopic.php?pid=1018026#p1018026bangkok_manouel wrote:

/dev/zero wrote:

Pooh.

Any Linux distribution can be turned into any other Linux distribution, given sufficient effort.

oh really??!! you mean like... exactly what I'm saying in my first post?

Lol, well, yeah, but your message seems to change to, "no that's impossible and you're stupid to try it", which I disagree with. If people want to do stupid things on their computers, I'd rather just let them get on with it, not try to discourage them.

I know that this question may be a little too premature since I haven't even started with LFS first. But I just wanted to know if people who understand the internals of a distribution can provide some considerations that will provide a modifiable system later on in stead of having to start all over after successfully building a LFS system. But I see the point of your comment.

So, what is your intent? Just to learn? Then forge ahead and try it! After you've started working on it, you'll be in a much better position to realise what kind of package management system you want. Be prepared to only get all the way through after a few passes - you'll make mistakes along the way, and need to start all over again.

Note that since LFS is a source-based distro (which Arch, with its binaries, is not), you may wish to model your system after other source-based distros like Gentoo or Sourcemage. The Package Users system also has its merits, although it doesn't OOTB support dependency-tracking.

there are so many reasons why it wouldn't work... first, binaries may have been against different libs. second, the system "layout" may be different. initscripts, udev rules, all of that stuff.

Pooh.

Any Linux distribution can be turned into any other Linux distribution, given sufficient effort.

@OP: Try it for yourself and report back.

I predict you will find it not worth the effort, but finding that out for yourself will be a good learning experience. It will teach you more about both LFS and Arch.

]]>https://bbs.archlinux.org/profile.php?id=534432011-11-17T18:59:41Zhttps://bbs.archlinux.org/viewtopic.php?pid=1017979#p1017979I forgot, a standard lfs install is pam-less too. This may turn into headaches as well. You can clone arch abs tree to use as a template and adapt the PKGBUILDs to your lfs install, this is what I meant.]]>https://bbs.archlinux.org/profile.php?id=29712011-11-17T11:04:35Zhttps://bbs.archlinux.org/viewtopic.php?pid=1017811#p1017811bangkok_manouel wrote:

there are so many reasons why it wouldn't work... first, binaries may have been against different libs. second, the system "layout" may be different. initscripts, udev rules, all of that stuff. if you really want to play with that, LFS+pacman/makepkg with your own arch-inspired PKGBUILD may give you a pretty nice system.

Can you be a little more elaborate with the arch-inspired PKGBUILD idea?