Posts Tagged ‘Linux’

Sunday, July 11th, 2010

First of all, kudos to all the guys behind Ubuntu distribution from the maintainers, committers, developers and to all those people that made this release (10.04) possible. The Ubuntu 10.04 (Lucid Lynx) is a kick-ass release! Effin insane boot-time!

Now lets go back to the problem which I’ve encountered first hand during installation and after the installation process. There’s three(3) actually, so I’m gonna go through each and every one of them but the solution is quite simple:

Problem #1: No partition found

I have Windows 7 installed on my hard drive but I planned to replace it with Ubuntu and use the entire disk (totally wiping out the Windows partition). But when I get to the “Prepare partitions” window, I see no partition. If you encountered this problem, here’s what you do:

  1. Click the “Back” button (It’ll take you back to the “Keyboard layout” window)
  2. Once you’re in the “Keyboard layout” window, Press “Ctrl + Alt + F1” to go to terminal mode.
  3. (On terminal mode) Type-in “sudo apt-get remove dmraid” then hit “Enter” key. (Ignore any error that you see cause it’ll not matter)

  4. Return to GUI mode by pressing “Ctrl + Alt + F7”, now you may continue on with the installation process.

The problem is due to Dmraid (fake raid) is active by default and are supported out-of-the-bot on the Ubuntu 10.04 LTS Desktop CD.

Problem #2: dmraid shared libraries loading problem on boot startup

