Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

My Grub doesn't see windows 7

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
_FOCUS_
Posts: 205
Joined: 2006-02-22 18:11

My Grub doesn't see windows 7

#1 Post by _FOCUS_ »

Code: Select all

fdisk -l

Disk /dev/sda: 400.1 GB, 400088457216 bayt
255 heads, 63 sectors/track, 48641 cylinders
Units = silindir of 16065 * 512 = 8225280 bytes
Disk identifier: 0x43e70469

   Aygıt Açılış    Başlangıç     Bitiş  BlokSayısı Kml Sistem
/dev/sda1   *          13        2550    20378624    7  HPFS/NTFS
/dev/sda2            2551       14225    93778944+   5  Ek
/dev/sda3           14226       16657    19535040   83  Linux
/dev/sda4           16658       48641   256911480   83  Linux
/dev/sda5            2551       14225    93778944    7  HPFS/NTFS
root@debian:/home/ertugrul# 

Grub.cfg

Code: Select all

#
# 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
}
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 6d637544-21e0-421c-9029-4781fc6c30e9
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,3)'
search --no-floppy --fs-uuid --set 6d637544-21e0-421c-9029-4781fc6c30e9
set locale_dir=($root)/boot/grub/locale
set lang=C.UTF-8
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 6d637544-21e0-421c-9029-4781fc6c30e9
insmod png
if background_image /usr/share/images/desktop-base/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-686" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 6d637544-21e0-421c-9029-4781fc6c30e9
	echo	Loading Linux 2.6.32-5-686 ...
	linux	/boot/vmlinuz-2.6.32-5-686 root=UUID=6d637544-21e0-421c-9029-4781fc6c30e9 ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.32-5-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 6d637544-21e0-421c-9029-4781fc6c30e9
	echo	Loading Linux 2.6.32-5-686 ...
	linux	/boot/vmlinuz-2.6.32-5-686 root=UUID=6d637544-21e0-421c-9029-4781fc6c30e9 ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.32-5-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 6d637544-21e0-421c-9029-4781fc6c30e9
	echo	Loading Linux 2.6.32-3-686 ...
	linux	/boot/vmlinuz-2.6.32-3-686 root=UUID=6d637544-21e0-421c-9029-4781fc6c30e9 ro  quiet
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.32-3-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686 (recovery mode)" --class debian --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,3)'
	search --no-floppy --fs-uuid --set 6d637544-21e0-421c-9029-4781fc6c30e9
	echo	Loading Linux 2.6.32-3-686 ...
	linux	/boot/vmlinuz-2.6.32-3-686 root=UUID=6d637544-21e0-421c-9029-4781fc6c30e9 ro single 
	echo	Loading initial ramdisk ...
	initrd	/boot/initrd.img-2.6.32-3-686
}
### END /etc/grub.d/10_linux ###

### 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 ###
If you love something, let it go. If it comes back to you, it's yours. If it's run over by a car, you don't want it.

User avatar
jheaton5
Posts: 1488
Joined: 2008-08-20 01:40
Location: Newnan, GA, USA

Re: My Grub doesn't see windows 7

#2 Post by jheaton5 »

as root, run update-grub then reboot.
debian sid

User avatar
_FOCUS_
Posts: 205
Joined: 2006-02-22 18:11

Re: My Grub doesn't see windows 7

#3 Post by _FOCUS_ »

This is output. I am rebooting now.

Code: Select all

update-grub
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found linux image: /boot/vmlinuz-2.6.32-3-686
Found initrd image: /boot/initrd.img-2.6.32-3-686
Found Windows 7 (loader) on /dev/sda1
done
root@debian:/home/ertugrul# 
If you love something, let it go. If it comes back to you, it's yours. If it's run over by a car, you don't want it.

User avatar
_FOCUS_
Posts: 205
Joined: 2006-02-22 18:11

Re: My Grub doesn't see windows 7

#4 Post by _FOCUS_ »

Thank you. It is okey.
If you love something, let it go. If it comes back to you, it's yours. If it's run over by a car, you don't want it.

User avatar
jheaton5
Posts: 1488
Joined: 2008-08-20 01:40
Location: Newnan, GA, USA

Re: My Grub doesn't see windows 7

#5 Post by jheaton5 »

_FOCUS_ wrote:Thank you. It is okey.
My pleasure.
debian sid

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: My Grub doesn't see windows 7

#6 Post by phenest »

jheaton5 wrote:as root, run update-grub then reboot.
Doesn't work for me. It doesn't look like 30_os-prober is being called at all. I've done...

Code: Select all

chmod u+x /etc/grub.d/30_os-prober
...as super user, but no change.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: My Grub doesn't see windows 7

#7 Post by phenest »

It seems that os-prober is missing.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
jheaton5
Posts: 1488
Joined: 2008-08-20 01:40
Location: Newnan, GA, USA

Re: My Grub doesn't see windows 7

#8 Post by jheaton5 »

Have you installed os-prober?

Code: Select all

# aptitude install os-prober
debian sid

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: My Grub doesn't see windows 7

#9 Post by phenest »

jheaton5 wrote:Have you installed os-prober?

Code: Select all

# aptitude install os-prober
I have now. I didn't realise it was a separate package. Thanks
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
jheaton5
Posts: 1488
Joined: 2008-08-20 01:40
Location: Newnan, GA, USA

Re: My Grub doesn't see windows 7

#10 Post by jheaton5 »

Now run os-prober and then update-grub
debian sid

Post Reply