EricDallal
July 29th, 2016, 12:46 AM
The short story is that I have Windows 10 installed on my computer, but that the grub lists only ubuntu as an available operating system. I have tried both "sudo update-grub" and boot-repair. Neither of them seems to detect the Windows OS. The Pastebin file from boot-repair is here (http://paste.ubuntu.com/21339402/). The beginning of the file is shown below.
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Syslinux MBR (4.04-4.07) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe
sda2: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda3: __________________________________________________ ________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________ ________________________
File system: vfat
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda5
and looks at sector 948389096 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
-------------------------. No errors found in the Boot
Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda4: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________ ________________________
File system: vfat
Boot sector type: SYSLINUX 4.05 20140113
Boot sector info: Syslinux looks at sector 2103522 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
/casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda __________________________________________________ ___________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 718,848 209,512,447 208,793,600 7 NTFS / exFAT / HPFS
/dev/sda2 209,512,448 210,434,047 921,600 7 NTFS / exFAT / HPFS
/dev/sda3 210,434,048 959,995,903 749,561,856 f W95 Extended (LBA)
/dev/sda5 210,454,528 834,146,303 623,691,776 c W95 FAT32 (LBA)
/dev/sda6 834,166,784 959,995,903 125,829,120 83 Linux
/dev/sda4 959,995,904 976,773,119 16,777,216 82 Linux swap / Solaris
The long story is as follows. I upgraded from Windows 7 to Windows 10 yesterday. The system is using legacy bios mode, not uefi, so this overwrote the mbr, causing the system to only boot into Windows. At this point, I had lost access to both my FAT32 data partition and my Linux and Linux swap partitions. I then used a program called Testdisk to find the missing partitions and add them to the MBR. When I restarted, the system found no operating systems. I then used the Ubuntu live cd to run boot-repair. It found the Linux OS and recreated the grub, but apparently it could no longer find Windows and the result is a grub that has no Windows option, which is my current situation.
Boot Info Script cfd9efe + Boot-Repair extra info [Boot-Info 26Apr2016]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
=> Syslinux MBR (4.04-4.07) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe
sda2: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda3: __________________________________________________ ________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________ ________________________
File system: vfat
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v2.00) is installed in the boot sector of sda5
and looks at sector 948389096 of the same hard drive
for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub. It also embeds following
components:
modules
-------------------------------------------------------
fshelp ext2 part_msdos biosdisk
-------------------------------------------------------
-------------------------. No errors found in the Boot
Parameter Block.
Operating System:
Boot files:
sda6: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sda4: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________ ________________________
File system: vfat
Boot sector type: SYSLINUX 4.05 20140113
Boot sector info: Syslinux looks at sector 2103522 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg
/casper/vmlinuz.efi /EFI/BOOT/grubx64.efi /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda __________________________________________________ ___________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 718,848 209,512,447 208,793,600 7 NTFS / exFAT / HPFS
/dev/sda2 209,512,448 210,434,047 921,600 7 NTFS / exFAT / HPFS
/dev/sda3 210,434,048 959,995,903 749,561,856 f W95 Extended (LBA)
/dev/sda5 210,454,528 834,146,303 623,691,776 c W95 FAT32 (LBA)
/dev/sda6 834,166,784 959,995,903 125,829,120 83 Linux
/dev/sda4 959,995,904 976,773,119 16,777,216 82 Linux swap / Solaris
The long story is as follows. I upgraded from Windows 7 to Windows 10 yesterday. The system is using legacy bios mode, not uefi, so this overwrote the mbr, causing the system to only boot into Windows. At this point, I had lost access to both my FAT32 data partition and my Linux and Linux swap partitions. I then used a program called Testdisk to find the missing partitions and add them to the MBR. When I restarted, the system found no operating systems. I then used the Ubuntu live cd to run boot-repair. It found the Linux OS and recreated the grub, but apparently it could no longer find Windows and the result is a grub that has no Windows option, which is my current situation.