I am making a Linux distro

Discussion in 'Warbirds International' started by rudeboy, Jun 11, 2009.

  1. rudeboy

    rudeboy Well-Known Member

    Joined:
    Jun 3, 2006
    Messages:
    1,786
    Location:
    Tower of power.
    My favourite Distro is loosely based on Slackware, I believe version 12.1 32bit. The distro I love the most is called Puppy.
    The name is a joke, but the software isn't, it is as real as it gets.
    I would describe the thing, but anyone can go on the net and read about it.
    I am using some development tools that are about as much as I can handle, with is fine. I am downloading a huge software repository to a local directory on a spare disk drive in my old 3 gHz box.
    I don't have to compile too much source, I will only be doing that when I can't find binary files precompiled. I don't have the patience to sit around and compile shit for days and days.

    What I am making is an Operating System.
    I am starting with a precompiled Kernel. version 2.62x.
    It is squished. SFS.
    It boots, but after that, ya get a command line.
    There are a shitload of scripts and, I suppose, I am going to learn a lot in the shell. I suppose I will buy drinks when I get a working gui.

    I don't know if many of you know the workings of nix. I don't. I am relying on other hackers to smooth my path.

    I am gonna keep a record of what I am up to, locally. I won't be able to comvince too many people to boot the thing and try it, when it is working.

    Never mind.

    There is a theme I will work on. A reason for the thing. I am not gonna say. Until later, when I have an alpha.
     
    Last edited: Jun 11, 2009
  2. Mcloud

    Mcloud Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    2,448
    Location:
    Ontario, Canada
    Just download MS DOS 6.22.
     
  3. rudeboy

    rudeboy Well-Known Member

    Joined:
    Jun 3, 2006
    Messages:
    1,786
    Location:
    Tower of power.
    Been there done that.
    There a lot to do to make DOS work on a P4. I not sure if it would work.
    Maybe in a virtual machine it could be working, but then what?

    Of course, you are pulling my leg......
     
  4. Uncles

    Uncles Well-Known Member

    Joined:
    Mar 2, 2005
    Messages:
    3,787
    Location:
    Post-American USA
    A new hobby? I'll be happy to try it on some of my older beater boxes (not networked in case it's a Canadian conspiracy :) I guess you have some particular goals (related the theme) that can't be achieved with the existing distros...

    Getting into C now? Well, you can code name your releases after WW2 aircraft.
     
  5. rudeboy

    rudeboy Well-Known Member

    Joined:
    Jun 3, 2006
    Messages:
    1,786
    Location:
    Tower of power.
    Nope. No C.
    Most worthy programming language I got to was MS Basic and I can write a batch file in DOS or bash in nix. I am no programmer. But I can put pieces together.
    Kernel
    Apps
    Configuration
    And other production I can't recall.

    that sort of stuff.

    Get a old machine, use it. Don't be tempted to stick lin and win in the same hdd. Can cause problems. Force you to cludge. Do you want to cludge? Hell, if you wanted cludge software, you could use win.
    ANd another thing, virtual boxes are a waste of time. They won't impress you the same way that an installed sytem would. They are clunky. If you want benefit of speed and responsiveness, then get the thing in the hdd.
     
    Last edited: Jun 12, 2009
  6. Uncles

    Uncles Well-Known Member

    Joined:
    Mar 2, 2005
    Messages:
    3,787
    Location:
    Post-American USA
    Yes, it's true. Please post your experiences. But I wonder how many native English-speakers in Canada (or USA) program these days.

    Ain't many, man! Go to Top Coder or something.

    OMFG. Well, we had our time :)
     
    Last edited: Jun 12, 2009
  7. ronin

    ronin Well-Known Member

    Joined:
    Oct 15, 2002
    Messages:
    1,503
    class Nixuser {
    private $name;
    public function setNixUserName($name){
    $this->name=$name;
    }
    public function getNixUserName(){
    return $this->$name;
    }
    }

    // GET READY TO:

    $headache = new Nixuser();
    $spondilosis = "Biles";
    $headache->setNixUserName($spondilosis);
    echo "<h1>".$headache->getNixUserName()."</h1>";
    echo '<br />&nbsp;<br />';
    $hemoroids = new Nixuser();
    $bad_eyesight = "Ronin";
    $hemoroids->setNixUserName($bad_eyesight);
    echo "<h1>".$hemoroids->getNixUserName()."</h1>";
    echo '<br />&nbsp;<br />';
    $lackoftime = new Nixuser();
    $paininlowerback = "Uncles";
    $lackoftime->setNixUserName($paininlowerback);
    echo "<h1>".$lackoftime->getNixUserName()."</h1>";

    :dura:
     
    Last edited: Jun 14, 2009
  8. ronin

    ronin Well-Known Member

    Joined:
    Oct 15, 2002
    Messages:
    1,503
    That's fukin true man everyone payin' pennies for scripts written in Pakistani Neighbor India. But as stubborn as I can be I'm still floating. Some do crosswords, some rubiks cube, some jigsaw puzle.... I like to amuse mu self with coding.... hate compilers... adore PHP LAMP.
     
  9. ronin

    ronin Well-Known Member

    Joined:
    Oct 15, 2002
    Messages:
    1,503
    biles bud I'm in that septic sink hole for the last 6 odd years. Fedora 1 to 10 all tasted with OR/END without spices... all flavors 'nd I love it. Linux = freedom... but you need to spend some time to learn it HOW.


     
  10. rudeboy

    rudeboy Well-Known Member

    Joined:
    Jun 3, 2006
    Messages:
    1,786
    Location:
    Tower of power.
    I want to access a PC and get things done that I want done.
    If I were professional, then surely I would have to study the rules of C and/or some other.
    But I am not running someone's computer room, downstairs from their office, eh?
    I am running my own.
    I only study those things that apeal to me, right now. Later, I will study things that appeal to me when the time comes.

    There are lots of learning paths. I will learn more each day. Maybe I announce in a post here, some day, that I am learning C....
    or assembly code.......
    or machine language.....
    I could guide each electron, each with it's own little string!


    ANyone can look at a script using a line editor.Many do, like me.
    In a script is all you need. It is already there. You can look at it, or you can excecute it or you can take it apart and find out what some of the commands inside that script do, what they mean.
    Or you could just hit the enter key.....
    Which is always an aption and not as risky as it sounds [using various methods, from VM and other things and too, not being superuser is a good thing. I have 4 gB of ram, it is plenty to keep any VMare I want living happily.
    And having a current, working backup also [DiskImage is great, if you have a few hows to leave your house, while it is doing it's thing........
    Don't be root. Use root only for some things as rules that I cannot remember.
    Rules. Learned, not taught.
    nevermind.
     
    Last edited: Jun 21, 2009
  11. -al---

    -al--- Well-Known Member

    Joined:
    Jan 5, 2005
    Messages:
    6,848
    Location:
    Poznań
    I like assembly ;)
     
  12. rudeboy

    rudeboy Well-Known Member

    Joined:
    Jun 3, 2006
    Messages:
    1,786
    Location:
    Tower of power.
    Cool. Is it that stuff I see sometimes quoted, it looks like 16 bit numbers????? big long strings, ether CR deliniated or otherwise? [I am outta my leag, be aware of that, okay?
    [Some people thing the tubular thing sticking out of the wing leading edge is an antenna....:joystick:]
     
    Last edited: Jun 22, 2009
  13. Red Ant

    Red Ant Well-Known Member

    Joined:
    Jan 18, 2002
    Messages:
    4,946
    Location:
    Germany
    You are one sick little puppy. :p
     
  14. -al---

    -al--- Well-Known Member

    Joined:
    Jan 5, 2005
    Messages:
    6,848
    Location:
    Poznań
    Well, there are all kinds of assembly language, depending on which machine the code is meant to be executed, but it looks something like this:
    [​IMG]

    So I've been told ;)
     
  15. rudeboy

    rudeboy Well-Known Member

    Joined:
    Jun 3, 2006
    Messages:
    1,786
    Location:
    Tower of power.
    I been trying to decipher the workings of an OS called XXXXcore. It is a kernel and some, basically, nothin much. A shell, so a guy can type cryptic commands into, in order for him to use to install a fuckin package manager. Then begins Dependancy Hell. If you read anything f my words of late, you will have occured to yourself, sort of, that I, Rudeboy, HATE PARENTHISES.
    And that is pretty well what dependences are, they are a lot of ifs, ands and buts.
    groan.

    Good thing I have a couple nixes that do all I need, so I am not stuck all fucked up without any working PC.
     
  16. ronin

    ronin Well-Known Member

    Joined:
    Oct 15, 2002
    Messages:
    1,503
    there is only one thing I know to do in machine language ... oh well maybe a few more... :)
    But this one is so usefull.

    A:\>debug <enter>
    -F 200 L1000 0 <enter>
    -A CS:100 <enter>
    xxxx:0100 MOV AX,301 <enter>
    xxxx:0103 MOV BX,200 <enter>
    xxxx:0106 MOV CX,1 <enter>
    xxxx:0109 MOV DX,80 <enter>

    (80 for hd 0 or 81 for hd 1 )

    xxxx:010C INT 13 <enter>
    xxxx:010E INT 20 <enter>
    xxxx:0110 <enter>
    -g <enter>
    Program terminated normally
    -q <enter>
     
  17. ronin

    ronin Well-Known Member

    Joined:
    Oct 15, 2002
    Messages:
    1,503
    what I do hate the most are compilers thats why I love PHP preprocessor precompiled language. <?php echo 'do what you want to do here'; ?>
    Simply I love it.
     
  18. rudeboy

    rudeboy Well-Known Member

    Joined:
    Jun 3, 2006
    Messages:
    1,786
    Location:
    Tower of power.
    zeroing a hard drive?

    [I don't know]
     
  19. Red Ant

    Red Ant Well-Known Member

    Joined:
    Jan 18, 2002
    Messages:
    4,946
    Location:
    Germany
    Cool! I didn't know there existed such a command on Windows until today. :)
     
  20. -al---

    -al--- Well-Known Member

    Joined:
    Jan 5, 2005
    Messages:
    6,848
    Location:
    Poznań
    it's actually not ON WINDOWS to be precise :>