My laptop has two hard drives, one 320GB HDD and a 30GB SSD. I installed Windows 8 on the HDD and Ubuntu on the SSD. However, after I installed Ubuntu, Windows 8 did not appear on the boot list. I tried boot-repair, but this didn't help.Here is the output of my fdisk -l:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6cd9314a
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 625139711 312568832 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 30.0 GB, 30016659456 bytes
255 heads, 63 sectors/track, 3649 cylinders, total 58626288 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6cd93132
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 207126 102539+ 83 Linux
/dev/sdb2 208894 58626047 29208577 5 Extended
/dev/sdb5 208896 4112383 1951744 82 Linux swap / Solaris
/dev/sdb6 4114432 58626047 27255808 83 Linux
Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009c694
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 8192 7744511 3868160 b W95 FAT32
I also tried sudo grub-update, but that also did nothing.
Best Answer
Which drive did you install grub to (HDD or SSD)? Install Grub to SSD and set the SSD as first boot device in your BIOS.