Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Windows 7 not in GRUB, resists Customizer, Boot Repair

  1. #1
    Join Date
    Mar 2007
    Beans
    175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Windows 7 not in GRUB, resists Customizer, Boot Repair

    Hi everyone,

    I would like to triple boot 12.04, 10.04 and Windows 7, with 12.04 as the default option. Currently GRUB only shows 12.04 and 10.04.

    I have tried re-installing GRUB, running GRUB customizer and Boot Repair, but none have automatically added Windows to the GRUB menu. How can I do this manually?

    I would like to avoid re-installing 12.04 and Windows if possible! Thanks guys!!

    Here is the output from bootinfoscript: (http://bootinfoscript.sourceforge.net/)

    Code:
                      
    
    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 
        for (,msdos7)/boot/grub on this drive.
    
    sda2: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /Windows/System32/winload.exe
    
    sda3: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info: 
    
    sda6: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  
        Boot files:        
    
    sda7: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 12.04 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab 
                           /boot/extlinux/extlinux.conf /boot/grub/core.img
    
    sda8: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 10.04.4 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    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 / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda2    *        206,848 1,562,896,301 1,562,689,454   7 NTFS / exFAT / HPFS
    /dev/sda3       1,562,896,382 1,953,523,711   390,627,330   5 Extended
    /dev/sda5       1,949,618,176 1,953,523,711     3,905,536  82 Linux swap / Solaris
    /dev/sda6       1,562,896,384 1,719,146,495   156,250,112  83 Linux
    /dev/sda7       1,719,148,544 1,777,739,775    58,591,232  83 Linux
    /dev/sda8       1,777,741,824 1,836,333,055    58,591,232  83 Linux
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/sda2        A80EDA630EDA2A58                       ntfs       
    /dev/sda5        8b2c8631-713a-4f7a-9eef-3575922c168b   swap       
    /dev/sda6        3a31150a-6236-4e49-a7ee-c7066ad91f3c   ext4       
    /dev/sda7        0377d65b-5932-4d49-af07-208cca2d118e   ext4       
    /dev/sda8        7c5e7c6f-26cb-4aae-97e0-aa42f046ff85   ext4       
    /dev/sr0                                                udf        CIV4_COMPLETE
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda2        /media/windows           fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda6        /home                    ext4       (rw)
    /dev/sda7        /                        ext4       (rw,errors=remount-ro)
    /dev/sr0         /media/CIV4_COMPLETE     udf        (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,dmode=0500,uhelper=udisks)
    
    
    =========================== sda7/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
    set default="0"
    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 {
      insmod vbe
      insmod vga
      insmod video_bochs
      insmod video_cirrus
    }
    
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos7)'
    search --no-floppy --fs-uuid --set=root 0377d65b-5932-4d49-af07-208cca2d118e
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos7)'
      search --no-floppy --fs-uuid --set=root 0377d65b-5932-4d49-af07-208cca2d118e
      set locale_dir=($root)/boot/grub/locale
      set lang=en_GB
      insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
      set timeout=10
    else
      set timeout=10
    fi
    play 480 440 1
    ### 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; then
      clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux_proxy ###
    menuentry 'Ubuntu, with Linux 3.2.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	gfxmode $linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos7)'
    	search --no-floppy --fs-uuid --set=root 0377d65b-5932-4d49-af07-208cca2d118e
    	linux	/boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro   quiet splash $vt_handoff
    	initrd	/boot/initrd.img-3.2.0-24-generic
    }
    ### END /etc/grub.d/10_linux_proxy ###
    
    ### BEGIN /etc/grub.d/30_os-prober_proxy ###
    menuentry "Ubuntu, with Linux 2.6.32-38-generic (on /dev/sda8)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos8)'
    	search --no-floppy --fs-uuid --set=root 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux /boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro quiet splash
    	initrd /boot/initrd.img-2.6.32-38-generic
    }
    ### END /etc/grub.d/30_os-prober_proxy ###
    --------------------------------------------------------------------------------
    
    =============================== sda7/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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda7 during installation
    UUID=0377d65b-5932-4d49-af07-208cca2d118e /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=3a31150a-6236-4e49-a7ee-c7066ad91f3c /home           ext4    defaults        0       2
    # swap was on /dev/sda5 during installation
    UUID=8b2c8631-713a-4f7a-9eef-3575922c168b none            swap    sw              0       0
    # windows partition
    UUID=A80EDA630EDA2A58     /media/windows     ntfs-3g     defaults,nls=utf8,windows_names     0 0
    --------------------------------------------------------------------------------
    
    ====================== sda7/boot/extlinux/extlinux.conf: =======================
    
    --------------------------------------------------------------------------------
    ## /boot/extlinux/extlinux.conf
    ##
    ## IMPORTANT WARNING
    ##
    ## The configuration of this file is generated automatically.
    ## Do not edit this file manually, use: extlinux-update
    
    
    default l0
    prompt 1
    timeout 50
    
    include themes/debian/theme.cfg
    --------------------------------------------------------------------------------
    
    =================== sda7: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     827.892669678 = 888.942985216  boot/grub/core.img                             1
     821.878959656 = 882.485813248  boot/grub/grub.cfg                             1
     823.384292603 = 884.102152192  boot/initrd.img-3.2.0-24-generic               2
     821.680408478 = 882.272620544  boot/vmlinuz-3.2.0-24-generic                  2
     823.384292603 = 884.102152192  initrd.img                                     2
     821.680408478 = 882.272620544  vmlinuz                                        2
    
    ================= sda7: Location of files loaded by Syslinux: ==================
    
               GiB - GB             File                                 Fragment(s)
    
     846.063262939 = 908.453511168  boot/extlinux/chain.c32                        1
     825.896579742 = 886.799699968  boot/extlinux/extlinux.conf                    1
    
    ============== sda7: Version of COM32(R) files used by Syslinux: ===============
    
     boot/extlinux/chain.c32            :  COM32R module (v4.xx)
    
    =========================== sda8/boot/grub/grub.cfg: ===========================
    
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/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
      load_env
    fi
    set default="0"
    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
    }
    insmod ext2
    set root='(hd0,8)'
    search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ext2
    set root='(hd0,8)'
    search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
      set timeout=10
    else
      set timeout=10
    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
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux	/boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-38-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	echo	'Loading Linux 2.6.32-38-generic ...'
    	linux	/boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-38-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (recovery mode) (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-23-generic (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-23-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-23-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-23-generic (recovery mode) (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-23-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-23-generic
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### 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 ###
    --------------------------------------------------------------------------------
    
    =============================== sda8/etc/fstab: ================================
    
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' 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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda8 during installation
    UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=3a31150a-6236-4e49-a7ee-c7066ad91f3c /home           ext4    defaults        0       2
    # swap was on /dev/sda5 during installation
    UUID=8b2c8631-713a-4f7a-9eef-3575922c168b none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda8: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     857.833618164 = 921.091833856  boot/grub/grub.cfg                             1
     870.078670502 = 934.239858688  boot/initrd.img-2.6.32-38-generic              1
     870.067867279 = 934.228258816  boot/vmlinuz-2.6.32-38-generic                 1
     870.078670502 = 934.239858688  initrd.img                                     1
     870.067867279 = 934.228258816  vmlinuz                                        1
    
    =============================== StdErr Messages: ===============================
    
    xz: (stdin): Compressed data is corrupt

  2. #2
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    You removed the sda1 partition it looks like, the windows boot partition. You need to reload the missing boot files to the sda2.

    Run these set of commands with a windows install or recovery disc, this will also put the windows bootloader back in place in the mbr, so reboot to windows, make sure it is good then reload grub to the mbr. After reloading grub boot to the ubuntu at the top of the grub menu and run a update-grub

    Link to show path to windows recovery terminal

    http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html

    BootRec.exe /fixmbr
    BootRec.exe /FixBoot
    BootRec.exe /ScanOs
    BootRec.exe /RebuildBcd
    Last edited by wilee-nilee; May 12th, 2012 at 08:22 AM.

  3. #3
    Join Date
    Mar 2007
    Beans
    175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    Quote Originally Posted by wilee-nilee View Post
    You removed the sda1 partition it looks like, the windows boot partition. You need to reload the missing boot files to the sda2.

    Run these set of commands with a windows install or recovery disc, this will also put the windows bootloader back in place in the mbr, so reboot to windows, make sure it is good then reload grub to the mbr. After reloading grub boot to the ubuntu at the top of the grub menu and run a update-grub

    Link to show path to windows recovery terminal

    http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html

    BootRec.exe /fixmbr
    BootRec.exe /FixBoot
    BootRec.exe /ScanOs
    BootRec.exe /RebuildBcd
    Thanks wilee, I'll get on that now and hopefully see you on the other side!

  4. #4
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    Quote Originally Posted by Sunships View Post
    Thanks wilee, I'll get on that now and hopefully see you on the other side!
    No problem, if you want to give grub control from a specific install, or say switch between either having grub control, like from 10.04 or 12.04 you just run these commands in that installs desktop.

    Code:
    sudo grub-install /dev/sda
    Code:
    sudo update-grub
    So say you had ubuntu in a sdb drive you would run.

    Code:
    sudo grub-install /dev/sdb
    Instead.

  5. #5
    Join Date
    Mar 2007
    Beans
    175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    Alrighty...so using my Windows 7 disk I ran the commands as above. This worked as expected, and lead to my computer booting straight into Windows with no other options when I turned it on.

    I then used a liveCD to restore GRUB. I tried to install boot-repair, but the packages for this could not be found. Running sudo grub-install /dev/sda gave an error indicating that /dev/sda was not mounted...I eventually found a set of instructions that worked. Unfortunately I can't find them on Google now, but they seemed to install grub via chroot.

    On reboot, however, I now get a GRUB menu that shows just 12.04 and 10.04 - no Windows. I'm back to where I started!

    Here is a fresh bootinstallscript results file:

    Code:
                      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 
        for (,msdos7)/boot/grub on this drive.
    
    sda2: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /Windows/System32/winload.exe
    
    sda3: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info: 
    
    sda6: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  
        Boot files:        
    
    sda7: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 12.04 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab 
                           /boot/extlinux/extlinux.conf /boot/grub/core.img
    
    sda8: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 10.04.4 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    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 / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda2    *        206,848 1,562,896,301 1,562,689,454   7 NTFS / exFAT / HPFS
    /dev/sda3       1,562,896,382 1,953,523,711   390,627,330   5 Extended
    /dev/sda5       1,949,618,176 1,953,523,711     3,905,536  82 Linux swap / Solaris
    /dev/sda6       1,562,896,384 1,719,146,495   156,250,112  83 Linux
    /dev/sda7       1,719,148,544 1,777,739,775    58,591,232  83 Linux
    /dev/sda8       1,777,741,824 1,836,333,055    58,591,232  83 Linux
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/sda2        A80EDA630EDA2A58                       ntfs       
    /dev/sda5        8b2c8631-713a-4f7a-9eef-3575922c168b   swap       
    /dev/sda6        3a31150a-6236-4e49-a7ee-c7066ad91f3c   ext4       
    /dev/sda7        0377d65b-5932-4d49-af07-208cca2d118e   ext4       
    /dev/sda8        7c5e7c6f-26cb-4aae-97e0-aa42f046ff85   ext4       
    /dev/sr0                                                udf        CIV4_COMPLETE
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda2        /media/windows           fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda6        /home                    ext4       (rw)
    /dev/sda7        /                        ext4       (rw,errors=remount-ro)
    /dev/sr0         /media/CIV4_COMPLETE     udf        (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,dmode=0500,uhelper=udisks)
    
    
    =========================== sda7/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
    set default="0"
    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 {
      insmod vbe
      insmod vga
      insmod video_bochs
      insmod video_cirrus
    }
    
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos7)'
    search --no-floppy --fs-uuid --set=root 0377d65b-5932-4d49-af07-208cca2d118e
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      insmod part_msdos
      insmod ext2
      set root='(hd0,msdos7)'
      search --no-floppy --fs-uuid --set=root 0377d65b-5932-4d49-af07-208cca2d118e
      set locale_dir=($root)/boot/grub/locale
      set lang=en_GB
      insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
      set timeout=10
    else
      set timeout=10
    fi
    play 480 440 1
    ### 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; then
      clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux_proxy ###
    menuentry 'Ubuntu, with Linux 3.2.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	gfxmode $linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos7)'
    	search --no-floppy --fs-uuid --set=root 0377d65b-5932-4d49-af07-208cca2d118e
    	linux	/boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro   quiet splash $vt_handoff
    	initrd	/boot/initrd.img-3.2.0-24-generic
    }
    ### END /etc/grub.d/10_linux_proxy ###
    
    ### BEGIN /etc/grub.d/30_os-prober_proxy ###
    menuentry "Ubuntu, with Linux 2.6.32-38-generic (on /dev/sda8)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos8)'
    	search --no-floppy --fs-uuid --set=root 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux /boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro quiet splash
    	initrd /boot/initrd.img-2.6.32-38-generic
    }
    ### END /etc/grub.d/30_os-prober_proxy ###
    --------------------------------------------------------------------------------
    
    =============================== sda7/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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda7 during installation
    UUID=0377d65b-5932-4d49-af07-208cca2d118e /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=3a31150a-6236-4e49-a7ee-c7066ad91f3c /home           ext4    defaults        0       2
    # swap was on /dev/sda5 during installation
    UUID=8b2c8631-713a-4f7a-9eef-3575922c168b none            swap    sw              0       0
    # windows partition
    UUID=A80EDA630EDA2A58     /media/windows     ntfs-3g     defaults,nls=utf8,windows_names     0 0
    --------------------------------------------------------------------------------
    
    ====================== sda7/boot/extlinux/extlinux.conf: =======================
    
    --------------------------------------------------------------------------------
    ## /boot/extlinux/extlinux.conf
    ##
    ## IMPORTANT WARNING
    ##
    ## The configuration of this file is generated automatically.
    ## Do not edit this file manually, use: extlinux-update
    
    
    default l0
    prompt 1
    timeout 50
    
    include themes/debian/theme.cfg
    --------------------------------------------------------------------------------
    
    =================== sda7: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     827.892669678 = 888.942985216  boot/grub/core.img                             1
     821.878959656 = 882.485813248  boot/grub/grub.cfg                             1
     823.384292603 = 884.102152192  boot/initrd.img-3.2.0-24-generic               2
     821.680408478 = 882.272620544  boot/vmlinuz-3.2.0-24-generic                  2
     823.384292603 = 884.102152192  initrd.img                                     2
     821.680408478 = 882.272620544  vmlinuz                                        2
    
    ================= sda7: Location of files loaded by Syslinux: ==================
    
               GiB - GB             File                                 Fragment(s)
    
     846.063262939 = 908.453511168  boot/extlinux/chain.c32                        1
     825.896579742 = 886.799699968  boot/extlinux/extlinux.conf                    1
    
    ============== sda7: Version of COM32(R) files used by Syslinux: ===============
    
     boot/extlinux/chain.c32            :  COM32R module (v4.xx)
    
    =========================== sda8/boot/grub/grub.cfg: ===========================
    
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/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
      load_env
    fi
    set default="0"
    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
    }
    insmod ext2
    set root='(hd0,8)'
    search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ext2
    set root='(hd0,8)'
    search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
      set timeout=10
    else
      set timeout=10
    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
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux	/boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-38-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	echo	'Loading Linux 2.6.32-38-generic ...'
    	linux	/boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-38-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (recovery mode) (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-23-generic (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-23-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-23-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-23-generic (recovery mode) (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-23-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-23-generic
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### 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 ###
    --------------------------------------------------------------------------------
    
    =============================== sda8/etc/fstab: ================================
    
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' 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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda8 during installation
    UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=3a31150a-6236-4e49-a7ee-c7066ad91f3c /home           ext4    defaults        0       2
    # swap was on /dev/sda5 during installation
    UUID=8b2c8631-713a-4f7a-9eef-3575922c168b none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda8: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     857.833618164 = 921.091833856  boot/grub/grub.cfg                             1
     870.078670502 = 934.239858688  boot/initrd.img-2.6.32-38-generic              1
     870.067867279 = 934.228258816  boot/vmlinuz-2.6.32-38-generic                 1
     870.078670502 = 934.239858688  initrd.img                                     1
     870.067867279 = 934.228258816  vmlinuz                                        1
    
    =============================== StdErr Messages: ===============================
    
    xz: (stdin): Compressed data is corrupt

  6. #6
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    13,797
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    Are you sure these are new results? There are still no win7 boot files there.

    What you could try is this:
    It seems you have unallocated space at the start of the disk. Open Gparted and create one small ntfs partition from this space. Set the boot flag on it, and remove the boot flag from /dev/sda2.

    Then try the win7 fix commands without the first one, don't run the /fixmbr. That will leave grub2 on the MBR so you don't have to reinstall it.

    When you reboot the first time win7 won't be there but once in your 12.04 see if sudo update-grub detects it or not.

    If it doesn't detect it open /dev/sda1 and see if there are any win7 boot files there.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  7. #7
    Join Date
    Mar 2007
    Beans
    175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    Quote Originally Posted by darkod View Post
    Are you sure these are new results? There are still no win7 boot files there.

    What you could try is this:
    It seems you have unallocated space at the start of the disk. Open Gparted and create one small ntfs partition from this space. Set the boot flag on it, and remove the boot flag from /dev/sda2.

    Then try the win7 fix commands without the first one, don't run the /fixmbr. That will leave grub2 on the MBR so you don't have to reinstall it.

    When you reboot the first time win7 won't be there but once in your 12.04 see if sudo update-grub detects it or not.

    If it doesn't detect it open /dev/sda1 and see if there are any win7 boot files there.
    Doh! You are right, there was a cheeky results1.txt hiding on the next row which should be the right one:

    Code:
                      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 
        for (,msdos7)/boot/grub on this drive.
    
    sda2: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    sda3: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info: 
    
    sda6: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  
        Boot files:        
    
    sda7: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 12.04 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab 
                           /boot/extlinux/extlinux.conf /boot/grub/core.img
    
    sda8: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 10.04.4 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    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 / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda2    *        206,848 1,562,896,301 1,562,689,454   7 NTFS / exFAT / HPFS
    /dev/sda3       1,562,896,382 1,953,523,711   390,627,330   5 Extended
    /dev/sda5       1,949,618,176 1,953,523,711     3,905,536  82 Linux swap / Solaris
    /dev/sda6       1,562,896,384 1,719,146,495   156,250,112  83 Linux
    /dev/sda7       1,719,148,544 1,777,739,775    58,591,232  83 Linux
    /dev/sda8       1,777,741,824 1,836,333,055    58,591,232  83 Linux
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/sda2        A80EDA630EDA2A58                       ntfs       
    /dev/sda5        8b2c8631-713a-4f7a-9eef-3575922c168b   swap       
    /dev/sda6        3a31150a-6236-4e49-a7ee-c7066ad91f3c   ext4       
    /dev/sda7        0377d65b-5932-4d49-af07-208cca2d118e   ext4       
    /dev/sda8        7c5e7c6f-26cb-4aae-97e0-aa42f046ff85   ext4       
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda2        /media/windows           fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda6        /home                    ext4       (rw)
    /dev/sda7        /                        ext4       (rw,errors=remount-ro)
    
    
    =========================== sda7/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
    set default="0"
    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 {
      insmod vbe
      insmod vga
      insmod video_bochs
      insmod video_cirrus
    }
    
    if [ "${recordfail}" = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    play 480 440 1
    ### 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; then
      clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux_proxy ###
    menuentry 'Ubuntu, with Linux 3.2.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	gfxmode $linux_gfx_mode
    	insmod gzio
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos7)'
    	search --no-floppy --fs-uuid --set=root 0377d65b-5932-4d49-af07-208cca2d118e
    	linux	/boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro   quiet splash $vt_handoff
    	initrd	/boot/initrd.img-3.2.0-24-generic
    }
    ### END /etc/grub.d/10_linux_proxy ###
    
    ### BEGIN /etc/grub.d/30_os-prober_proxy ###
    menuentry "Ubuntu, with Linux 2.6.32-38-generic (on /dev/sda8)" --class gnu-linux --class gnu --class os {
    	insmod part_msdos
    	insmod ext2
    	set root='(hd0,msdos8)'
    	search --no-floppy --fs-uuid --set=root 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux /boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro quiet splash
    	initrd /boot/initrd.img-2.6.32-38-generic
    }
    ### END /etc/grub.d/30_os-prober_proxy ###
    --------------------------------------------------------------------------------
    
    =============================== sda7/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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda7 during installation
    UUID=0377d65b-5932-4d49-af07-208cca2d118e /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=3a31150a-6236-4e49-a7ee-c7066ad91f3c /home           ext4    defaults        0       2
    # swap was on /dev/sda5 during installation
    UUID=8b2c8631-713a-4f7a-9eef-3575922c168b none            swap    sw              0       0
    # windows partition
    UUID=A80EDA630EDA2A58     /media/windows     ntfs-3g     defaults,nls=utf8,windows_names     0 0
    --------------------------------------------------------------------------------
    
    ====================== sda7/boot/extlinux/extlinux.conf: =======================
    
    --------------------------------------------------------------------------------
    ## /boot/extlinux/extlinux.conf
    ##
    ## IMPORTANT WARNING
    ##
    ## The configuration of this file is generated automatically.
    ## Do not edit this file manually, use: extlinux-update
    
    
    default l0
    prompt 1
    timeout 50
    
    include themes/debian/theme.cfg
    --------------------------------------------------------------------------------
    
    =================== sda7: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     825.900604248 = 886.804021248  boot/grub/core.img                             1
     825.904300690 = 886.807990272  boot/grub/grub.cfg                             1
     823.384292603 = 884.102152192  boot/initrd.img-3.2.0-24-generic               2
     821.680408478 = 882.272620544  boot/vmlinuz-3.2.0-24-generic                  2
     823.384292603 = 884.102152192  initrd.img                                     2
     821.680408478 = 882.272620544  vmlinuz                                        2
    
    ================= sda7: Location of files loaded by Syslinux: ==================
    
               GiB - GB             File                                 Fragment(s)
    
     846.063262939 = 908.453511168  boot/extlinux/chain.c32                        1
     825.896579742 = 886.799699968  boot/extlinux/extlinux.conf                    1
    
    ============== sda7: Version of COM32(R) files used by Syslinux: ===============
    
     boot/extlinux/chain.c32            :  COM32R module (v4.xx)
    
    =========================== sda8/boot/grub/grub.cfg: ===========================
    
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/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
      load_env
    fi
    set default="0"
    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
    }
    insmod ext2
    set root='(hd0,8)'
    search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ext2
    set root='(hd0,8)'
    search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
      set timeout=10
    else
      set timeout=10
    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
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux	/boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-38-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	echo	'Loading Linux 2.6.32-38-generic ...'
    	linux	/boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-38-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,8)'
    	search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (recovery mode) (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-23-generic (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-23-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro quiet splash $vt_handoff
    	initrd /boot/initrd.img-3.2.0-23-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-23-generic (recovery mode) (on /dev/sda7)" {
    	insmod ext2
    	set root='(hd0,7)'
    	search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
    	linux /boot/vmlinuz-3.2.0-23-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro recovery nomodeset
    	initrd /boot/initrd.img-3.2.0-23-generic
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### 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 ###
    --------------------------------------------------------------------------------
    
    =============================== sda8/etc/fstab: ================================
    
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' 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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda8 during installation
    UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=3a31150a-6236-4e49-a7ee-c7066ad91f3c /home           ext4    defaults        0       2
    # swap was on /dev/sda5 during installation
    UUID=8b2c8631-713a-4f7a-9eef-3575922c168b none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda8: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     857.833618164 = 921.091833856  boot/grub/grub.cfg                             1
     870.078670502 = 934.239858688  boot/initrd.img-2.6.32-38-generic              1
     870.067867279 = 934.228258816  boot/vmlinuz-2.6.32-38-generic                 1
     870.078670502 = 934.239858688  initrd.img                                     1
     870.067867279 = 934.228258816  vmlinuz                                        1
    
    =============================== StdErr Messages: ===============================
    
    xz: (stdin): Compressed data is corrupt
    Should I still try and add that bootable partition in the unallocated space? Thanks for picking this up

  8. #8
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    Quote Originally Posted by Sunships View Post
    Doh! You are right, there was a cheeky results1.txt hiding on the next row which should be the right one:

    Code:
                      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 
        for (,msdos7)/boot/grub on this drive.
    
    sda2: __________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows Vista/7: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe
    
    sda3: __________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info: 
    
    sda5: __________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info: 
    
    sda6: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  
        Boot files:        
    
    sda7: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 12.04 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab 
                           /boot/extlinux/extlinux.conf /boot/grub/core.img
    
    sda8: __________________________________________________________________________
    
        File system:       ext4
        Boot sector type:  -
        Boot sector info: 
        Operating System:  Ubuntu 10.04.4 LTS
        Boot files:        /boot/grub/grub.cfg /etc/fstab
    
    ============================ Drive/Partition Info: =============================
    
    Drive: sda _____________________________________________________________________
    
    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 / 512 bytes
    
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    
    /dev/sda2    *        206,848 1,562,896,301 1,562,689,454   7 NTFS / exFAT / HPFS
    /dev/sda3       1,562,896,382 1,953,523,711   390,627,330   5 Extended
    /dev/sda5       1,949,618,176 1,953,523,711     3,905,536  82 Linux swap / Solaris
    /dev/sda6       1,562,896,384 1,719,146,495   156,250,112  83 Linux
    /dev/sda7       1,719,148,544 1,777,739,775    58,591,232  83 Linux
    /dev/sda8       1,777,741,824 1,836,333,055    58,591,232  83 Linux
    
    
    "blkid" output: ________________________________________________________________
    
    Device           UUID                                   TYPE       LABEL
    
    /dev/sda2        A80EDA630EDA2A58                       ntfs       
    /dev/sda5        8b2c8631-713a-4f7a-9eef-3575922c168b   swap       
    /dev/sda6        3a31150a-6236-4e49-a7ee-c7066ad91f3c   ext4       
    /dev/sda7        0377d65b-5932-4d49-af07-208cca2d118e   ext4       
    /dev/sda8        7c5e7c6f-26cb-4aae-97e0-aa42f046ff85   ext4       
    
    ================================ Mount points: =================================
    
    Device           Mount_Point              Type       Options
    
    /dev/sda2        /media/windows           fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda6        /home                    ext4       (rw)
    /dev/sda7        /                        ext4       (rw,errors=remount-ro)
    
    
    =========================== sda7/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
    set default="0"
    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 {
      insmod vbe
      insmod vga
      insmod video_bochs
      insmod video_cirrus
    }
    
    if [ "${recordfail}" = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    play 480 440 1
    ### 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; then
      clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux_proxy ###
    menuentry 'Ubuntu, with Linux 3.2.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos7)'
        search --no-floppy --fs-uuid --set=root 0377d65b-5932-4d49-af07-208cca2d118e
        linux    /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro   quiet splash $vt_handoff
        initrd    /boot/initrd.img-3.2.0-24-generic
    }
    ### END /etc/grub.d/10_linux_proxy ###
    
    ### BEGIN /etc/grub.d/30_os-prober_proxy ###
    menuentry "Ubuntu, with Linux 2.6.32-38-generic (on /dev/sda8)" --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos8)'
        search --no-floppy --fs-uuid --set=root 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
        linux /boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro quiet splash
        initrd /boot/initrd.img-2.6.32-38-generic
    }
    ### END /etc/grub.d/30_os-prober_proxy ###
    --------------------------------------------------------------------------------
    
    =============================== sda7/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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda7 during installation
    UUID=0377d65b-5932-4d49-af07-208cca2d118e /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=3a31150a-6236-4e49-a7ee-c7066ad91f3c /home           ext4    defaults        0       2
    # swap was on /dev/sda5 during installation
    UUID=8b2c8631-713a-4f7a-9eef-3575922c168b none            swap    sw              0       0
    # windows partition
    UUID=A80EDA630EDA2A58     /media/windows     ntfs-3g     defaults,nls=utf8,windows_names     0 0
    --------------------------------------------------------------------------------
    
    ====================== sda7/boot/extlinux/extlinux.conf: =======================
    
    --------------------------------------------------------------------------------
    ## /boot/extlinux/extlinux.conf
    ##
    ## IMPORTANT WARNING
    ##
    ## The configuration of this file is generated automatically.
    ## Do not edit this file manually, use: extlinux-update
    
    
    default l0
    prompt 1
    timeout 50
    
    include themes/debian/theme.cfg
    --------------------------------------------------------------------------------
    
    =================== sda7: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     825.900604248 = 886.804021248  boot/grub/core.img                             1
     825.904300690 = 886.807990272  boot/grub/grub.cfg                             1
     823.384292603 = 884.102152192  boot/initrd.img-3.2.0-24-generic               2
     821.680408478 = 882.272620544  boot/vmlinuz-3.2.0-24-generic                  2
     823.384292603 = 884.102152192  initrd.img                                     2
     821.680408478 = 882.272620544  vmlinuz                                        2
    
    ================= sda7: Location of files loaded by Syslinux: ==================
    
               GiB - GB             File                                 Fragment(s)
    
     846.063262939 = 908.453511168  boot/extlinux/chain.c32                        1
     825.896579742 = 886.799699968  boot/extlinux/extlinux.conf                    1
    
    ============== sda7: Version of COM32(R) files used by Syslinux: ===============
    
     boot/extlinux/chain.c32            :  COM32R module (v4.xx)
    
    =========================== sda8/boot/grub/grub.cfg: ===========================
    
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/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
      load_env
    fi
    set default="0"
    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
    }
    insmod ext2
    set root='(hd0,8)'
    search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      if terminal_output gfxterm ; then true ; else
        # For backward compatibility with versions of terminal.mod that don't
        # understand terminal_output
        terminal gfxterm
      fi
    fi
    insmod ext2
    set root='(hd0,8)'
    search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
    set locale_dir=($root)/boot/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
      set timeout=10
    else
      set timeout=10
    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
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,8)'
        search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
        linux    /boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro   quiet splash
        initrd    /boot/initrd.img-2.6.32-38-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,8)'
        search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
        echo    'Loading Linux 2.6.32-38-generic ...'
        linux    /boot/vmlinuz-2.6.32-38-generic root=UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 ro single 
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-2.6.32-38-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
        insmod ext2
        set root='(hd0,8)'
        search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
        linux16    /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,8)'
        search --no-floppy --fs-uuid --set 7c5e7c6f-26cb-4aae-97e0-aa42f046ff85
        linux16    /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (on /dev/sda7)" {
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
        linux /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro quiet splash $vt_handoff
        initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-24-generic (recovery mode) (on /dev/sda7)" {
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
        linux /boot/vmlinuz-3.2.0-24-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro recovery nomodeset
        initrd /boot/initrd.img-3.2.0-24-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-23-generic (on /dev/sda7)" {
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
        linux /boot/vmlinuz-3.2.0-23-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro quiet splash $vt_handoff
        initrd /boot/initrd.img-3.2.0-23-generic
    }
    menuentry "Ubuntu, with Linux 3.2.0-23-generic (recovery mode) (on /dev/sda7)" {
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 0377d65b-5932-4d49-af07-208cca2d118e
        linux /boot/vmlinuz-3.2.0-23-generic root=UUID=0377d65b-5932-4d49-af07-208cca2d118e ro recovery nomodeset
        initrd /boot/initrd.img-3.2.0-23-generic
    }
    ### END /etc/grub.d/30_os-prober ###
    
    ### 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 ###
    --------------------------------------------------------------------------------
    
    =============================== sda8/etc/fstab: ================================
    
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' 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>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda8 during installation
    UUID=7c5e7c6f-26cb-4aae-97e0-aa42f046ff85 /               ext4    errors=remount-ro 0       1
    # /home was on /dev/sda6 during installation
    UUID=3a31150a-6236-4e49-a7ee-c7066ad91f3c /home           ext4    defaults        0       2
    # swap was on /dev/sda5 during installation
    UUID=8b2c8631-713a-4f7a-9eef-3575922c168b none            swap    sw              0       0
    --------------------------------------------------------------------------------
    
    =================== sda8: Location of files loaded by Grub: ====================
    
               GiB - GB             File                                 Fragment(s)
    
     857.833618164 = 921.091833856  boot/grub/grub.cfg                             1
     870.078670502 = 934.239858688  boot/initrd.img-2.6.32-38-generic              1
     870.067867279 = 934.228258816  boot/vmlinuz-2.6.32-38-generic                 1
     870.078670502 = 934.239858688  initrd.img                                     1
     870.067867279 = 934.228258816  vmlinuz                                        1
    
    =============================== StdErr Messages: ===============================
    
    xz: (stdin): Compressed data is corrupt
    Should I still try and add that bootable partition in the unallocated space? Thanks for picking this up
    Have you run in ubuntu, the one at the top of the grub menu once booted in.

    Code:
    sudo update-grub
    Last edited by wilee-nilee; May 12th, 2012 at 11:30 AM.

  9. #9
    Join Date
    Mar 2007
    Beans
    175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    Quote Originally Posted by wilee-nilee View Post
    Have you run in ubuntu, the one at the top of the grub menu once booted in.

    Code:
    sudo update-grub
    Hi,

    I just tried it. Here is the terminal blurb:

    Code:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.2.0-24-generic
    Found initrd image: /boot/initrd.img-3.2.0-24-generic
    Found Windows 7 (loader) on /dev/sda2
    Found Ubuntu 10.04.4 LTS (10.04) on /dev/sda8
    ...which I thought looked positive, but on reboot GRUB still only has the same two options - 12.04 and 10.04, with 12.04 being the default on top.

  10. #10
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: Windows 7 not in GRUB, resists Customizer, Boot Repair

    Quote Originally Posted by Sunships View Post
    Hi,

    I just tried it. Here is the terminal blurb:

    Code:
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.2.0-24-generic
    Found initrd image: /boot/initrd.img-3.2.0-24-generic
    Found Windows 7 (loader) on /dev/sda2
    Found Ubuntu 10.04.4 LTS (10.04) on /dev/sda8
    ...which I thought looked positive, but on reboot GRUB still only has the same two options - 12.04 and 10.04, with 12.04 being the default on top.
    So which ubuntu is first on the grub menu?

    Have you used the arrow keys to navigate as far down the list you can?

    Have you installed the grub customizer or the startup manager?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •