Results 1 to 10 of 35
Having sacrificed Debian and acquired a free partition, I am now trying to build a Linux system from the bottom up. It's not Linux From Scratch because I am using ...
- 11-03-2011 #1
My new project
Having sacrificed Debian and acquired a free partition, I am now trying to build a Linux system from the bottom up. It's not Linux From Scratch because I am using binary packages from the Slackware repository. So far I have installed glibc, elflibs (Patrick Volkerding's collection of essential Linux libraries), coreutils and bash. And I can chroot to it
!
The next stage is to install tar, xz and the Slackware package utils. This will go a little faster now that I can run the post-installation scripts in the chroot environment instead of stepping through the code by hand to avoid doing something that would screw up Crux. Once I have the package utils, I can easily install the files I think I need for booting. I shall build and install my own custom kernel.
When I have got it to boot, the next stage will be Internet access, then X and a desktop. The beauty of the whole thing is that I can do it in dribs and drabs through the winter whenever I have nothing more urgent to do. And I shall end up with a sleek, minimalist system that has nothing in it that I didn't put there deliberately, and a greatly increased knowledge of how Linux is put together."I'm just a little old lady; don't try to dazzle me with jargon!"
- 11-03-2011 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,082
That sounds exciting and like lots of fun, hazel!

I like that it is using Slackware packages, too. Do keep us updated on how it's all going.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 11-03-2011 #3
Very cool, Hazel. I've often thought about building a system completely from scratch. It'll be a one-of-a-kind system that is for sure.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 11-05-2011 #4
Stage 2 completed!
Stage 1 was putting enough into the partition to be able to chroot to it, so that I could work safely in a sandbox. Stage 2 was adding what was needed to make the installpkg script work: tar, gzip, xz, util-linux, grep and sed. From now on all packages will be installed automatically.
Stage 3 will be building and installing a kernel, together with udev and modutils."I'm just a little old lady; don't try to dazzle me with jargon!"
- 11-06-2011 #5forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,082
Just curious, hazel... are you working on a 64-bit version, 32-bit, or both for your project?
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 11-06-2011 #6
I just know you are going to succeed in this because you have the passion Hazel. All the best!
- 11-07-2011 #7
- 11-09-2011 #8
Stage 3 completed
I've installed the kernel and I can boot it to a root shell - sort of. It's a poor environment, very few devices. Obviously I haven't got my udev rules properly set up. I shall have to study the ones in Crux to find out what I need. No kernel modules loaded at all.
Stage 4 will be getting proper start-up and shut-down."I'm just a little old lady; don't try to dazzle me with jargon!"
- 11-10-2011 #9
I've got the /dev thing cracked. You need one or two things in your dev directory before udev goes to work: null (which is there already), console (which you have to make with mknod) and the pts subdirectory. Also you need both proc and sysfs to be mounted.
I found this info in a Gentoo manual. I don't like the "bleeding edge" aspect of Gentoo but I can thoroughly recommend the documentation for anyone who wants to know "what's under the hood"."I'm just a little old lady; don't try to dazzle me with jargon!"
- 11-11-2011 #10I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.


5Likes
Reply With Quote

