Posts

Showing posts with the label ubuntu

Recovering GRUB after windows installation

I finally used my windows upgrade kit to upgrade my laptop from windows Vista to Windows 7. This has been too much delayed because I use ubuntu lucid mostly anyway :). One of the side effects during the upgrade is to load the GRUB loader menu from which I select the OS to load. Windows overrides that upon installation so it is completely by passed. Luckily, this is a well covered topic at ubuntu forums since it is a likely thing to occur A nice guide on how to restore the grub menu can be found at https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD This is useful if you are using GRUB2, ubuntu 9.10+ To summarize: Use a live CD to boot ubuntu on you computer mount the system partition (or the partition having the /boot directory) in the original installation of ubuntu that you have to a specific location (say /meda/ubuntu_sys) use the grub-install command: sudo grub-install --root-directory=/media/ubuntu_sys /dev/sda Reboot your system and , voila, ...

Getting the sound to work on Ubuntu Jaunty

After installing Ubuntu 9.04 (jaunty) on my new HP DV6-1280us machine, my main problem was that the sound is complete dead. I see no errors when I try to play anything. there is just no sound. taking a closer look at my Sound Card: ~$ lspci | grep -i audio 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 01:00.1 Audio device: ATI Technologies Inc R700 Audio Device [Radeon HD 4000 Series] After a while of googling around, I came across this post on ubuntu forums If you have the same sound card. (which is in most DV6, DV7 series of HP) This will probably be useful to you as well. Briefly, you'll need to download, compile and install the alsa driver. and modify configuration of alsa-base.conf as follows: wget -c ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.21.tar.bz2 wget -c ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.21.tar.bz2 wget -c ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.21.tar.bz2 tar xvf alsa-driver-1.0.21.tar.bz2 tar xvf alsa-lib-1.0...

Setting Up RubyOnRails Development Environment on Ubuntu 8.04 Hardy

I started a new fresh installation of Ubuntu 8.04 (Hardy).. i needed to prepare my machine for RubyOnRails development. Below are the steps i need to make: Installing Ruby, Rails, MySQL Install MySQL apt-get install mysql-server mysql-client Install Ruby (1.8.6) and gems apt-get install build-essential ruby irb rdoc ri ruby1.8-dev libzlib-ruby libopenssl-ruby1.8 rubygems libmysql-ruby1.8 Update gem gem update --system rm /usr/bin/gem ln -s /usr/bin/gem1.8 /usr/bin/gem Install Rails & Mongrels gem install rails mongrel mongrel_cluster Installing rails 1.2.5 (needed in my project) gem install rails -v 1.2.5 --include-dependencies Move the mongrel_rails, rails and rake to the /bin directory ln -s /var/lib/gems/1.8/bin/mongrel_rails /bin/ ln -s /var/lib/gems/1.8/bin/rake /bin/ ln -s /var/lib/gems/1.8/bin/rails /bin/ This makes us done with the basic ruby and rails installation. Installing RMagick Rmagick is an image processing library that is needed by some rails projects (including m...

a new start on ubuntu

recently i decided to explore the world on through Linux.. i had tried in the past to install Ubuntu 6.1 on my desktop at home. but it ended in an MBR issue that i couldn't fix then, and i didn't have the time to track it down. a couple of weeks ago.. i decided to do it again.. encouraged by my Linuxawy fellow. who offered his help, so.. i freed up some space and decided to go through it. we had in installed and i started playing around with it. it is great. so far i'm running smoothly. i feel like my laptop is less loaded. but i encounter eclipse and firefox sudden termination from time to time. the initial programs that we install on windows after a new windows install wasn't an issue. no office, no winamp, no ... etc. no need to keep "sources" directory. Ubuntu uses repository for his packages. it is the same concept of maven handling java library projects. u define the repositories, and get packages through the "Synaptic Package Manager" or dire...