Tag Linux

Using Different Linux Distros

Have been using Slackware 13 lately. It’s pretty decent. Originally, I was using Kubuntu on this laptop and it required lot of reboots. Sometimes one reboot a day. It got to be so weird. But the KDE version on kubuntu was higher so it had some new knick knacks.

Then I decided to move to slackware on this laptop. Using KDE from the Slackware install. Slackware chooses stable packages and so the packages in Slackware repos are fairly old. As a result KDE doesn’t have KNetworkManager and all wifi stuff must be done using cli. It’s not so much of a problem but every now and then the scripts just start doing odd things and take a while to connect. You can use wicd on it for GUI. But it doesn’t rival KNetworkManager.

Overall Slackware is very much nicer that Kubuntu. The overall gui response is pretty nice.

Sunday Haps

It’s been a while since my last update. I have been busy working on some stock stuff lately. I have also been working on some music stuff. Writing, composing, recording. And also on listening other people’s music.

Worked on my gentoo setup. Got my DE setup correctly. Well it’s not really a DE. Working on getting ACPI stuff fixed on the laptop so the lid can just be shut down. Currently the hibernate-ram commands works fine putting the computer to Sleep (suspend to RAM). But when waking it up, it doesn’t seem to wake up. I’m not sure if it’s a kernel thing or a module thing. I have all the modules installed based on the documentation, but it still doesn’t work. Will keep working on it.

Slow Sunday. Waiting to go to church in a little bit.

RAID1 on Linux (Gentoo)

So finally, I have a RAID 1 array. I’m using gentoo and dmraid to setup a raid 1 array. I always wanted a raid setup, but never really set one up for various reasons. One of the reasons was no extra hardware and I didn’t want to spend the money. Another reason was I just didn’t believe that software raid could perform.

But then a friend of mine got a ReadyNas drive. And it has Debian on it and allows to put Apache/PHP and other things on it. This made me think that a $300-$400 device that has Debian on it couldn’t be doing hardware raid on a dedicated controller. That meant software based raid isn’t just for nerds using linux. It’s for anyone who wants a real raid setup without having to pay 1000s of dollars for hardware controller.

So using the following link, I setup my gentoo server.


I had an older machine that was available to me. And a drive in an external enclosure that had a eSata and USB 2.0 interface.

Hardware Specs

Sony Viao 

* CPU: 1.5Ghz Single Core
* Mem: 256MB.
* Harddrive: 400G EIDE.

    Second Drive 

    * Harddrive: 300G SATA
    * Connect to an external enclosure with eSATA or USB 2.0 connector.

      Plan of Action

      Since the disk weren’t the same size, the plan was to partition the smaller one first. Then the partition table can be created on the second one. Then the OS can be installed. And there’s a problem here. The smaller one has data on it that I wanted to keep. New plan….

      1. Copy data from smaller disk to bigger disk.
      2. Parition smaller disk.
      3. Create degraded raid1.
      4. Install Gentoo.
      5. Copy data over.
      6. Partition the other disk.
      7. Add disk to raid1.

        Problem! The mobo/bios doesn’t support booting from a USB device. Even tho, the bios has a setting for it, I have never gotten it to boot from a USB media. New plan….

        Forget the data. Just isntall the OS. There’s a backup of the data.



          1. Installed on the smaller disk.
          2. Installed grub to MBR.
          3. Rebooted, still using minimal isntall CD.
          4. Add the bigger disk and let it create the raid1 image.
          5. Installed grub to bigger disk mbr.

            This made the system bootable. However, everytime the system booted, it would show degraded array. The USB 2.0 drive would just fall out of raid. Even after adding and recreating the array, after boot it would just degrade.

            Went out and bought a SATA PCI card for the older mobo. Installed the card. Luckily, the kernel has drivers for it. Recompiled the kernel and the drive was visible.

            Re-added the smaller drive. It work just fine. And now the array is up.


            Copyright © Noise Ave.
            Just some opinions; simple, technical, musical, emotional

            Built on Notes Blog Core
            Powered by WordPress