windows ubuntu boot problem

Asked by Durgesh Chaudhary

FIRST PROBLEM

I repartitioned my system and configured it in following manner

first XP then UBUNTU and VISTA at last now I m getting windows boot loader only and is unable to run UBUNTU.
All the OSes are on same hard disk only.
I m ready to uninstall even VISTA but do not know how to do the same Please resolve the same. It is showing LINUX partition in the other HD as unknown partition(as it should be)

SECOND PROBLEM

I installed Ubuntu on external HDD initially and so I was unable to boot w/o that HDD therefore I ran XP boot and in recovery console I ran FIXBOOT command after removing that external HDD. and it booted correctly

Now I want to remove the space allocated for Ubuntu in that HDD tell me HOW? as I want to run Ububtu from my first HDD as listed in Problem 1

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

For your first problem please try this.

The easiest way to fix this is with a live CD.

   1. Boot your Ubuntu live CD
   2. Open a terminal (applications -> accessories -> terminal)
   3. Type
          * sudo grub
   4. Type
          * find /boot/grub/stage1
   5. That should return something like (HD0) or (HD0,3). Make note of what is returned. This is the location of the GRUB files.
   6. Type
          * root (HD0,3) or whatever was returned
   7. Type
          * setup (HD0)
   8. Do not type (HD0,3) on the setup line. That will not put GRUB on the master boot record (MBR) of the drive so it will not be seen by the BIOS when booting the computer. In order for GRUB to work correctly, it has to be installed to the MBR.

If all went well, you should have GRUB properly set up now. Upon rebooting, you should see the GRUB menu. This will allow you to select which operating system to boot (assuming you have more than one). If you can see the menu but still cannot boot an OS there are likely issues with your /boot/grub/menu.lst file. We’ll look at fixing that later. However, if it’s a matter of just a bit of editing, open your terminal and type

    * sudo gedit /boot/grub/menu.lst

and make the necessary changes. Save the file and reboot.

---------------------

After this if you are able to boot from Ubuntu.
Boot from Ubuntu then open a Terminal from the menu Applications->Accessories->Terminal, type nad copy and aste here the result of:

sudo fdisk -l

give your user password when requested, you don't see nothing when you type it, then press enter.

Then copy and paste the content of your /boot/grub/menu.lst, so type:

gedit /boot/grub/menu.lst

Thank you

Can you help with this problem?

Provide an answer of your own, or ask Durgesh Chaudhary for more information if necessary.

To post a message you must log in.