bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34786] os-prober does not recognize Windows 7 partition


From: Pavel Mendl
Subject: [bug #34786] os-prober does not recognize Windows 7 partition
Date: Wed, 09 Nov 2011 15:04:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Iceweasel/7.0.1

URL:
  <http://savannah.gnu.org/bugs/?34786>

                 Summary: os-prober does not recognize Windows 7 partition
                 Project: GNU GRUB
            Submitted by: pmendl
            Submitted on: Wed 09 Nov 2011 03:04:48 PM GMT
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: other
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

The issue is related to the GRUB2 from Debian, stating version 1.99-12.

I post here as:
1) I have found several discussions in various forums, with unclear results,
closing as the matter of ntfs-3g, what I can definitely deny (at least in my
case).
2) I feel familiar enough in Linux environment (Debian) to hope to be able to
assist the diagnosis.
3) Did not find any bugreport about os-prober here.

To the topic:
Yesterday I have installed Windows 7, restored MBR, run update-grub and was
confused by no new entry (W 7) appearing in the menu.

Snuffing and googling around I have found, that os-prober does not detect the
Windows 7 in it's sda3 partition at all - what at least explains no new menu
item added. os-prober output is as:

/dev/sda2:Microsoft Windows XP Professional:Windows:chain
/dev/sda5:Debian GNU/Linux (lenny/sid):Debian:linux



Based on the related threads
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/545033
http://ubuntuforums.org/showthread.php?t=1705363
I tried to run the boot_info_script.sh with the following result:

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

 => Grub Legacy (v0.97) is installed in the MBR of /dev/sda and looks on the 
    same drive in partition #1 for /grub/stage2 and /grub/menu.lst.
 => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of

    the same hard drive for core.img. core.img is at this location and looks 
    for ?? on this drive.

sda1:
__________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        /grub/menu.lst

sda2:
__________________________________________________________________________

    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:        /boot.ini /ntldr /NTDETECT.COM

sda3:
__________________________________________________________________________

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

sda4:
__________________________________________________________________________

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

sda5:
__________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Debian GNU/Linux lenny/sid
    Boot files:        /etc/fstab

sda6:
__________________________________________________________________________

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

sda7:
__________________________________________________________________________

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

sdb1:
__________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        /grub/grub.cfg /grub/core.img

sdb2:
__________________________________________________________________________

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

sdb5:
__________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Debian GNU/Linux wheezy/sid
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdb6:
__________________________________________________________________________

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

sdb7:
__________________________________________________________________________

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

All information there seems correct to me. (sda is older disk, now designated
for Windows (=gaming) use, while sdb is newer, designated for Linux
(=production environment). However I am still in the transition so partition
types are still mixed there. MBR points to sdb (!), specifically sdb1, not to
confuse you.

Should you need any specific details, testing or output, feel free to ask via
my e-mail. Hope we will settle this once for all.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34786>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]