I have always been a mac guy but lately have been messing around with the command line and also learning how to program in Ruby. Today, I decided to install Damn Small Linux on my old computer in the garage. So I popped in the live cd, tested it out, then decided to do a hard drive install. I restarted, typed “install” at the command prompt then a list of options popped up. I went into cfdisk and deleted the windows partition (so there was my entire harddisk space free–no other partitions.) Then I clicked Create and clicked Primary and it asked how much space I wanted to use–I put half the total amount. Then I clicked create again and this time I clicked (I think it was called secondary or something like that??) and made the space the rest of the space I had left…this is the part that confused me. I wasn’t sure if I should have just made one primary linux partition or the two. Then it asked me if I wanted to install a boot loader (I guessed and said yes.) Did I do it right?
Oh, and after creating the two partitions I wrote them both to the disk, then said yes to installing Grub boot loader. Do I need a boot loader if only running DSL and no other OS? I also created two users, 1 root and 2 dsl–and gave them different passwords. Lastly, if I want to save a file to the desktop, it says there is no “Desktop” directory, so where do I save it to? On my mac I save my program files in a folder titled, “programs” then open the terminal and type: cd Desktop/programs
then type: ruby filename.rb
and it runs. How do I do this on DSL or linux in general?
Thanks!!