[SOLVED] Windows Does Not Appear in GRUB Menu

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
safetycopy

[SOLVED] Windows Does Not Appear in GRUB Menu

Post by safetycopy »

Hi All :)

After installing LinuxMint 8 Main, Windows XP doesn't appear in my GRUB boot menu.

I'm pretty new to Linux in general, so please bear that in mind when responding! :)

Here's the output from 'Boot Info Script':

Code: Select all

                Boot Info Script 0.55    dated February 15th, 2010                    

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

 => Grub 2 is installed in the MBR of /dev/sda and looks for 
    (UUID=afb43437-67b2-4cf2-838d-c7a837e119a7)/boot/grub.
 => No boot loader is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files/dirs:   /boot.ini /ntldr /NTDETECT.COM

sdb1: _________________________________________________________________________

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

sdb2: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Linux Mint 8 Helena - Main 
                       Edition
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb3: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files/dirs:   

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 60.1 GB, 60060155904 bytes
240 heads, 63 sectors/track, 7758 cylinders, total 117304992 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xbce1bce1

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *             63   117,285,839   117,285,777   7 HPFS/NTFS


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders, total 78242976 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000aff40

Partition  Boot         Start           End          Size  Id System

/dev/sdb1                  63     1,959,929     1,959,867  82 Linux swap / Solaris
/dev/sdb2           1,959,930    31,262,489    29,302,560  83 Linux
/dev/sdb3          31,262,490    78,236,549    46,974,060  83 Linux


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/sda1        C20C8E0F0C8DFEA3                       ntfs       Windows XP Home               
/dev/sdb1        b02368dc-c72a-4994-b219-eb77d8fdd136   swap                                     
/dev/sdb2        afb43437-67b2-4cf2-838d-c7a837e119a7   ext3                                     
/dev/sdb3        25df1bcc-95f5-42ab-b499-31d6ba387a70   ext3                                     

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

/dev/sdb2        /                        ext3       (rw,errors=remount-ro)
/dev/sdb3        /home                    ext3       (rw)


================================ sda1/boot.ini: ================================

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect


=========================== sdb2/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 /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  saved_entry=${prev_saved_entry}
  save_env saved_entry
  prev_saved_entry=
  save_env prev_saved_entry
fi
insmod ext2
set root=(hd1,2)
search --no-floppy --fs-uuid --set afb43437-67b2-4cf2-838d-c7a837e119a7
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
if [ ${recordfail} = 1 ]; then
  set timeout=-1
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/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
insmod ext2
set root=(hd1,2)
search --no-floppy --fs-uuid --set afb43437-67b2-4cf2-838d-c7a837e119a7
insmod png
if background_image /boot/grub/linuxmint.png ; then
  set color_normal=white/black
  set color_highlight=white/light-gray
else
  set menu_color_normal=white/black
  set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (/dev/sdb2)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd1,2)
	search --no-floppy --fs-uuid --set afb43437-67b2-4cf2-838d-c7a837e119a7
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=afb43437-67b2-4cf2-838d-c7a837e119a7 ro   quiet splash
	initrd	/boot/initrd.img-2.6.31-14-generic
}
menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	insmod ext2
	set root=(hd1,2)
	search --no-floppy --fs-uuid --set afb43437-67b2-4cf2-838d-c7a837e119a7
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=afb43437-67b2-4cf2-838d-c7a837e119a7 ro single 
	initrd	/boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

=============================== sdb2/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    defaults        0       0
# / was on /dev/sdb2 during installation
UUID=afb43437-67b2-4cf2-838d-c7a837e119a7 /               ext3    errors=remount-ro 0       1
# /home was on /dev/sdb3 during installation
UUID=25df1bcc-95f5-42ab-b499-31d6ba387a70 /home           ext3    defaults        0       2
# swap was on /dev/sdb1 during installation
UUID=b02368dc-c72a-4994-b219-eb77d8fdd136 none            swap    sw              0       0
/dev/scd1       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

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


  15.5GB: boot/grub/core.img
  15.5GB: boot/grub/grub.cfg
  15.5GB: boot/initrd.img-2.6.31-14-generic
  15.5GB: boot/vmlinuz-2.6.31-14-generic
  15.5GB: initrd.img
  15.5GB: vmlinuz
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
jayjaciv

Re: Windows Does Not Appear in GRUB Menu

Post by jayjaciv »

Yeah I'm having this exact problem too.
User avatar
zombie
Level 3
Level 3
Posts: 131
Joined: Wed Oct 31, 2007 4:45 pm
Location: Longmont Colorado

Re: Windows Does Not Appear in GRUB Menu

Post by zombie »

Try

Code: Select all

sudo update-grub
in the terminal.
safetycopy

Re: Windows Does Not Appear in GRUB Menu

Post by safetycopy »

Zombie,

I just happened to install startup-manager prior to reading your post. I also did the grub update you suggested. Whichever worked, the problem is solved now! Thanks for your input :)

safety
Locked

Return to “Installation & Boot”