My Intro to Linux.

My first intro to Linux happened in the mid-late 90’s. I was at a small computer shop, while two guys were there having the shop owner install Linux (RedHat, if memory serves correct) on the new computer they had just purchased. One of then explained to me that Linux was command line driven and had everything one needs to run a computer, Internet connection, web browsing, etc. It got me thinking. However, as they say; “Mans greatest fear is fear of the unknown!” and there I stayed, in my uncomfortable known world, with Windows.

Not that I liked Windows, I didn’t, I hung on to MS-DOS right up to v6.22 and sometime after they stopped supporting it. But the day came when I had to install Windows. My first version was v3.11 for Workgroups, just about the time Windows 95 hit the streets. I went from v3.11 to 98 to Windows 2000 Professional, where I stayed until I installed my first Linux distribution; Ubuntu.

That name came to me via a friend in China who I was helping with the English translation for a program he wrote for the Palm PDA that I had started using.  He mentioned in an e-mail that he was duel booting with Windows and “UBUNTU”. The name stuck in my mind.

A few months later and W2K declared my drive “dead” and refused to start. Angry, at yet another “blue screen of death”, I decided that Windows was no longer for me.  Remembering the name “UBUNTU”, I headed off to a local cyber-cafe and downloaded it while reading the how to install page. Got the operator to burn the ISO as a Live-CD headed home.

Well, it worked, I had Ubuntu running in Live mode.  It looked nice and I finally took the plunge and clicked on the “Install”icon, thinking, “Lets see how bad this drive is!” Wiping Windows off the drive (I had backups on CD’s) I installed using the recommended method using the entire 40GB WD HD. And there it was, Ubuntu happily running on a “dead” HD. I was impressed and was instantly hooked on Ubuntu Linux.

Dreamlinux Installer Guide for first time Linux Install

Dreamlinux Installer Guide for first time Linux Install
Using your old OS to partition the Drive

THE BUILDUP!

Well, on March 7, 09, I wasn’t around much, because I spent most of my computer time re-installing DL3.5 three times, in three different locations. Not because I had to, but because I wanted to test a few things.

First I copied my Xubu /home off to a safe place. Remember, DL3.5 is already installed and running great!

Checked my menu.lst and made sure that was OK. (This step is NOT needed if this is the first Linux OS you are installing.)

Next I started the LiveCD and installed DL with the /(root) over where the /(root) already exists, and asked that /home use the same /home as Xubu, with format: NO. /swap using the same /swap as it exists on my machine.

Once done I removed the CD and rebooted. BINGO! There’s my Xubu desktop in Dreamlinux. Obviously some things didn’t work, I have programs installed in Xubu that are not in Dreamlinux yet. But conky was running, my mouse pointer was changed, my custom background working. Well, that’s nice.

Checked my menu.lst and made modifications to that for what was coming. (Again, not needed if this is your first Linux OS install, so relax and read on.)

Popped in the CD again and told DL Installer to use a 20GB partition on my second HD (sdb) for /(root), the entire 80GB of my third HD (hdc) as /home and the same /swap as Xubu on (sda). Now I really had things spaced out.

YES! That worked too. I was so happy. The second Linux distro I’ve ever tried, and I’m already testing it. I don’t even have it fully setup for personal use yet. I must be nuts!

The third install was to put things back to the original install as that’s the way I wanted it. But I did find out some nice things. Cleaned out the test partitions so there wasn’t any residue floating around out there and copied my Xubu /home back in place – just in case. For this reason most phrases concerning Linux and this user usually starts with; “Oops!” Because I like to test things, and I’ve NEVER lost a single byte of information from my computer since I installed and started using Linux two and a half years ago. And trust me, my knowledge of what is under the GUI (Graphical User Interface) is very very limited. So if you’re new, don’t panic, it is a lot easier than you think. If I can do it and not loose information: anybody can!

