Wed 09 Nov 2011 03:04:48 PM UTC, original submission:
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.
|