[Bug 803072] New: GRUB2 os-prober detects only mounted Windows partitions
https://bugzilla.novell.com/show_bug.cgi?id=803072 https://bugzilla.novell.com/show_bug.cgi?id=803072#c0 Summary: GRUB2 os-prober detects only mounted Windows partitions Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: cymerio@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 When updating/installing GRUB2, either during the installation or during normal use, only the mounted Windows partitions are added to the boot menu. During the openSUSE installation the partitioner doesn't suggest to mount Windows partitions by default, so the user can end up with no Windows entry in the boot menu if he's not careful. Reproducible: Always Steps to Reproduce: 1. Install openSUSE 12.3 RC1 in an empty partition in a PC with Windows. 2. Uncheck "automatic configuration". 3. Review the proposed partitioning. Notice that the expert mode partitioner doesn't suggest to mount the Windows partitions. 4. Let the system finish the installation and reboot. Actual Results: After reboot there is no Windows entry in the boot menu. Expected Results: After an installation, a Windows entry should appear if the user has Windows installed. I'd suggest either try to temporarily mount every partition found on the system before calling "os-prober" or make the expert mode partitioner to suggest to mount Windows partitions to /windows/C, /windows/D or whatever. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c1
Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c2
Catalin Iacob
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c3
Catalin Iacob
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c4
Catalin Iacob
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c5
Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c6
--- Comment #6 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c7
--- Comment #7 from Catalin Iacob
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c8
--- Comment #8 from Catalin Iacob
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c9
Catalin Iacob
Could you attach "ls -laf" listing of Windows directory both with grub-mount and native mount? ("f" does not sort entries and displays them in on-disk order)
Done
What exact version of Windows do you have? Is it 32 bit or 64 bit?
Windows 7, 64bit -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c10
--- Comment #10 from Catalin Iacob
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c11
--- Comment #11 from Catalin Iacob
@Iacob: please test updated grub2 package:
zypper ar obs://home:arvidjaar:bnc:803072:13.1/standard bnc803072 zypper refresh bnc803072 zypper dup -r bnc803072
No need to reboot - just call os-prober whether it finds Windows now.
I've tested it and it fixes the issue for me (I'm running 13.1). Great job Andrey! As I said, I think this deserves a maintenance update. For reference, see listing with the fixed grub in comment 10: all files appear now (though Program Files (x86) gets some ???) so it makes sense that os-prober is working. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c12
Andrey Borzenkov
I've tested it and it fixes the issue for me (I'm running 13.1).
Good. The problem was (mis)handling of symbolic links to directories by grub-mount and Windows 7 (or was it Vista?) introduced "\Documents and Settings" as symlink to \Users. I expect this affects minority of users, because standard Windows 7 puts bootloader on separate system partition with minimal content. Anyway, @maintenance team - please review: 13.1: SR#212657 12.3: SR#212658 @Michael: for Factory I submitted 2.02 beta2 (SR#212604) which includes this fix already, so I'll hold off separate patch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c13
--- Comment #13 from Markus Koßmann
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c14
--- Comment #14 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c15
--- Comment #15 from Michael Chang
@Michael: for Factory I submitted 2.02 beta2 (SR#212604) which includes this fix already, so I'll hold off separate patch.
I've accepted it and forwarded to factory. Thanks for your work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803072
https://bugzilla.novell.com/show_bug.cgi?id=803072#c16
Marcus Meissner
participants (1)
-
bugzilla_noreply@novell.com