Anyway the reason I did this was to see if I could come up with a reasonable guide to installing DL easily and I do believe I’ve done just that. It’s not hard, it shouldn’t be hard for new people, and in fact it’s very easy in many respects. With a bit of information under your belt anybody who wants to install DL-3.5 can do so with a minimum of fuss. And I actually believe it to be easier than the one and only other distro I have installed. Dreamlinux is only the second distribution I have ever installed. I lurked in the DL Forums for a month and a half before getting DL3.5 and read things.

To continue, this guide is focused on “DL Installer“, not the OEM Install. It’s fast, and perfect in my opinion, and easy to use. Everything you need is on one screen, that’s right, one screen! You can review ALL information at a glance before hitting the [Apply] button. I found this to be such a nice feature.

FIRST EVER LINUX INSTALL

BUT, there’s always a but isn’t there. You do need to prepare a few things. DL Installer needs the partitions already created before you use it. So you need to create at least 3 partitions on your HD, with your existing OS (Windows, MAC, etc.) to get things ready. They do NOT need to be formatted, as DL Installer will format them, in fact we are going to tell it to in this guide. If however your OS insists on formatting them that’s OK, DL Installer will reformat and prepare the partitions for Linux when the time comes.

Here’s a breakdown of the three partitions you need to have ready for DL Installer:

The first one is for the system, called “root” in Linux, and displayed thus: /
The second is for “home”, where all your personal files go and is displayed in two ways: ~/name or /home/name

Let me explain:
~/ means “home” – it’s a shortcut, that simple, and
/name is the name you give to the user for logging in.

Mine looks like: ~/bruloo or /home/bruloo

The third partition is for “swap”, it acts like the swapfile in Windows.

NOTE: Linux is quite happy living on an Extended Partition and since Primary Partitions are at a prime on a Hard Drive, Have your OS create these as Extended Partitions.

SIZING:

For /(root) I recommend 15GB. It’s more than enough. My Xubuntu /(root) is 15GB and after two years only uses 3.54GB of that.

For /home nothing less than 20GB. This is where you are going to put all your files, music, videos, etc. So you be the judge.

For /swap I’d say 1 to 2GB is quite enough, I gave mine 2GB, quite possibly an overkill as I very seldom see it in use.

So if you have an 80GB drive, or 80GB to use on an existing drive it, would look like this: / = 15, /home = 63, /swap = 2

OK, that done and out of the way, you’re ready to insert the LIVE-CD and get Dreamlinux installed. Make sure your BIOS is setup to boot from your CD Drive BEFORE your HD. Put it in and reboot your computer.

Welcome to the Live session of Dreamlinux. There are a few things you should prepare here before using DL Installer. It’s not really necessary but makes things simpler later, and everything you do setup now, gets carried over into the installed version when you are done.

    1. INTERNET CONNECTION: Wicd.

nowicd

In the upper right hand corner if you see the dot with lines above then you are NOT connected to the Internet.

yes

If you see something like the the next image with two blue rectangles then you are connected.

wicd1

I had to edit mine as I use eth1 and the default is eth0. So that’s done, we are connected.

    2. LANGUAGE

If you are a US citizen using a Standard “QWERTY” North American Keyboard, skip this, it is set up for you.

I, on the other hand, am a Canadian living in Argentina with a Spanish speaking wife. I needed to do some work here.

Open the DCP-Control Panel

dcpcontrolpanel

and click on Language

I unchecked en_US (all) and selected en_CA ISO-8859-1 and en_CA.UTF-8 UTF-8 and down further es_AR ISO-8859-1 and es_AR.UTF-8 UTF-8. Hit [Forward] and I selected “en_CA.UTF-8″ as the Default locale for the system environment. Select [Forward] again and that’s done.

Your choices will obviously be different.

    3. KEYBOARD

Again in DCP-Control Panel select Keyboard Settings. I unchecked Use X configuration and selected Keyboard model: and searched for mine: Microsoft Natural Keyboard Pro / Microsoft Internet Keyboard Pro. That’s me: MIKP

