Your Ad Here
Loading

Repair GRUB2 after install windows 7 : dual boot ubuntu 9.10

November 30, 2009

Fix your grub2 after Windows 7 (Ubuntu installed 1st) installation for dual or multi boot with Ubuntu 9.10 Karmic Koala. Here is how:

Tool required:
Live CD Ubuntu 9.10 Karmic Koala
Procedure:
  • Boot using your live CD 

  • Select " Try Ubuntu without any change to your computer "
  • Once you've login to desktop run Terminal ( Application > Accessories > Terminal )
  • Change to root, using this [enter only blue lines] command in Terminal:
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~#
  • Find partition location of your Ubuntu:
root@ubuntu:~# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x10031003
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sda2 6375 19457 105089197+ f W95 Ext'd (LBA)
/dev/sda5 6375 11473 40957686 7 HPFS/NTFS
/dev/sda6 11474 19457 64131448+ 83 Linux <--- Here

  • Create mount-point for ubuntu's partition
root@ubuntu:~# mkdir /media/root
  • Mount the partition using this line:
root@ubuntu:~# mount /dev/sda6 /media/root
  • Confirm your root location by typing this line:
root@ubuntu:~# ls /media/root
bin dev initrd.img lib32 media proc selinux tmp vmlinuz
boot etc initrd.img.old lib64 mnt root srv usr vmlinuz.old
cdrom home lib lost+found opt sbin sys var
if those line above appear, you may proceed by installing GRUB 2:
root@ubuntu:~# sudo grub-install --root-directory=/media/root /dev/sda
Installation finished. No error reported. This is the contents of the device map /media/root/boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (hd0) /dev/sda
  • Reboot your system!


No Windows 7 ?
No worries...
  • Boot to your ubuntu
  • Run Terminal to update GRUB2 so that grub able to identify mount-point location for Windows 7. This can be done by typing this command in Terminal:
ubuntu@ubuntu:~$ sudo update-grub2
[sudo] password for ubuntu:
Generating grub.cfg ...
Found Debian background: apollo.tga
Found linux image: /boot/vmlinuz-2.6.31-15-generic
Found initrd image: /boot/initrd.img-2.6.31-15-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
Try reboot again & you should be able to see Windows 7 at Grub menu.
Read More...

Easiest way to auto-mount your ntfs hdd and partition

November 25, 2009

For those who hate password dialogue that appears before mounting hdd or partition, PySDM [Storage Device Manager] is the solution.

Installation
Pysdm supported by Ubuntu standard repositories. You may use Synaptic Package Manager (System -> Administration -> Synaptic package Manager) . Or, for those who prefer typing, type this command in terminal:

sudo apt-get install pysdm

How to use:
  • Go to System -> Administration -> Storage Device Manager.
  • Click Assistant



  • select those settings for hdd/partition as picture:

  • Click OK, reboot your computer, enjoy changes.
Read More...

Disable / hide recent documents

November 24, 2009



How to : disable or hide Recent Documents in Places menu | Panel>Places>Recent Documents
cd ~/.recently-used.xbel
touch ~/.recently-usd.xbel
sudo chattr +i ~/.recently-used.xbel
Read More...

Install 270++ extra fonts

  • Problem - Need more fonts for my ubuntu.
  • Answer - install various font collection, copy paste this command in terminal:
sudo apt-get install ttf-sil-gentium ttf-dustin ttf-georgewilliams ttf-sjfonts sun-java6-fonts ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon

  • Problem - Cant relate fonts with it's look.
  • Answer - Install Specimen Font Previewer, copy paste this command in terminal:
sudo apt-get install gnome-specimen

  • Apps location - Applications>Graphics>Specimen Font Previewer


Read More...

Long long journey for the Koala

November 23, 2009

from uk to malaysia

it cost me nothing

Amazing....
Read More...

Ubuntu looks like Windows XP - XPGnome Script

November 14, 2009


Ubuntu looks like Windows XP


Make Gnome look like XP by running this script:

Download Script
Right-click it and select "Extract Here"
Run the "InstallXpGnome.sh" by double-clicking it and choosing "Run"!
Settings are saved and can be reverted by running the Restore_Settings.sh script in the restore folder.
Source: http://ubuntu.online02.com/node/14
Read More...

The Road Not Taken

November 12, 2009

TWO roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth;

I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I—
I took the one less traveled by,
And that has made all the difference.



Read More...