Bug#604155: Windows 7 not in grub menu

2010-11-28 Thread Daniel Pocock




Subsequent to my last email, I think that the root filesystem was not 
mounted properly due to an unrelated issue, rebooting fixed it, this is 
the output from 30_os-prober:


# /etc/grub.d/30_os-prober
Found Windows 7 (loader) on /dev/sda1
menuentry Windows 7 (loader) (on /dev/sda1) {
   insmod part_msdos
   insmod ntfs
   set root='(hd0,msdos1)'
   search --no-floppy --fs-uuid --set a23821f33821c6df
   chainloader +1
}

and this is update-grub:

# update-grub
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-5-xen-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-xen-amd64
Found linux image: /boot/vmlinuz-2.6.32-5-xen-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-xen-amd64
Found linux image: /boot/vmlinuz-2.6.32-5-amd64
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
done

So os_prober can find Windows, but it isn't in the menu

This is what I see in /boot/grub/grub.cfg after update-grub:

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###





--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cf25da0.8070...@pocock.com.au



Bug#604155: Windows 7 not in grub menu

2010-11-28 Thread Denis Laxalde
reassign 604155 grub-pc
tags 604155 - moreinfo
forcemerge 604155 568639
thanks

Hello Daniel,

Daniel Pocock wrote:
 So os_prober can find Windows, but it isn't in the menu

Thanks for the follow-up. Since grub is apparently not able to generate
the windows menu entry even after installation, I would say this is a
bug in grub rather than in the installer.
Hence, reassigning and merging with #568639 (winxp partition detected,
but not added to grub.cfg).

Cheers,

Denis  



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101128214519.1c94b...@gmail.com



Processed: Re: Bug#604155: Windows 7 not in grub menu

2010-11-28 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 604155 grub-pc
Bug #604155 [installation-reports] Windows 7 not in grub menu
Bug #596762 [installation-reports] installation-reports: installer failed to 
add winXP to grub2
Bug reassigned from package 'installation-reports' to 'grub-pc'.
Bug reassigned from package 'installation-reports' to 'grub-pc'.
 tags 604155 - moreinfo
Bug #604155 [grub-pc] Windows 7 not in grub menu
Bug #596762 [grub-pc] installation-reports: installer failed to add winXP to 
grub2
Removed tag(s) moreinfo.
Removed tag(s) moreinfo.
 forcemerge 604155 568639
Bug#604155: Windows 7 not in grub menu
Bug#568639: debian-installer: winxp partition detected, but not added to 
grub.cfg
Bug#596762: installation-reports: installer failed to add winXP to grub2
Forcibly Merged 568639 596762 604155.

 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
568639: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568639
596762: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596762
604155: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604155
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.129099873223810.transcr...@bugs.debian.org



Bug#604155: Windows 7 not in grub menu

2010-11-27 Thread Daniel Pocock



On Mon, 22 Nov 2010 21:21:03 +0100, Daniel Pocock wrote:
  

I had already run update-grub, but that hasn't made any difference



update-grub should call the script '/etc/grub.d/30_os-prober'. What if
you call it directly? Does it return any error? You may also call
os-prober directly.
  

r...@debian6:/etc# /etc/grub.d/30_os-prober
/usr/bin/os-prober: 99: cannot create /tmp/os-prober.tMerGF/mounted-map: 
Invalid argument
/usr/bin/os-prober: 100: cannot create /tmp/os-prober.tMerGF/raided-map: 
Invalid argument

r...@debian6:/etc# mount | grep tmp
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
r...@debian6:/etc# ls -ld /tmp
drwxrwxrwt 10 root root 4096 Nov 27 12:09 /tmp

I checked disk space - it is not an issue



r...@debian6:/etc# mkdir /tmp/os-prober.tMerGF/
r...@debian6:/etc# touch /tmp/os-prober.tMerGF/mounted-map
touch: setting times of `/tmp/os-prober.tMerGF/mounted-map': No such 
file or directory



r...@debian6:/etc# touch /test1
r...@debian6:/etc# touch /tmp/test2
touch: setting times of `/tmp/test2': No such file or directory

Something funny going on in /tmp - not exactly sure what - would you 
recognise this problem, or should I look more closely?






--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cf0e82e.9040...@pocock.com.au



Bug#604155: Windows 7 not in grub menu

2010-11-25 Thread Denis Laxalde
tags 604155 + moreinfo
thanks

Hi,

On Mon, 22 Nov 2010 21:21:03 +0100, Daniel Pocock wrote:
 I had already run update-grub, but that hasn't made any difference

update-grub should call the script '/etc/grub.d/30_os-prober'. What if
you call it directly? Does it return any error? You may also call
os-prober directly.

Maybe some details about your partitions (or a complete installation
report) would be usefull.