Now select Keyboard layouts and find yours. Mine is Latin America (latam) and I deleted the US layout.

DL INSTALLERI have an [ñ] key where you have an [-] key and I have a degree symbol key [°]

    4. TIME

timedate

Not everyone lives in England at GMT or UTC, so that clock might be off. So while we have DCP-Control panel open select Time/Date.

Here is where you select your Time Zone and tell Dreamlinux if you want it to get the time sync automatically or to do it manually.

OK, at this point we are still in a LiveCD session and Wicd is working, our language selected, the keyboard configured and the time is correct. What else can we do? Just about anything you want, the idea here is what you configure in this LiveCD Session gets carried over into the DL Installer. So lets open that now and install Dreamlinux to your system.

    DL INSTALLER

dli Start it and you will see I was NOT kidding when I said earlier: Everything you need is on one screen!

This is what it looks like when you start it. Nice, compact, everything you need to tell DL to install properly is right there, you can see everything all the time. That was one very intelligent programmer that wrote that installer, my heart felt thanks goes out to you.

OK lets get started here, there are some areas of “CAUTION” so go slow, or you’ll be quoting me: “Oops, that’s a boo-boo!”

    Upper left: Box, Root & User Management.

Box Name: DL – change it to what ever you want your computer called. I left it as DL, can be anything,except dreamer (the username for the LiveCD). Although I’d like to make a suggestion here: do NOT use blank spaces in the Linux world. Some commands do NOT like them and you’ll get an “Oops!” sooner or later. So if you want a space like “My PC” use the underscore: “My_PC”, it will save you from heartaches later if you get into this habit now.

Root passwd: Root is the equivalent of the Windows “Administrator” account, all powerful, and can destroy your system with a simple mistake. You do NOT log into Dreamlinux with this account. You are a user, and as you learn things, you will find you can ask Root for privileges to do things as the Administrator for a limited time using the password you put here. Put it in a second time in the Again box.

User name: Like Box Name, can be anything. see above. This is the name you’ll use when you log in.

User passwd: this is your login password … simple. CAUTION!: DO NOT hit the [Add new user button] unless you are planning of having two accounts. Leave it as you see it for one user.

    Next we see: Where to install

(o) Internal partitioned disk – probably most people will choose this for their first time Linux install. This guide is based on that aspect. If you have an External Disk, you still need the partitions already created as described above. If that is the case, back out now and do it.

Detected partitions:

Here you can see my partitions in my system in the image above and the completed image below. You will be “clicking on them as needed”.

Select where to install.
Click on any partition on the left.

The first one I clicked on was: /dev/hda5 20 GB ext3 (as you see mine are already formated by Linux. Yours might say FAT, FAT32, NTFS or “unknown” if not formatted.)

Filesystem type: ext3 (like formatting a DOS disk, FAT, HPFS, and NTFS in Windows) CAUTION!: DO NOT select ext4, it’s not completely supported yet, so wait a year or so.

Mount Point: /(root) – this is the Operating System heart.

(o) Format partition? – Yes, you need to format it.

Partition Label: Like it says, optional, I left mine blank – “Root” would be good. :)

Now you hit [Add] and you’ll see the information appear on the right.

OK let do your /home partition, start again and click on the large partition you created for all you personal files. Again select Filesystem type and select: ext3, and Mounting Point: /home and (o) Format Partition with an optional label if you want. HIT [Add], very important that you do that, you MUST see it appear on the right.

Last comes that little 2GB partition you created for /swap. Repeat the process as above, partition, file system type: /swap and STOP! CAUTION! DO NOT CHANGE MOUNTING POINT: if it already says: linux-swap! If not select Mounting Point and select: linux-swap STOP! CAUTION! DO NOT SELECT: format partition. HIT [Add]

