Dual Boot GNU GRUB 2.02 change?

Asked by Rich.b

This appeared in my start up options:-

Windows 7 (loader) on /dev/sda1

Windows 7 (loader) on /dev/sdc1

Why 2 windows 7?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Rich.b (aybi30) said :
#1

Can I remove the 2nd Windows 7 boot and how do I do this.

Thanks for any help

Rich.b

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Do you have Windows on sda and sdc?

Revision history for this message
Rich.b (aybi30) said :
#3

on a ssd sda
was the first to be installed

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Is the system branded? Does it have a recovery partition?

Revision history for this message
Rich.b (aybi30) said :
#5

Home built PC not branded. Window 7 Pro has a backup but not sure ware this is stored. Ubuntu I have copy of my file on a separate portable 2TB HD. Also I did an Windows backup to this same 2TB using Paragon programme.

I hope this information is what you are looking for - Thank you for your help.

Richard.

Details of my PC and it has Windows 7 Pro Dual Boot Ubuntu 15.10 installed.
PC Spec:-
ATX case with 500Watt PSU
Gigabyte Socket 1150 Micro ATX Motherboard - GA-H81M-S2H
Intel Pentium G3220 3.0GHz - BX80646G3220
8GB DDR3 1600MHz DIMM - PC3-12800
128GB SATA-III Solid State Drive - Kingston V300
500GB HDD Seagate Barracuda SATA3 - ST500DM002
Internal SATA Multi-format DVD Writer – SH2-244DB
Multi Card Reader – CR005V4
Windows 7 Professional – 64 Bit
Installation Type:-

/dev/sda format - Size - Used - Unused - Flags

/dev/sda1 ntfs 100mib 24.67mib 75.33mib boot (System Reserved)
/dev/sda2 ntfs 49.67Gib 39.85Gib 9.82Gib
/dev/sda3 ext4 49.67Gib 5.93Gib 43.Gib
/dev/sda4 extened 12.36Gib
   /devsda5 linux-swap

/dev/sdb format - Size - Used - Unused - Flags

/dev/sdb1 ntfs New voulme 75.13Gib 50.19Gib 24.94Gib boot
/dev/sdb2 ext4 /home 390.63Gib 51.58Gib 339.05Gib
unallocated 1.02Mib

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Your output is somewhat inconsistent.
The original question talks about sda1 and sdc1, but now I see sda and sdb disks.

In any case, in your last output the partition /dev/sdb1 is listed as bootable with ntfs formatting. This might be some kind of Windows Boot loader, that is interpreted as "Windows 7" by grub, but can also be something else that is wrongly categorized by grub.

Running the boot-info-script would most probably show more details about that partition.

Revision history for this message
Rich.b (aybi30) said :
#7

Ran boot info script, but unable to locate "Results.txt"

richard@richard-H81M-S2H:~$ sudo bootinfoscript

Boot Info Script 0.61 [1 April 2012]

Identifying MBRs...
Computing Partition Table of /dev/sda...
Computing Partition Table of /dev/sdb...
Computing Partition Table of /dev/sdc...
Searching sda1 for information...
Searching sda2 for information...
Searching sda3 for information...
Searching sda4 for information...
Searching sda5 for information...
Searching sdb1 for information...
Searching sdb2 for information...
Searching sdc1 for information...
Searching sdc2 for information...
Searching sdc3 for information...

Finished. The results are in the file "RESULTS.txt"
located in "/home/richard/".

Revision history for this message
Rich.b (aybi30) said :
#8

It defiantly said

Windows 7 (loader) on /dev/sda1

Windows 7 (loader) on /dev/sdc1 (and does say sdc1 in Grub)

Any advice please.

Richard

Revision history for this message
Rich.b (aybi30) said :
#9

                  Boot Info Script 0.61 [1 April 2012]

============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) 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
    in partition 114 for .
 => Windows is installed in the MBR of /dev/sdb.
 => Windows is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 15.10
    Boot files: /boot/grub/grub.cfg /etc/fstab

