dual boot - GRUB does not detect Windows - Ask Ubuntu


i have installed ubuntu on second drive. when start computer grub offers me boot ubuntu, not windows 7. needs done can choose between ubuntu , windows in grub?

when press f12 boot menu @ startup , choose windows boot manager boots windows 7.


i ran command sudo fdisk -l , here log (http://pastebin.com/cgv1ighc):

warning: gpt (guid partition table) detected on '/dev/sda'! 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 not start on physical sector boundary. 

  1. boot ubuntu , mount windows partition (simply open disk on nautilus)

  2. run following on command line (ctrl+alt+t):

    sudo os-prober 
  3. if windows installation found, can run:

    sudo update-grub 

note step 2 convenience. mount windows 7 partition , run update-grub.

related question


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User