Ubuntu installation on a system which already has other operating systems is simple. Ubuntu will automatically detect other operating systems already installed on the computer and enable booting into them from the grub boot menu. However if you install Windows on a system which already has Ubuntu installed on a partition other than the partition on to which you install windows then you will inevitably lose the option to boot into the Ubuntu installation. There is a simple way to rectify this issue.
Boot into Ubuntu using the Ubuntu Live CD
Open Gedit and copy the following code into it
sudo bash
mkdir /mnt/hdd
mount /dev/<hda6> /mnt/hdd
grub-install --root-directory=/mnt/hdd /dev/<hda>
Change <hda6> to whichever partition your /boot resides
Change <hda> to whichever harddisk you want to install grub to
Open a terminal, copy the code from GEdit and paste into the terminal
Presto! You are done
If you have any questions please feel free to Contact Us. You can also call us at +91-471-2437711 to get further assistance. If you can bring your PC to our office we will fix this for free else call us we will come over to your place and fix this issue for a nominal service charge.
Comments
Alternate methord to Restore GRUB after Windows installation
What to do:
Put the Linux liveCD or boot disk you created while the installation; on the floppy drive, boot the system and run grub command
Remember that for grub (hd0,1) means hda (primary controller master), second partition.
Now we need to tell grub where are the grub files:
If you know where they are, type something like:
root (hd0,1)
else if you have no idea, type:
find /boot/grub/stage1
and then the root command with the correct parameters:
setup (hd0)
to install it on hd0, that is MBR of the first HD.
type quit and reboot.
The menu will appear again.
If you want to make some changes to the boot menu, you must edit the file: /boot/grub/menu.lst
$ gksu gedit media/disk/boot/grub/menu.lst
How to remove GRUB and restore the Windows bootloader
Obtain a bootable Windows XP CD, and use it to boot.
Wait through all the Bill-messages until you get the first prompt. Choose R to repair an existing installation.
It will search and prompt the Windows installation, showing :
1) C:\WINDOWS
choose 1, and it will ask for the Admin password. If you have one enter it or just press Enter.
C:\WINDOWS>
Now, type
C:\WINDOWS> CD ..
C:\> FIXBOOT C:
C:\> FIXMBR
C:\> BOOTCFG /rebuild
After the BOOTCFG, it will ask if you want to add the Installation it found, and to be safe answer "Y".
ubuntu
What is the benifit of ubuntu
Is this is good as fedora?
How to install other software in ubuntu?
Is it eazy to install linux software in ubuntu?
How to get ubuntu in kerala
Are there any solution providers in kerala
Regarding your question
Get Ubuntu CDs Delivered to your doorstep
Ubuntu Pre-installed Systems
Post new comment