You should see three entries on the right, one for / about 20GB – ext3 – format: yes, another for /home xxGB – ext3 format: yes and a final one linux-swap linux-swap format: no.

If you see those lets continue.

Next you see Install Grub to/or

and if you are new you are probably asking yourself; “What’s Grub?” – GRUB is a Multiboot boot loader. Still have no idea, check it out: [url=http://www.gnu.org/software/grub/]GRUB[/url]. basically, it’s a program that loads first and lets you select between various OS’s you have installed; Windows, Linux, etc., which one you want to run.

If this is your first Linux OS and you have Windows on your computer, install Grub to MBR, and as a suggestion leave the title as Dreamlinux.

Check everything you see on your screen, make sure it is correct, go slow, take your time or do what I did the first time. [Quit] and start again, I really did.

It should look something like this:

dli21

When you are sure you have things as you want them, hit the [Apply] button and wait. It may not look like anything is happening but if you check your HD light on your box you’ll see action. “DL Install” is formatting the partitions you asked it to format.

Soon enough you’ll see a bar appear between the [Quit] and [Apply] buttons giving you the blow by blow of the progress being made. Watch it carefully, because when it’s finished there are no fireworks, just a nice message in that bar telling you it’s done, reboot and enjoy.

That’s it, Dreamlinux is installed.

Now it’s time for both you and I to start using the system, have fun!

Have a nice day
Bruce

Dreamlinux 3.5 Install Story

On March 4th I installed Dreamlinux v3.5, and I have to say the name suits it, it is a Dream. I met Rich-lxh and useResa a while back and they introduced me to screen-shots of it and talked very highly of the OS. Rich recommended that I wait to get the final version 3.5 that was released on Feb 28th. I’m glad I did.

I joined the Dreamlinux Forum in mid January, and lurked for the most part, reading some about it and was waiting anxiously for the 28th. The 28th came and went and I still didn’t get the download, it took me 6 attempts as I am having problems with my ISP (Fibertel) and being tossed off the net sometimes every couple of minutes. We’ve been complaining since Sept but they don’t seem to care.

Anyway, I regress, on the night of March 3rd, I left my computer downloading DL as I slept, hoping that it would get it while everyone was sleeping and the cuts wouldn’t happen. In the morning it was here, checked it and it came out with a clean bill of health. I burned the LiveCD at 8x (the slowest my DVD does) and kept my fingers crossed, even though I’ve never had problems burning ISO’s. That worked and checked out, so I popped it in and rebooted.

To say I was impressed with what I saw would be an understatement. This was/is one sweet looking OS, and I played around with the Live session a bit and thought, “Oh I have to get this installed!” but that didn’t come quite as planned, but it was going to happen, and quite possibly become my OS of choice. Now I’m convinced it is going to be.

I’ve seen it said that installing isn’t for new users to Linux. Hog wash. It’s very easy with the right bits of information and a bit of planning. But you see that where the Taurus in me comes out. I can do this… CHARGE! Well, that an my three finger, looking at the keyboard typing, don’t make for the perfect combination. There is also the fact I sometime think I did something and, “Opps! Missed it.” So here my install story for a great OS.

I have three hard drives all IDE, sda is a Maxtor 200GB with Xubuntu on it, and had three blank, unformatted 37GB partitions reading for when I was going to start checking out different distros, sdb is an older 40GB Western Digital HD has 2 20GB partitions formatted to ext3 and sdc is an 80GB Western Digital with one partition. That’s where I was going to start checking out DL.

OK, so after some of the reading I did I knew that OEM Install would use the entire disk, great, I had the empty disk just waiting. So clicking on OEM Install I started, slowly, checking things out, backing out, redoing it, backing out and starting again just to make sure. But the “Oops!” in me must be related to Murphy because something didn’t go right. and just when it got to the end and I see “Grub -” I see: FAILED and a red X. “Oh, that’s not good!”

Restarted my computer into Xubu and see errors: device UUID={snip} does not exist. To quote ID4, “Oh, crap!”. So I went looking, gParted said sdc had three partitions! Three? – /(root), /home and /swap. Why sway, I knew better, I had read that a computer only needs one swap per machine. Did I really put that in there, “Oops!”, that’s me getting in my own way again. OK, so I wiped them all out, creating just one 80GB ext3 formatted partition again and rebooted into Xubu again seeing: device UUID={snip} does not exist. Calm down Bruce, this is not as bad as it looks. And it’s not, if you know what to do. I didn’t, but I do now. I PM’d a friend and asked for help, the answer came and seemed too simple, but it did work.

Xubu was still reporting (trimmed it back to the drive in question):
bruloo@bruloo:~$ sudo blkid
/dev/sdc1: UUID="405435df-24de-4bd6-9530-1510990b0ceb" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc2: LABEL="Dreamlinux" UUID="d5179326-0ce0-4ff5-aa49-83a6296a2b7a" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdc3: LABEL="DreamlinuxHome" UUID="e9757ccb-16d3-4d11-9ff5-1bb88f0c7808" SEC_TYPE="ext2" TYPE="ext3"
bruloo@bruloo:~$

And fstab was reporting only one partition (with a different UUID, I didn’t save it):
# /dev/sdc1
UUID={snip} /media/Data ext3 relatime 0 2

My friend told me to change the fstab UUID to what “blkid” showed for sdc1, save it and reboot. Well, I tell you, nervous fingers did the copy, paste, save and reboot. but there is was, a perfect reboot. Slick as oil on water. Time to move on and get DL into my machine.

By this time I knew I wanted this OS bad, and it was going to be playing a big role in the coming days so I decided that it was going to go onto the 200GB drive. Since I was already in Xubu and the three partitions were unformatted, I backed up my Xubu /home and then opened gParted, and deleted the three 37GB empty partitions and created a formatted 20GB partition for /(root) and a 91GB partition for /home.

I also knew I needed something called: chainloading whatever that is. So Google being my friend took me to a post on LinuxQuestions.org about chainloading. Oh oh, fooling around with Xubu’s menu.lst. better get this right, so I PM’d my friend again and asked if that looked alright? Yes, that was OK, so I modified the menu.lst before installing DL so it would be available as soon as it was installed, adding after the last line ### END DEBIAN AUTOMAGIC KERNELS LIST:
### END DEBIAN AUTOMAGIC KERNELS LIST

title Other operating systems:
root

title Dreamlinux @ hda5
root (hd0,4)
chainloader +1

saved it, crossing fingers and all!

In goes DL’s LiveCD again and this time I choose DL Install. Going slow, I put in the information for Admin and User, mindful NOT to hit the [Add] button under User. Just one user please! the select the 20GB partition for root and format it. Checked, yup, good, [Add], it appears on the right. Select the 91GB partition for /home and format it ext3, check, [Add] to the right. Last clicked on the existing swap partition, do NOT select format and [Add]. Further down I checked for Grub to be installed to root. OK; that right … checked everything … looks good, clicked on [Apply].

Installing went fine, no hitches. WoW! It worked!

Hit [Esc] when Grub started – I still have “hiddenmenu” in there, and went for Dreamlinux that was on the list.

[b]NOT![/b], I get a message that I have /home/bruloo selected for /home but it does NOT exist. “Say what?”

Back to Xubu and gparted and sure enough, the 91GB partition is there, unformatted?!? [b]“HUH?”[/b], I have NO clue what happened, [i]none, zero, zip, zilch[]/i! Ah what the heck, live and learn, start it again.

I formatted it ext3 and started over again with DL Install just like before. This time: SUCCESS! I have Dreamlinux up and running. Not only that I learnt things along the way. I’m a happy dreamer!

That’s my story and I’ll stick to it. A shorter version exists on the DL Forums but is basically the same, I did that post first and did not review it for this posting.

Have pleasant dreams.
Bruce