Sunday, November 22, 2009

Problem 1 :Reinstalling Ubuntu Grub Boot Loader

Synopsis
After reinstalling windows in a dual boot machine (2 operating systems). Windows deletes the default boot loader for linux (i.e grub). The result is that you lose access your linux os.
Solution
  1. You will need your Ubuntu or Mint or PCLinux OS (whichever version of linux or distro of linux with grub) live cd.
  2. Boot from the live cd
  3. Go to terminal and type: sudo grub
  4. Inside grub, type : find /boot/grub/stage1 {This finds the partition that contains the grub boot loader files. and returns its address}
  5. The result often is in the format : hd0,1
  6. Next type : root (hd*,*) (note: replace the * with the disk and partition number respectively. e.g for this case type root (hd0,1))
  7. Finally type : setup (hd*){note: replace * with the disk number e.g for this case type setup (hd0)}
In Brief:
  • sudo grub
  • find /boot/grub/stage1
  • root (hd0,1)
  • setup (hd0)
i will upload pictures to demonstrate this later

Saturday, November 21, 2009

Nix Affair : Is all about ...

The Nix affair is all about UNIX, LINUX and all those NIX Operating Systems. It talks about everyday problems encountered with these incredible wonderful operating systems and practical ways to solving them