Now this problem is I think caused by the solution made for the previous problem (Problem #1).
I think it didn’t entirely remove the reference to dmraid, so it is still trying to load the dmraid libraries on boot-time. On boot-time (before the splash screen) you’ll get a nasty error, saying:

dmraid: error while loading shared libraries...

Now the solution to that is removing the dmraid support entirely. Here’s what you need to do:

  1. Once Ubuntu desktop is loaded, open a “Terminal” (Accessories → Terminal).
  2. On terminal window, type-in “sudo apt-get remove dmraid” and hit “Enter” key.
  3. After removing dmraid, restart your PC (soft reboot).

There you have it! Problem solved.

Problem #3: Blank window or no “Welcome” window

I’ve booted the installation CD on my laptop but after the loading part it popups a blank window and no options were shown. So obviously I cannot continue with the installation. But after a few trial and error , I’ve finally found a solution to get the installation window to work (show the installation options).

Here’s the solution:

  1. Boot from CD and when it starts on booting press “F6” key to go to the boot installation options (live CD, disc check, memory test, language, accessibility, etc).
  2. When you get to the installation option screen, press “F6” for “Other Options” (boot options).
  3. Select “nomodeset” by using the arrow key and pressing the “Enter” key to mark it.
  4. Press “Esc” key and continue with the installation by choosing “Install Ubuntu” and then pressing the “Enter” key.

That’s it. I hope the solutions given above helps.

Cheers!

Saturday, April 25th, 2009

Ubuntu

Ubuntu 9.04 Jaunty Jackalope

Just finished downloading Ubuntu 9.04, code-named JauntyJackalope. Its latest public release made its way yesterday April 23, 2009 PST. Though I haven’t yet installed it but judging by the couple of reviews that I’ve read, this version is kinda promising. I use OpenSUSE on my development desktop and I’m not planning on dumping it anytime soon. To be honest, I’m not really a fan of Ubuntu distro. I had the chance to try it years ago, 4 or 5 years ago, I think but after a week or so, I returned to my good ol’ FreeBSD. I guess it’s the brown theme that made me hate it. And yeah! I use FreeBSD as a desktop! Sounds geeky huh? But that was years ago, I am now using OpenSUSE distro for my desktop and it makes me feel just right. But with the latest release of Ubuntu, thing might chance!

I read a couple of reviews regarding Jaunty Jackalope and the reviews was good, it is fast, slick as Windows 7 or Mac OS X, new features/notification, EXT4 file system support, boot time improvement and updated applications.

The next release will be code-named Karmic Koala or 9.10 which will be on October 2009.

Saturday, March 28th, 2009

Elive is an Operating System built on top of Debian GNU/Linux, customized to offer users eye-candy OS experience with minimal hardware requirements.

The video below uses Enlightenment 17 on top of Elive and a special version of Compiz called Ecomorph to achieve the eye-candy effects.

Download: http://www.elivecd.org/Download/e17-compiz

Saturday, March 21st, 2009

Here’s the scenario:

You have this really cool idea of an OSS project and you have already coded some of its source, though not stable enough for release you’d decided to create and uploaded it on Google Code repository to track the development history. “Trunk tree should only have the stable source”, with this in mind you’d decided to create a branch directory (/1.0) and upload your unstable source in there. After days of hacking and cracking, you finally have a source candidate for the trunk tree. So, how do you copy your candidate branch to the empty trunk?

Remember that when you create a new project on Google Code, your initial repository will already have a branches, tags, and trunk tree.

Using “svn merge” will not do, because you still have an empty trunk.

But how about “svn copy“?

> svn copy https://your-project.googlecode.com/svn/branches/1.0 \
   https://your-project.googlecode.com/svn/trunk/

That wouldn’t do either. Yes it’ll copy all the files and directories inside the “/branch/1.0” directory but it’ll include the “/1.0” directory. Meaning the end result will be “/trunk/1.0“.

https://your-project.googlecode.com/svn/trunk/1.0

You don’t want that, do you? Remember that Trunk directory should always contain the latest and stable source. So the “/1.0” directory will be inappropriate. What you wanted to achieve in your project repository tree, is to look like this:

  • /svn/branches
    • /1.0
      • source.file.1
      • source.file.2
  • /tags
  • /trunk
    • source.file.1
    • source.file.2

Solution

The way to do this (without temporarily deleting the trunk directory) is to first, checkout the candidate branch, change working directory and import.

  1. Checkout the candidate/stable branch:
    > svn co https://your-project.googlecode.com/svn/branches/1.0 branch-1.0
    > cd branch-1.0
    
  2. Import to the empty trunk:
    > svn import https://your-project.googlecode.com/svn/trunk \
       -m 'Stable source from branches/1.0, revision 26.'
    

Pros: Quick and easy, without deleting the current trunk tree.
Cons: What happened on the branch (history) stays on the branch.

Got another solution? I’d love to hear from you.

Wednesday, March 4th, 2009

Have you tried sharing a folder in Linux, especially in OpenSuse? If you open your File Browser/Nautilus and you right clicked on a folder, you will see a “Sharing Options” and when you try to share a folder and hit on the “Create Share” button, there’s an error prompting at the window: ‘net usershare’ returned error 255: net usershare: usershares are currently disabled.

Well the solution to this problem is quite simple:

Note: Before starting make sure that Samba is already installed and that the Samba daemon are already started:

Starting the Samba daemon

As root:

rawswift:~ # /etc/init.d/smb start
Starting Samba SMB daemon                                            done
rawswift:~ #

Now here’s what you will do next (as root):

  1. Edit ‘/etc/samba/smb.conf’.
    rawswift:~ # vi /etc/samba/smb.conf
    

    add the following under the “[global]” category:

    usershare allow guests = Yes
    usershare max shares = 100
    usershare owner only = False
    
  2. Create the ‘usershare’ directory (this is where Samba will store the lists of shared folders).
    rawswift:~ # mkdir /var/lib/samba/usershares
    rawswift:~ # chgrp users /var/lib/samba/usershares/
    rawswift:~ # chmod 1770 /var/lib/samba/usershares/
    
  3. Then finally, restart Samba daemon:
    rawswift:~ # /etc/init.d/smb restart
    Shutting down Samba SMB daemon                                       done
    Starting Samba SMB daemon                                            done
    rawswift:~ #
    

That’s it! Simple, eh?

Share a folder

  1. Open your file browser/Nautilus.
  2. Right click the folder you want to share.
  3. Click ‘Sharing Options’.
  4. Tick ‘Share this folder’ and ‘Guest access (for people without a user account)’.
  5. And hit ‘Create Share’ button.
Saturday, February 14th, 2009

A few hours from now a milestone will happen for Unix world as the Unix time (Unix Epoch) will hit “1234567890″ at Friday, February 13, 2009, 11:31:30 pm UTC (since it started counting on January 1, 1970).

To find out what time it will be in your local time:

perl -e 'print scalar localtime(1234567890),"n";'

or

date -d@1234567890

Mine is ‘Saturday, February 14, 2009 07:31:30 PHT’ (Philippine Time).

Don’t have *NIX? Check out http://coolepochcountdown.com/

So! Grab your party hat and grab some beer or whatever you can grab on and party like it’s 1234567890!
If you happen to miss the celebration, then we’ll see you December 22, 2282 at 3:13:30PM ET.

Friday, January 23rd, 2009

After the installation, The first thing I do is to remove those icons because first, I don’t use it and second, I like my desktop clean.

Here’s how you can remove the “Online Help” and “openSUSE” icon on Gnome desktop:

As root, change directory to ‘/usr/share/dist/desktop-files/’ then delete or move this files:

  • GnomeOnlineHelp.desktop
  • SuSE.desktop

Remove

rawswift:/ # cd /usr/share/dist/desktop-files/
rawswift:/usr/share/dist/desktop-files # rm *

Move

rawswift:/ # cd /usr/share/dist/desktop-files/
rawswift:/usr/share/dist/desktop-files # mv * /to/backup/folder/.

After you remove or move it, notice that the two icons will automatically disappear on the desktop (must be a daemon, run by Nautilus Greeter Application, ‘ggreeter’).

I hope this helps!

Update!

I just found out about this! While I was removing applications on session startup, I’ve noticed an entry named ‘SUSE’ that run an application called ‘ggreeter’. I’m not really sure if removing it will disable those icons, anyway I continue on and disable that entry. The name just gave me a hint and so far I haven’t encountered any problem. Here’s how to disable it:

  1. Open the ‘Control Center
  2. Click ‘Sessions‘ under ‘System‘ category
  3. On ‘Startup Programs‘, uncheck ‘SUSE
  4. Then click ‘Close‘ button

What ‘SUSE’ does is run ‘ggreeter –once’ on startup, must be a daemon.

Thursday, January 22nd, 2009

Freshly installed OpenSUSE 11.1

Freshly installed OpenSUSE 11.1

I’d upgraded my office workstation’s OS from OpenSUSE 10.3 to 11.1. Been waiting for a chance to install this new version, since it’s public release (December 2008).  I’ve been using OpenSUSE as my primary OS for web development at the office and run Windows XP in VirtualBox. After years of trying out different Linux distribution and BSDs. I’ve never seen anything quite like OpenSUSE. So! for years I’ve been stickin with it and I think I’ll never let go.

Still stuck with Windows? Go get OpenSUSE!