0

I just installed Ubuntu 14 on a separate hard drive from Windows 7.

But when grub2 boots up, I only see options to boot Ubuntu, Windows 7 is nowhere in sight.

I've had to manually boot the hard drive with windows 7 on it to get in.

Here's my disc info:

  • /dev/sda1 HPFS/NTFS (Windows 7 drive)
  • /dev/sdb1 HPFS/NTFS (TB drive)
  • /dev/sdc1 EFI System FAT (Ubuntu drive, grub is installed on this one)

If I run sudo update-grub I get:

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Adding boot menu entry for EFI firmware configuration
done

Running sudo parted -l shows:

Model: ATA Crucial_CT240M50 (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  240GB  240GB  primary  ntfs         boot


Model: ATA WDC WD10EZRX-00A (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1000GB  1000GB  primary  ntfs


Model: ATA WDC WD2500JS-00M (scsi)
Disk /dev/sdc: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End    Size    File system     Name  Flags
 1      1049kB  538MB  537MB   fat32                 boot
 2      538MB   242GB  241GB   ext4
 3      242GB   250GB  8471MB  linux-swap(v1)

Any ideas on how to get Windows 7 to appear?

Zanna
  • 72,312

1 Answers1

0

Boot into Ubuntu and run this command:

sudo update-grub 

That will detect the available operating systems and generate the /boot/grub/grub.cfg file.

Have you really installed Ubuntu on a FAT32 drive? I'm very surpized that works and you can expect to have all sorts of issues with permissions down the line. If this is a new install I recommend you reinstall and chose a Linux filesystem like ext4.

terdon
  • 104,119