Cheers,

Denis.



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101125155321.21276...@gmail.com



Processed: Re: Bug#604155: Windows 7 not in grub menu

2010-11-25 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 604155 + moreinfo
Bug #604155 [installation-reports] Windows 7 not in grub menu
Added tag(s) moreinfo.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
604155: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604155
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.12907187889840.transcr...@bugs.debian.org



Bug#604155: Windows 7 not in grub menu

2010-11-22 Thread Lennart Sorensen
On Sat, Nov 20, 2010 at 07:07:31PM +0100, Daniel Pocock wrote:
 Package: installation-reports

 squeeze / amd64 fresh install on a Thinkpad X61s

 Windows 7 is already on the machine

 The installer told me it found Vista and asked if I want to install grub  
 to the MBR.  I agreed to install MBR.

 On rebooting, the grub menu appears and Debian is the only option.

 Checking the partition table with fdisk, I can see that Win 7 is still  
 there.

Try running 'update-grub'.

I have seen a number of cases where on install it doesn't detect windows,
but running update-grub works and detects windows.

It seems that during install it has a bug in some cases.

-- 
Len Sorensen



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20101122171828.gb12...@caffeine.csclub.uwaterloo.ca



Bug#604155: Windows 7 not in grub menu

2010-11-22 Thread Daniel Pocock



Lennart Sorensen wrote:

On Sat, Nov 20, 2010 at 07:07:31PM +0100, Daniel Pocock wrote:
  

Package: installation-reports

squeeze / amd64 fresh install on a Thinkpad X61s

Windows 7 is already on the machine

The installer told me it found Vista and asked if I want to install grub  
to the MBR.  I agreed to install MBR.


On rebooting, the grub menu appears and Debian is the only option.

Checking the partition table with fdisk, I can see that Win 7 is still  
there.



Try running 'update-grub'.

I have seen a number of cases where on install it doesn't detect windows,
but running update-grub works and detects windows.

It seems that during install it has a bug in some cases.

  


I had already run update-grub, but that hasn't made any difference

I can boot Windows by pressing `c' in the grub menu, and using the commands

root (hd0,1)
chainloader +1
boot

The machine is a fresh install:

- Windows 7 (64 bit) fresh install onto blank disk
- Debian (amd64) installed from squeeze beta1 DVD

Is there anything else I can check to find the root cause of the 
problem?  I don't mind doing more test installs on this machine, it is 
dedicated for that purpose.








--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cead0af.1030...@pocock.com.au



Bug#604155: Windows 7 not in grub menu

2010-11-22 Thread Lennart Sorensen
On Mon, Nov 22, 2010 at 09:21:03PM +0100, Daniel Pocock wrote:
 I had already run update-grub, but that hasn't made any difference

 I can boot Windows by pressing `c' in the grub menu, and using the commands

 root (hd0,1)
 chainloader +1
 boot

 The machine is a fresh install:

 - Windows 7 (64 bit) fresh install onto blank disk
 - Debian (amd64) installed from squeeze beta1 DVD

 Is there anything else I can check to find the root cause of the  
 problem?  I don't mind doing more test installs on this machine, it is  
 dedicated for that purpose.

That's strange.  I haven't seen it not work when run later.  Not sure
what the best way to debug it is.

-- 
Len Sorensen



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20101122205024.gc12...@caffeine.csclub.uwaterloo.ca



Bug#604155: Windows 7 not in grub menu

2010-11-22 Thread Miguel Figueiredo
Hi,

A Sábado 20 Novembro 2010 18:07:31 Daniel Pocock você escreveu:
 Package: installation-reports
 
 squeeze / amd64 fresh install on a Thinkpad X61s
 
 Windows 7 is already on the machine
 
 The installer told me it found Vista and asked if I want to install grub
 to the MBR.  I agreed to install MBR.
 
 On rebooting, the grub menu appears and Debian is the only option.
 
 Checking the partition table with fdisk, I can see that Win 7 is still
 there.

What image did you use for installation?
Can you provide (gzipped!) installation logs?

On the 10th of November was released os-prober 1.40 with several fixes. Was 
this version used?

-- 
Melhores cumprimentos/Best regards,

Miguel Figueiredo
http://www.DebianPT.org




--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201011222126.03563.el...@debianpt.org



Bug#604155: Windows 7 not in grub menu

2010-11-20 Thread Daniel Pocock

Package: installation-reports

squeeze / amd64 fresh install on a Thinkpad X61s

Windows 7 is already on the machine

The installer told me it found Vista and asked if I want to install grub 
to the MBR.  I agreed to install MBR.


On rebooting, the grub menu appears and Debian is the only option.

Checking the partition table with fdisk, I can see that Win 7 is still 
there.






--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ce80e63.2090...@pocock.com.au