sda4: __________________________________________________________________________

    File system: Extended Partition
    Boot sector type: -
    Boot sector info:

sda5: __________________________________________________________________________

    File system: swap
    Boot sector type: -
    Boot sector info:

sdb1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

sdb2: __________________________________________________________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:

sdc1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD

sdc2: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /Windows/System32/winload.exe

sdc3: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: dos

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 104,366,079 104,159,232 7 NTFS / exFAT / HPFS
/dev/sda3 104,366,080 208,523,263 104,157,184 83 Linux
/dev/sda4 208,525,310 234,440,703 25,915,394 5 Extended
/dev/sda5 208,525,312 234,440,703 25,915,392 82 Linux swap / Solaris

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 * 2,048 157,569,023 157,566,976 7 NTFS / exFAT / HPFS
/dev/sdb2 157,569,024 976,771,071 819,202,048 83 Linux

Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 1.8 TiB, 2000398934016 bytes, 3907029168 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
Disklabel type: dos

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdc1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sdc2 208,896 104,368,127 104,159,232 7 NTFS / exFAT / HPFS
/dev/sdc3 108,464,128 1,337,264,127 1,228,800,000 7 NTFS / exFAT / HPFS

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 8AE611C9E611B683 ntfs System Reserved
/dev/sda2 8AA62C62A62C50CD ntfs
/dev/sda3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ext4
/dev/sda5 638fed9b-133f-4943-ad7f-ecc52e2584d6 swap
/dev/sdb1 749875FB9875BBE4 ntfs New Volume
/dev/sdb2 10ed14f1-ae80-4017-849e-e94c2e510081 ext4
/dev/sdc1 8AE611C9E611B683 ntfs System Reserved
/dev/sdc2 8AA62C62A62C50CD ntfs
/dev/sdc3 3726180A54D4BBA9 ntfs

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda3 / ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sdb2 /home ext4 (rw,relatime,data=ordered)
/dev/sdc2 /media/richard/8AA62C62A62C50CD fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sdc3 /media/richard/3726180A54D4BBA9 fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)

=========================== sda3/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
else
  search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_GB
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=20
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 20 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
 set gfxpayload="${1}"
 if [ "${1}" = "keep" ]; then
  set vt_handoff=vt.handoff=7
 else
  set vt_handoff=
 fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
 recordfail
 load_video
 gfxmode $linux_gfx_mode
 insmod gzio
 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos3'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
 else
   search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
 fi
 linux /boot/vmlinuz-4.2.0-38-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro quiet splash $vt_handoff
 initrd /boot/initrd.img-4.2.0-38-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
 menuentry 'Ubuntu, with Linux 4.2.0-38-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-38-generic-advanced-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-38-generic ...'
  linux /boot/vmlinuz-4.2.0-38-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-38-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-38-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-38-generic-init-upstart-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-38-generic ...'
  linux /boot/vmlinuz-4.2.0-38-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-38-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-38-generic-recovery-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-38-generic ...'
  linux /boot/vmlinuz-4.2.0-38-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-38-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-36-generic-advanced-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-36-generic ...'
  linux /boot/vmlinuz-4.2.0-36-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-36-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-36-generic-init-upstart-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-36-generic ...'
  linux /boot/vmlinuz-4.2.0-36-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-36-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-36-generic-recovery-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-36-generic ...'
  linux /boot/vmlinuz-4.2.0-36-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-36-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-advanced-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-35-generic ...'
  linux /boot/vmlinuz-4.2.0-35-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro quiet splash $vt_handoff
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-35-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-35-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-init-upstart-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  gfxmode $linux_gfx_mode
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-35-generic ...'
  linux /boot/vmlinuz-4.2.0-35-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro quiet splash $vt_handoff init=/sbin/upstart
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-35-generic
 }
 menuentry 'Ubuntu, with Linux 4.2.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.2.0-35-generic-recovery-70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d' {
  recordfail
  load_video
  insmod gzio
  if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  insmod part_msdos
  insmod ext2
  set root='hd0,msdos3'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  else
    search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
  fi
  echo 'Loading Linux 4.2.0-35-generic ...'
  linux /boot/vmlinuz-4.2.0-35-generic root=UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ro recovery nomodeset
  echo 'Loading initial ramdisk ...'
  initrd /boot/initrd.img-4.2.0-35-generic
 }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos3'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
 else
   search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
 fi
 knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
 insmod part_msdos
 insmod ext2
 set root='hd0,msdos3'
