General :: Getting The Process Of Creating A Distribution?
Mar 15, 2011
I'm learning about the process of creating a Linux Distribution. My teacher said that I need to show him how to built Linux Distro from Linux kernel - only basic level not details. I read the Linux From Scratch project. They write in details but I only need a general level to write a document.
I have C in a Nutshell but I'm learning Bash right now. I've gone through a lot of LFS, but didn't complete it. I'm still learning about symbolic links, hard links, libraries, and this sort of thing. I'm wondering about quite a few things at this point. How the hell can anyone make a distribution from the ground up? Even if they start with another distribution as a base, how do they know (I realize one person doesn't do all the work) what to do, what order to do it in, how to synchronize what they're doing with what everyone else is doing, etc. How do you know which software to compile and install first? etc.
Also, I'm entirely confused by this: how can everyone (even large teams) get everything working together? Knowing that this works with that and that doesn't work with this unless it's patched but that's what we're going with, etc. I can't understand how these things can be done without an almost unbelievable amount of effort unless a lot more is done by ./configure and make than I know about at this point.And I don't understand how libraries work at all. I mean, I'm going to learn a lot more and I've been reading a lot... but how can all the distributions just download and install 50 updates at a time and not have to restart the computer most of the time!? There are a hundred things happening in the background constantly. How does everything not just fall apart as soon as you update one package, let alone 50 at a time!? I realize this is stuff that you learn by reading, but I've been reading for quite a while now and I do not understand even the basics about why any of this works or how to know what works and what doesn't unless every single little piece of every distribution is gone over with a 50,000-page reference manual that's constantly updated. And all of this can't be as complex and hard to do as it seems, or there couldn't possibly be a hundred distributions that work and are updated constantly. Linux From Scratch is a good example. You have to download all the very specific versions of the software and patch it with special little patches, etc. How the hell can anyone keep track of all of this? Going by what I know about things, it's almost hard to believe that it's even done.
I would like to install a program (R for statistical computing). I am using Slackware. On the download page of R (The Comprehensive R Archive Network) there are options to download the code for Debian, Redhat, Suse, and Ubuntu. Which one should I download in my case (using Slackware)? Is there any of them which I should not download?
how to create a new system call Linux? what is the process of creating ?my project is to create a system call for displaying owner of a file..where exactly we have to write the system call code? and where are the places need to change ?
Terminal will not open Error message: There was an error creating the child process for this terminal Got this after doing a update to testing repo; to try to fix another issue with my media player sound not working.
Solved The_Source_HIM Just add yourself to 'tty' group and relogin
I work with social sciences and I really need to use "R". R is a program used for statistics and it has a module called R-commander, which let things easier to deal and comes with several options as opening SPSS files (another statistical package commonly used by Windows users) and other things. THe problem is, as Rcmdr is a module for R, when I run it, it opens a terminal window and then he runs the module, which opens a friendly gui.
It worked okay and clean in Ubuntu 9.10, but for LTS 10.4 I keep getting an error, no matter I reinstall the modules or the entire program. I even installed Ubuntu again without upgrading it from karmic Koala. But there is the same error msg.
The error message says: "Error while creating a child process for this terminal". The strange part is there is no other msgs in the terminal or errorlogs. I really need to use this software for work.
I am trying to create a launcher in Fedora 13 which will run a simple script named proj4a. I run this script from the command line as follows: $ /home/enowak/proj4a >/home/enowak/proj4a_out where proj4a is an executable file in my home directory and the output goes into a file, proj4a_out, in my home directory. Everything works fine.
I created a launcher called Proj4a and in the command field I entered the following: '/home/enowak/proj4a >/home/enowak/proj4a_out' When I click on the launcher it comes back with the following: There was an error launching the application. Details: Failed to execute child process "/home/enowak/proj4a >/home/enowak/proj4a_out" (No such file or directory) I can't for the life of me figure out what is wrong here. Does anybody see what I'm missing?
I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.
Description of what the code does or what i intended to do:
1. Created a child process from parent process using 'fork()'
2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.
(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed
Code:
printf("%d ",msg->cpid);
I expected to get the pid of child process, which the child process sent to parent process through the signal.
as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.
So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.
I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?
What does "distribution" mean? My Acer computer, on which I have linux linpus lite, comes with very little documentation and while I have a physics BA and have had exposure to technology, my knowledge of linux is just about zip. Is there a good place to start? As you can see, this question about the word "distribution" is a razor thin top of an enormous iceberg of ignorance.
I need a 64-bit Linux distribution to beta test TeraChem, a GPU-based quantum chemistry package. I have never personally used Linux, however, and I don't know anything about the available distributions. I was wondering if I could get some recommendations.
My system specifications:
CPU: Xeon W3520 GPU: NVIDIA GTX 275 Motherboard: GIGABYTE EX-58 UD5 Current OS: Windows 7 64-bit
I would not use Linux as my sole OS but would want to dual-partition (I think that is the term?). However, I think I would end up using the distribution for more than just running TeraChem. I may even become a convert!
What am I looking for in a distribution? Ease of use, efficiency, 64-bit. What do I know how to do? I can build computers, code in C++, comfortably use a command line.
I would like to make my own Linux distribution.Where do I find a Linux distribution that has just the OS, a browser and basic drivers for ethernet, video, etc.I can then build it up myself through the repo.
what distribution has the most software with it ? I mean one that come with many cds of software that get all install at once while the first install. I heard about this a while back but I can't remember the name of it, I think it was mandrivia. A free one but I am curious for the other one that cost money.
I've been using and relying on linux for some time. I have even tried distributions like Arch. I was wondering what would be a good book for learning the inner workings of linux, how to write shell scripts, compile my own kernel, how to build my own distribution, things like that. I also would like to know if there is a good book for linux networking works. I want to be able to modify distributions specifically for my hardware, and have a better home net work set up.
I've used Ubuntu for about a year now and I really want to move on to a distribution that involves more hands-on customization and more cutting-edge packages (with a wide availability). I'm mainly looking at Debian Testing, openSUSE, and Fedora, but I'm open to any other suggestions. I know Debian has a huge repository of packages, and I was also wondering if there were any good third-party repositories to get significantly more packages in Fedora or openSUSE.
Where would I begin if I want to develop my own distribution? I have the kernel 2.6 downloaded, so obviously I need that. Anyone have a decent site or book I can look at? I want to use KDE/Gnome, with a GUI installer. I know a bit of C/C++, and I'll need a good, (and cheap if possible) book to brush up.
I've been trying out various variants of Ubuntu (Ubuntu, Kubuntu, Xubuntu, Linux Mint, Ultimate Ubuntu, to be specific) as well as the latest Fedora. The only thing that I can distinguish between the various distributions is the desktop environment that it uses (but some distributions, like Fedora, have multiple versions) and the software packages it comes with. But sofware can always be installed afterwards, and so can desktop environments, so what varies between the various distribution branches on a deeper level, on the things that the newbie user like me can't directly see? And is there any easy way to compile my own version of Linux?
I've been running my shellscript for about half an hour now. It's taking longer than I thought to process all the data. I have the process ID of it. Is it possible to save the process and log out then log in and continue the process? I know how to pause a process using kill -pause pID and continue it using kill -cont pID. But that only work if you don't log out after pausing it.