Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have finally installed ubuntu on my second drive i change my d drive to took 8gb for swap and formated d disc(sda4 to ext4), now when i start computer in grub is shows me only ubuntu and windows 7 is not shown. So how should i fix thath problem to i will be able to choose between them at grub.

Another thing is after i press F12 for boot menu at startup i choose windows boot manager and i get into Windows 7.

I runed command sudo fdisk -l and here is log: http://pastebin.com/Cgv1igHc

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xc3ffc3ff

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  1953525167   976762583+  ee  GPT
Partition 1 does not start on physical sector boundary.

Thanks for help.

share|improve this question
    
Please indicate your Boot-Info URL. This will provide relevant information to help you. –  LovinBuntu Oct 9 '12 at 9:30
add comment

1 Answer

1) Boot Ubuntu and mount your windows partition (simply open the disk on nautilus)

2) Run the following on the command line:

sudo os-prober

3) If your windows was found, you can run:

sudo update-grub

(note, step 2 is just for your convenience, you could just mount then win7 partition and then run update-grub)

share|improve this answer
    
Awesome - Solved the problem ! –  Yugal Jindle Oct 16 '12 at 12:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.