Windows 7 (loader) on /dev/sda1

Windows 7 (loader) on /dev/sdc1 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
 else
   search --no-floppy --fs-uuid --set=root 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d
 fi
 linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8AE611C9E611B683' {
 insmod part_msdos
 insmod ntfs
 set root='hd0,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8AE611C9E611B683
 else
   search --no-floppy --fs-uuid --set=root 8AE611C9E611B683
 fi
 parttool ${root} hidden-
 chainloader +1
}
menuentry 'Windows 7 (loader) (on /dev/sdc1)' --class windows --class os $menuentry_id_option 'osprober-chain-8AE611C9E611B683' {
 insmod part_msdos
 insmod ntfs
 set root='hd2,msdos1'
 if [ x$feature_platform_search_hint = xy ]; then
   search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 8AE611C9E611B683
 else
   search --no-floppy --fs-uuid --set=root 8AE611C9E611B683
 fi
 parttool ${root} hidden-
 chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda3/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda3 during installation
UUID=70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d / ext4 errors=remount-ro 0 1
# /home was on /dev/sdb2 during installation
UUID=10ed14f1-ae80-4017-849e-e94c2e510081 /home ext4 defaults 0 2
# swap was on /dev/sda5 during installation
UUID=638fed9b-133f-4943-ad7f-ecc52e2584d6 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda3: Location of files loaded by Grub: ====================

           GiB - GB File Fragment(s)

=============================== StdErr Messages: ===============================

cat: /tmp/BootInfo-wWBXsxj1/Tmp_Log: No such file or directory

Revision history for this message
Rich.b (aybi30) said :
#11

Note that ext HD 2TB was connected when above file was recorded.

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

I think that I see the cause of your problem.

I assume that sdc is the external 2TB disk that you use for backup.

Part of the output

Device UUID TYPE LABEL
/dev/sda1 8AE611C9E611B683 ntfs System Reserved
/dev/sda2 8AA62C62A62C50CD ntfs
/dev/sda3 70ac6c90-ccf1-4e57-8d4f-beafbdd23b0d ext4
/dev/sda5 638fed9b-133f-4943-ad7f-ecc52e2584d6 swap
/dev/sdb1 749875FB9875BBE4 ntfs New Volume
/dev/sdb2 10ed14f1-ae80-4017-849e-e94c2e510081 ext4
/dev/sdc1 8AE611C9E611B683 ntfs System Reserved
/dev/sdc2 8AA62C62A62C50CD ntfs
/dev/sdc3 3726180A54D4BBA9 ntfs

shows that sda1 and sca1 as well as sda2 and sda3 have identical UUIDs. This is not good, because you cannot predict which device a program will access when using the UUID.

In your case this most probably was caused by cloning the Windows partitions during the backup creation.

The solution for your problem (double occurrence of Windows in Grub menu) probably is the following:
Perform a safe remove (eject) of the external disk
run the command

sudo update-grub

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#13

Oops, mistyped the partitions, sda1 and sdc1, as well as sda2 and sdc2
but that does not change the proposed solution.

Revision history for this message
Rich.b (aybi30) said :
#14

Thank you Manfred -

Second entry of " Windows 7 (loader) on /dev/sdc1 "

Now gone.

Thanks again

Richard

Revision history for this message
Rich.b (aybi30) said :
#15

Thanks Manfred Hampl, that solved my question.